/external/chromium_org/chrome/browser/policy/ |
javascript_policy_handler.cc | 53 int setting = CONTENT_SETTING_DEFAULT; local 58 default_setting->GetAsInteger(&setting); 66 setting = CONTENT_SETTING_BLOCK; 70 if (setting != CONTENT_SETTING_DEFAULT) 71 prefs->SetInteger(prefs::kManagedDefaultJavaScriptSetting, setting);
|
/external/chromium_org/chrome/browser/renderer_host/pepper/ |
pepper_broker_message_filter.cc | 65 ContentSetting setting = local 70 if (setting == CONTENT_SETTING_ALLOW)
|
/external/chromium_org/chrome/browser/ui/android/content_settings/ |
popup_blocked_infobar_delegate.cc | 65 scoped_ptr<base::Value> setting = map->GetWebsiteSetting( local
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
pepper_flash_content_settings_utils.cc | 84 ContentSetting setting = FlashPermissionToContentSetting(iter->permission); local 86 media_exceptions->push_back(MediaException(pattern, setting, setting));
|
/external/chromium_org/chrome/browser/content_settings/ |
content_settings_utils.cc | 79 std::string ContentSettingToString(ContentSetting setting) { 80 switch (setting) { 108 NOTREACHED() << name << " is not a recognized content setting."; 152 ContentSetting setting = CONTENT_SETTING_DEFAULT; local 153 bool valid = ParseContentSettingValue(value, &setting); 155 return setting; 159 ContentSetting* setting) { 161 *setting = CONTENT_SETTING_DEFAULT; 167 *setting = IntToContentSetting(int_value); 168 return *setting != CONTENT_SETTING_DEFAULT [all...] |
permission_context_base_unittest.cc | 105 ContentSetting setting = local 109 EXPECT_EQ(CONTENT_SETTING_ALLOW , setting); 136 ContentSetting setting = local 140 EXPECT_EQ(CONTENT_SETTING_ASK , setting);
|
content_settings_policy_provider.cc | 61 ContentSetting setting; member in struct:__anon8138::PrefsForManagedContentSettingsMapEntry 156 // Preferences for default content setting policies. If a policy is not set of 218 // setting is managed and to hold the managed default setting value. If the 220 // default content setting is managed. These preferences exist in parallel to 295 kPrefsForManagedContentSettingsMap[i].setting)); 346 VLOG(1) << "Ignoring invalid certificate auto select setting. Reason:" 360 VLOG(1) << "Ignoring invalid certificate auto select setting. Reason:" 369 VLOG(1) << "Ignoring invalid certificate auto select setting:" 395 // If a pref to manage a default-content-setting was not set (NOTICE 405 int setting = prefs_->GetInteger(kPrefToManageType[content_type]); local [all...] |
cookie_settings.cc | 32 bool IsValidSetting(ContentSetting setting) { 33 return (setting == CONTENT_SETTING_ALLOW || 34 setting == CONTENT_SETTING_SESSION_ONLY || 35 setting == CONTENT_SETTING_BLOCK); 38 bool IsAllowed(ContentSetting setting) { 39 DCHECK(IsValidSetting(setting)); 40 return (setting == CONTENT_SETTING_ALLOW || 41 setting == CONTENT_SETTING_SESSION_ONLY); 117 ContentSetting setting = GetCookieSetting(url, first_party_url, false, NULL); local 118 return IsAllowed(setting); 123 ContentSetting setting = GetCookieSetting(url, first_party_url, true, NULL); local 128 ContentSetting setting = GetCookieSetting(origin, origin, true, NULL); local [all...] |
content_settings_pref_provider.cc | 46 ContentSetting setting) { 48 setting == CONTENT_SETTING_ASK) { 51 return setting; 111 // Migrate the obsolete media content setting exceptions to the new settings. 316 // Skip default setting and rules without a value. 334 // Add the exception to the new microphone content setting. 342 // Add the exception to the new camera content setting. 426 int setting = CONTENT_SETTING_DEFAULT; local 427 bool is_integer = j.value().GetAsInteger(&setting); 429 DCHECK_NE(CONTENT_SETTING_DEFAULT, setting); 440 const base::DictionaryValue* setting = NULL; local 448 int setting = CONTENT_SETTING_DEFAULT; local [all...] |
/external/chromium_org/chrome/browser/extensions/api/content_settings/ |
content_settings_api.cc | 151 ContentSetting setting; local 153 // TODO(jochen): Do we return the value for setting or for reading cookies? 155 setting = cookie_settings->GetCookieSetting(primary_url, secondary_url, 158 setting = map->GetContentSetting(primary_url, secondary_url, content_type, 164 helpers::ContentSettingToString(setting)); 205 params->details.setting->GetAsString(&setting_str)); 206 ContentSetting setting; local 208 helpers::StringToContentSetting(setting_str, &setting)); 210 GetProfile()->GetPrefs(), setting, content_type)); 245 resource_identifier, setting, scope) local [all...] |
/external/chromium_org/chrome/browser/ |
pepper_broker_infobar_delegate.cc | 48 ContentSetting setting = local 53 if (setting == CONTENT_SETTING_ASK) { 66 bool allowed = (setting == CONTENT_SETTING_ALLOW);
|
/external/chromium_org/chrome/browser/ui/content_settings/ |
content_setting_bubble_model_unittest.cc | 166 ContentSetting setting = CONTENT_SETTING_BLOCK; local 172 setting); 178 setting); 197 // setting. 220 // Change the radio setting. 223 // Test that the media setting were change correctly.
|
/external/chromium_org/chrome/browser/ui/website_settings/ |
website_settings_ui.h | 66 ContentSetting setting; member in struct:WebsiteSettingsUI::PermissionInfo 123 ContentSetting setting, 127 // Returns the icon resource ID for the given permission |type| and |setting|. 129 ContentSetting setting); 132 // setting is CONTENT_SETTING_DEFAULT, it will return the icon for |info|'s 133 // default setting.
|
website_settings_ui.cc | 18 // button if the permission setting is managed by policy. 31 // button if the permission setting is managed by an extension. 44 // button if the permission setting is managed by the user. 57 // button if the permission setting is the global default setting. 77 setting(CONTENT_SETTING_DEFAULT), 157 ContentSetting setting, 160 ContentSetting effective_setting = setting; 167 if (setting == CONTENT_SETTING_DEFAULT) 191 ContentSetting setting) { 246 ContentSetting setting = info.setting; local [all...] |
website_settings_unittest.cc | 159 ContentSetting setting = content_settings->GetContentSetting( local 161 EXPECT_EQ(setting, CONTENT_SETTING_BLOCK); 162 setting = content_settings->GetContentSetting( 164 EXPECT_EQ(setting, CONTENT_SETTING_ALLOW); 165 setting = content_settings->GetContentSetting( 167 EXPECT_EQ(setting, CONTENT_SETTING_ASK); 168 setting = content_settings->GetContentSetting( 170 EXPECT_EQ(setting, CONTENT_SETTING_ASK); 171 setting = content_settings->GetContentSetting( 173 EXPECT_EQ(setting, CONTENT_SETTING_ASK) [all...] |
/external/chromium_org/components/content_settings/core/common/ |
content_settings.h | 31 ContentSetting setting, 37 ContentSetting setting; member in struct:ContentSettingPatternSource 65 // |SettingInfo| provides meta data for content setting values. |source|
|
/external/chromium_org/google_apis/gcm/engine/ |
gservices_settings_unittest.cc | 37 checkin_proto::GservicesSetting* setting = checkin_response.add_setting(); local 38 setting->set_name(iter->first); 39 setting->set_value(iter->second); 152 // Setting the checkin interval to less than minimum. 311 // Default setting overwritten by settings diff. 315 // Setting up diff removing some of the values (including default setting). 331 // Default setting back to norm.
|
/external/smack/src/org/jivesoftware/smackx/workgroup/settings/ |
GenericSettings.java | 89 GenericSettings setting = new GenericSettings(); local 101 setting.getMap().put(name, value); 108 return setting;
|
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTestDocumentBuilderFactory.java | 105 DocumentBuilderSetting setting = settings[i]; local 109 if (newSetting.hasConflict(setting) || setting.hasConflict(newSetting)) { 115 mergedSettings.add(setting);
|
/external/chromium_org/chrome/browser/plugins/ |
plugin_info_message_filter_unittest.cc | 138 ContentSetting setting = expected_setting == CONTENT_SETTING_DEFAULT ? local 144 &setting, &is_default, &is_managed); local 145 EXPECT_EQ(expected_setting, setting); 250 // There is no specific content setting for "bar", so the general setting
|
/external/chromium_org/chrome/browser/supervised_user/ |
supervised_user_shared_settings_service_unittest.cc | 107 const sync_pb::ManagedUserSharedSettingSpecifics& setting = local 110 setting.value(), 111 ToJson(settings_service_.GetValue(setting.mu_id(), setting.key())));
|
/frameworks/base/services/core/java/com/android/server/am/ |
CoreSettingsObserver.java | 87 for (String setting : sSecureSettingToTypeMap.keySet()) { 88 Uri uri = Settings.Secure.getUriFor(setting); 93 for (String setting : sSystemSettingToTypeMap.keySet()) { 94 Uri uri = Settings.System.getUriFor(setting); 99 for (String setting : sGlobalSettingToTypeMap.keySet()) { 100 Uri uri = Settings.Global.getUriFor(setting); 109 String setting = entry.getKey(); local 114 value = Settings.Secure.getString(context.getContentResolver(), setting); 116 value = Settings.System.getString(context.getContentResolver(), setting); 118 value = Settings.Global.getString(context.getContentResolver(), setting); [all...] |
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/ |
FixVibrateSetting.java | 68 int setting = mAudioManager.getVibrateSetting(vibrateType); local 69 switch (setting) {
|
/packages/apps/Settings/src/com/android/settings/location/ |
SettingsInjector.java | 69 * If reading the status of a setting takes longer than this, we go ahead and start reading 70 * the next setting. 95 private final Set<Setting> mSettings; 101 mSettings = new HashSet<Setting>(); 108 * {@link SettingInjectorService#ACTION_SERVICE_INTENT} and provides the expected setting 128 InjectedSetting setting = parseServiceInfo(resolveInfo, userHandle, pm); local 129 if (setting == null) { 132 settings.add(setting); 161 Log.w(TAG, "Ignoring attempt to inject setting from app not in system image: " 202 * Returns an immutable representation of the static attributes for the setting, or null 397 Setting setting = iter.next(); local 431 public final InjectedSetting setting; field in class:SettingsInjector.Setting [all...] |
/external/chromium_org/chrome/browser/chromeos/attestation/ |
platform_verification_flow.cc | 367 LOG(ERROR) << "Failed to get device setting."; 422 ContentSetting setting = content_settings->GetContentSetting( local 427 if (setting != CONTENT_SETTING_ALLOW && setting != CONTENT_SETTING_BLOCK) 430 *pref_value = (setting == CONTENT_SETTING_ALLOW); 455 ContentSetting setting = allow_domain ? CONTENT_SETTING_ALLOW local 462 setting);
|