Home
last modified time | relevance | path

Searched refs:GetPrefs (Results 1 – 25 of 699) sorted by relevance

12345678910>>...28

/external/chromium_org/chrome/browser/notifications/
Dwelcome_notification_unittest.cc200 profile()->GetPrefs()->GetBoolean(prefs::kWelcomeNotificationDismissed)); in TEST_F()
202 profile()->GetPrefs()->GetBoolean( in TEST_F()
211 profile()->GetPrefs()->GetBoolean(prefs::kWelcomeNotificationDismissed)); in TEST_F()
213 profile()->GetPrefs()->GetBoolean( in TEST_F()
222 profile()->GetPrefs()->GetBoolean(prefs::kWelcomeNotificationDismissed)); in TEST_F()
224 profile()->GetPrefs()->GetBoolean( in TEST_F()
233 profile()->GetPrefs()->GetBoolean(prefs::kWelcomeNotificationDismissed)); in TEST_F()
235 profile()->GetPrefs()->GetBoolean( in TEST_F()
242 profile()->GetPrefs()->SetBoolean( in TEST_F()
245 profile()->GetPrefs()->GetBoolean(prefs::kWelcomeNotificationDismissed)); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/sync/test/integration/
Dpreferences_helper.cc19 PrefService* GetPrefs(int index) { in GetPrefs() function
20 return test()->GetProfile(index)->GetPrefs(); in GetPrefs()
24 return test()->verifier()->GetPrefs(); in GetVerifierPrefs()
28 bool new_value = !GetPrefs(index)->GetBoolean(pref_name); in ChangeBooleanPref()
29 GetPrefs(index)->SetBoolean(pref_name, new_value); in ChangeBooleanPref()
35 GetPrefs(index)->SetInteger(pref_name, new_value); in ChangeIntegerPref()
41 GetPrefs(index)->SetInt64(pref_name, new_value); in ChangeInt64Pref()
47 GetPrefs(index)->SetDouble(pref_name, new_value); in ChangeDoublePref()
55 GetPrefs(index)->SetString(pref_name, new_value); in ChangeStringPref()
65 GetPrefs(index)->GetString(pref_name) + append_value); in AppendStringPref()
[all …]
/external/chromium_org/chrome/browser/extensions/activity_log/
Dactivity_log_enabled_unittest.cc54 profile->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F()
59 profile->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F()
79 profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F()
81 profile2->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F()
97 profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F()
99 profile2->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F()
101 profile3->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F()
103 profile1->GetPrefs()->SetInteger(prefs::kWatchdogExtensionActive, 1); in TEST_F()
104 profile3->GetPrefs()->SetInteger(prefs::kWatchdogExtensionActive, 2); in TEST_F()
110 profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F()
[all …]
/external/chromium/chrome/browser/
Dbackground_contents_service_unittest.cc32 const DictionaryValue* GetPrefs(Profile* profile) { in GetPrefs() function in BackgroundContentsServiceTest
33 return profile->GetPrefs()->GetDictionary( in GetPrefs()
38 profile->GetPrefs()->ClearPref(prefs::kRegisteredBackgroundContents); in ClearPrefs()
43 const DictionaryValue* pref = GetPrefs(profile); in GetPrefURLForApp()
136 EXPECT_EQ(0U, GetPrefs(&profile)->size()); in TEST_F()
140 EXPECT_EQ(1U, GetPrefs(&profile)->size()); in TEST_F()
145 EXPECT_EQ(1U, GetPrefs(&profile)->size()); in TEST_F()
149 EXPECT_EQ(1U, GetPrefs(&profile)->size()); in TEST_F()
158 EXPECT_EQ(0U, GetPrefs(&profile)->size()); in TEST_F()
161 EXPECT_EQ(1U, GetPrefs(&profile)->size()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/prefs/
Dpref_functional_browsertest.cc64 browser()->profile()->GetPrefs()->SetFilePath( in IN_PROC_BROWSER_TEST_F()
104 browser()->profile()->GetPrefs()->Set(prefs::kDefaultContentSettings, in IN_PROC_BROWSER_TEST_F()
123 EXPECT_TRUE(browser()->profile()->GetPrefs()->GetBoolean( in IN_PROC_BROWSER_TEST_F()
130 browser()->profile()->GetPrefs()->SetBoolean(prefs::kWebKitJavascriptEnabled, in IN_PROC_BROWSER_TEST_F()
141 EXPECT_TRUE(browser()->profile()->GetPrefs()->GetBoolean( in IN_PROC_BROWSER_TEST_F()
143 browser()->profile()->GetPrefs()->SetBoolean(prefs::kNetworkPredictionEnabled, in IN_PROC_BROWSER_TEST_F()
145 EXPECT_FALSE(browser()->profile()->GetPrefs()->GetBoolean( in IN_PROC_BROWSER_TEST_F()
152 EXPECT_FALSE(browser()->profile()->GetPrefs()->GetBoolean( in IN_PROC_BROWSER_TEST_F()
154 browser()->profile()->GetPrefs()->SetBoolean(prefs::kShowBookmarkBar, true); in IN_PROC_BROWSER_TEST_F()
155 EXPECT_TRUE(browser()->profile()->GetPrefs()->GetBoolean( in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/background/
Dbackground_contents_service_unittest.cc34 const DictionaryValue* GetPrefs(Profile* profile) { in GetPrefs() function in BackgroundContentsServiceTest
35 return profile->GetPrefs()->GetDictionary( in GetPrefs()
41 const DictionaryValue* pref = GetPrefs(profile); in GetPrefURLForApp()
135 EXPECT_EQ(0U, GetPrefs(&profile)->size()); in TEST_F()
139 EXPECT_EQ(1U, GetPrefs(&profile)->size()); in TEST_F()
144 EXPECT_EQ(1U, GetPrefs(&profile)->size()); in TEST_F()
148 EXPECT_EQ(1U, GetPrefs(&profile)->size()); in TEST_F()
159 EXPECT_EQ(0U, GetPrefs(&profile)->size()); in TEST_F()
162 EXPECT_EQ(1U, GetPrefs(&profile)->size()); in TEST_F()
167 EXPECT_EQ(0U, GetPrefs(&profile)->size()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/api/proxy/
Dproxy_apitest.cc79 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
90 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
101 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
115 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
129 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
140 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
154 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
165 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
176 pref_service = browser()->profile()->GetOffTheRecordProfile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
195 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_proxy_apitest.cc80 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
94 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
108 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
125 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
139 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
156 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
170 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
181 pref_service = browser()->profile()->GetOffTheRecordProfile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
203 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
207 pref_service = browser()->profile()->GetOffTheRecordProfile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
[all …]
Dextension_content_settings_apitest.cc16 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
34 PrefService* prefs = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
44 browser()->profile()->GetOffTheRecordProfile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
68 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
84 PrefService* prefs = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/extensions/
Ddefault_apps_unittest.cc53 int state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState); in TEST_F()
58 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState); in TEST_F()
63 profile->GetPrefs()->SetInteger(prefs::kDefaultAppsInstallState, in TEST_F()
66 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState); in TEST_F()
70 profile->GetPrefs()->SetInteger(prefs::kDefaultAppsInstallState, in TEST_F()
73 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState); in TEST_F()
87 profile->GetPrefs()->SetInteger(prefs::kDefaultAppsInstallState, in TEST_F()
90 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState); in TEST_F()
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_startup_unittest.cc161 profile->GetPrefs()->SetString(prefs::kGoogleServicesUsername, in BuildCrosService()
178 profile_->GetPrefs()->ClearPref(prefs::kSyncHasSetupCompleted); in TEST_F()
192 EXPECT_EQ(0, profile_->GetPrefs()->GetInt64(prefs::kSyncLastSyncedTime)); in TEST_F()
193 EXPECT_FALSE(profile_->GetPrefs()->GetBoolean(prefs::kSyncHasSetupCompleted)); in TEST_F()
207 profile_->GetPrefs()->SetString(prefs::kGoogleServicesUsername, in TEST_F()
227 profile_->GetPrefs()->ClearPref(prefs::kSyncHasSetupCompleted); in TEST_F()
240 EXPECT_EQ(0, profile_->GetPrefs()->GetInt64(prefs::kSyncLastSyncedTime)); in TEST_F()
241 EXPECT_FALSE(profile_->GetPrefs()->GetBoolean(prefs::kSyncHasSetupCompleted)); in TEST_F()
247 profile_->GetPrefs()->SetString(prefs::kGoogleServicesUsername, in TEST_F()
269 profile_->GetPrefs()->SetString(prefs::kGoogleServicesUsername, in TEST_F()
[all …]
/external/chromium_org/chrome/browser/android/
Dnew_tab_page_prefs.cc38 return profile_->GetPrefs()->GetBoolean(prefs::kNtpCollapsedSnapshotDocument); in GetSnapshotDocumentCollapsed()
44 PrefService* prefs = profile_->GetPrefs(); in SetSnapshotDocumentCollapsed()
50 return profile_->GetPrefs()->GetBoolean( in GetRecentlyClosedTabsCollapsed()
57 PrefService* prefs = profile_->GetPrefs(); in SetRecentlyClosedTabsCollapsed()
63 return profile_->GetPrefs()->GetBoolean(prefs::kNtpCollapsedSyncPromo); in GetSyncPromoCollapsed()
69 PrefService* prefs = profile_->GetPrefs(); in SetSyncPromoCollapsed()
76 const DictionaryValue* dict = profile_->GetPrefs()->GetDictionary( in GetForeignSessionCollapsed()
87 PrefService* prefs = profile_->GetPrefs(); in SetForeignSessionCollapsed()
/external/chromium_org/chrome/browser/printing/cloud_print/
Dcloud_print_proxy_service.cc51 if (profile_->GetPrefs()->HasPrefPath(prefs::kCloudPrintEmail) && in Initialize()
52 (!profile_->GetPrefs()->GetString(prefs::kCloudPrintEmail).empty() || in Initialize()
53 !profile_->GetPrefs()->GetBoolean(prefs::kCloudPrintProxyEnabled))) { in Initialize()
65 pref_change_registrar_.Init(profile_->GetPrefs()); in Initialize()
96 if (profile_->GetPrefs()->GetBoolean(prefs::kCloudPrintProxyEnabled)) { in EnableForUserWithRobot()
114 if (!profile_->GetPrefs()->GetBoolean(prefs::kCloudPrintProxyEnabled)) { in ApplyCloudPrintConnectorPolicy()
116 profile_->GetPrefs()->GetString(prefs::kCloudPrintEmail); in ApplyCloudPrintConnectorPolicy()
123 profile_->GetPrefs()->SetString(prefs::kCloudPrintEmail, std::string()); in ApplyCloudPrintConnectorPolicy()
193 profile_->GetPrefs()->SetString(prefs::kCloudPrintEmail, user_email); in EnableCloudPrintProxyWithRobot()
201 profile_->GetPrefs()->SetString(prefs::kCloudPrintEmail, std::string()); in DisableCloudPrintProxy()
[all …]
/external/chromium/chrome/browser/instant/
Dpromo_counter.cc65 if (profile_->GetPrefs()) in Hide()
66 profile_->GetPrefs()->SetBoolean((pref_key_ + kShowKey).c_str(), false); in Hide()
70 PrefService* prefs = profile_->GetPrefs(); in Init()
104 if (profile_->GetPrefs()) in MaxSessionsEncountered()
105 profile_->GetPrefs()->SetBoolean((pref_key_ + kShowKey).c_str(), false); in MaxSessionsEncountered()
113 if (profile_->GetPrefs()) in MaxTimeLapsed()
114 profile_->GetPrefs()->SetBoolean((pref_key_ + kShowKey).c_str(), false); in MaxTimeLapsed()
/external/chromium_org/chrome/browser/tab_contents/
Dspelling_menu_observer_browsertest.cc77 PrefService* GetPrefs();
199 PrefService* MockRenderViewContextMenu::GetPrefs() { in GetPrefs() function in __anon989211580111::MockRenderViewContextMenu
200 return profile_->GetPrefs(); in GetPrefs()
295 menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true); in IN_PROC_BROWSER_TEST_F()
307 menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true); in IN_PROC_BROWSER_TEST_F()
308 menu()->GetPrefs()->SetString(prefs::kSpellCheckDictionary, std::string()); in IN_PROC_BROWSER_TEST_F()
326 menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true); in IN_PROC_BROWSER_TEST_F()
331 menu()->GetPrefs()->SetString(prefs::kSpellCheckDictionary, "en"); in IN_PROC_BROWSER_TEST_F()
368 menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true); in IN_PROC_BROWSER_TEST_F()
371 menu()->GetPrefs()->SetString(prefs::kSpellCheckDictionary, "en"); in IN_PROC_BROWSER_TEST_F()
[all …]
Dspellchecker_submenu_observer_browsertest.cc101 PrefService* GetPrefs() { in GetPrefs() function in __anon4ab33ab90111::MockRenderViewContextMenu
102 return profile_->GetPrefs(); in GetPrefs()
139 menu->GetPrefs()->SetString(prefs::kAcceptLanguages, "en-US"); in IN_PROC_BROWSER_TEST_F()
140 menu->GetPrefs()->SetString(prefs::kSpellCheckDictionary, "en-US"); in IN_PROC_BROWSER_TEST_F()
141 menu->GetPrefs()->SetBoolean(prefs::kEnableContinuousSpellcheck, true); in IN_PROC_BROWSER_TEST_F()
155 menu->GetPrefs()->GetBoolean(prefs::kEnableContinuousSpellcheck)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/password_manager/
Dnative_backend_gnome_x_unittest.cc396 profile_.GetPrefs()->SetBoolean(prefs::kPasswordsUseLocalProfileId, true); in TEST_F()
398 NativeBackendGnome backend(42, profile_.GetPrefs()); in TEST_F()
415 profile_.GetPrefs()->SetBoolean(prefs::kPasswordsUseLocalProfileId, true); in TEST_F()
417 NativeBackendGnome backend(42, profile_.GetPrefs()); in TEST_F()
445 profile_.GetPrefs()->SetBoolean(prefs::kPasswordsUseLocalProfileId, true); in TEST_F()
447 NativeBackendGnome backend(42, profile_.GetPrefs()); in TEST_F()
473 profile_.GetPrefs()->SetBoolean(prefs::kPasswordsUseLocalProfileId, true); in TEST_F()
475 NativeBackendGnome backend(42, profile_.GetPrefs()); in TEST_F()
517 profile_.GetPrefs()->SetBoolean(prefs::kPasswordsUseLocalProfileId, true); in TEST_F()
519 NativeBackendGnome backend(42, profile_.GetPrefs()); in TEST_F()
[all …]
Dnative_backend_kwallet_x_unittest.cc465 NativeBackendKWalletStub kwallet(42, profile_.GetPrefs()); in TEST_F()
472 NativeBackendKWalletStub kwallet(42, profile_.GetPrefs()); in TEST_F()
480 NativeBackendKWalletStub kwallet(42, profile_.GetPrefs()); in TEST_F()
488 NativeBackendKWalletStub kwallet(42, profile_.GetPrefs()); in TEST_F()
495 NativeBackendKWalletStub kwallet(42, profile_.GetPrefs()); in TEST_F()
502 profile_.GetPrefs()->SetBoolean(prefs::kPasswordsUseLocalProfileId, true); in TEST_F()
504 NativeBackendKWalletStub backend(42, profile_.GetPrefs()); in TEST_F()
525 profile_.GetPrefs()->SetBoolean(prefs::kPasswordsUseLocalProfileId, true); in TEST_F()
527 NativeBackendKWalletStub backend(42, profile_.GetPrefs()); in TEST_F()
559 profile_.GetPrefs()->SetBoolean(prefs::kPasswordsUseLocalProfileId, true); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/profiles/
Dgaia_info_update_service.cc34 PrefService* prefs = profile_->GetPrefs(); in GAIAInfoUpdateService()
49 std::string username = profile_->GetPrefs()->GetString( in Update()
93 return profile_->GetPrefs()->GetString(prefs::kProfileGAIAInfoPictureURL); in GetCachedPictureURL()
104 profile_->GetPrefs()->SetInt64(prefs::kProfileGAIAInfoUpdateTime, in OnProfileDownloadSuccess()
129 profile_->GetPrefs()->SetString(prefs::kProfileGAIAInfoPictureURL, in OnProfileDownloadSuccess()
160 profile_->GetPrefs()->SetInt64(prefs::kProfileGAIAInfoUpdateTime, in OnProfileDownloadFailure()
172 std::string username = profile_->GetPrefs()->GetString( in OnUsernameChanged()
183 profile_->GetPrefs()->ClearPref(prefs::kProfileGAIAInfoPictureURL); in OnUsernameChanged()
/external/chromium/chrome/browser/history/
Dhistory_browsertest.cc90 PrefService* GetPrefs() { in GetPrefs() function in __anond4cf6e780111::HistoryBrowserTest
91 return GetProfile()->GetPrefs(); in GetPrefs()
134 EXPECT_FALSE(GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled)); in IN_PROC_BROWSER_TEST_F()
157 GetPrefs()->SetBoolean(prefs::kSavingBrowserHistoryDisabled, true); in IN_PROC_BROWSER_TEST_F()
182 EXPECT_FALSE(GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled)); in IN_PROC_BROWSER_TEST_F()
200 GetPrefs()->SetBoolean(prefs::kSavingBrowserHistoryDisabled, true); in IN_PROC_BROWSER_TEST_F()
219 GetPrefs()->SetBoolean(prefs::kSavingBrowserHistoryDisabled, true); in IN_PROC_BROWSER_TEST_F()
228 GetPrefs()->SetBoolean(prefs::kSavingBrowserHistoryDisabled, false); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_blocking_page_unittest.cc177 contents()->profile()->GetPrefs()->SetBoolean( in TEST_F()
209 contents()->profile()->GetPrefs()->SetBoolean( in TEST_F()
239 contents()->profile()->GetPrefs()->SetBoolean( in TEST_F()
273 contents()->profile()->GetPrefs()->SetBoolean( in TEST_F()
305 contents()->profile()->GetPrefs()->SetBoolean( in TEST_F()
345 contents()->profile()->GetPrefs()->SetBoolean( in TEST_F()
400 contents()->profile()->GetPrefs()->SetBoolean( in TEST_F()
450 contents()->profile()->GetPrefs()->SetBoolean( in TEST_F()
496 contents()->profile()->GetPrefs()->SetBoolean( in TEST_F()
529 contents()->profile()->GetPrefs()->SetBoolean( in TEST_F()
[all …]
/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_blocking_page_unittest.cc244 profile->GetPrefs()->SetBoolean(prefs::kSafeBrowsingReportingEnabled, true); in TEST_F()
278 profile->GetPrefs()->SetBoolean(prefs::kSafeBrowsingReportingEnabled, true); in TEST_F()
310 profile->GetPrefs()->SetBoolean(prefs::kSafeBrowsingReportingEnabled, true); in TEST_F()
345 profile->GetPrefs()->SetBoolean(prefs::kSafeBrowsingReportingEnabled, true); in TEST_F()
378 profile->GetPrefs()->SetBoolean(prefs::kSafeBrowsingReportingEnabled, true); in TEST_F()
419 profile->GetPrefs()->SetBoolean(prefs::kSafeBrowsingReportingEnabled, true); in TEST_F()
475 profile->GetPrefs()->SetBoolean(prefs::kSafeBrowsingReportingEnabled, true); in TEST_F()
526 profile->GetPrefs()->SetBoolean(prefs::kSafeBrowsingReportingEnabled, true); in TEST_F()
574 profile->GetPrefs()->SetBoolean(prefs::kSafeBrowsingReportingEnabled, true); in TEST_F()
609 profile->GetPrefs()->SetBoolean(prefs::kSafeBrowsingReportingEnabled, false); in TEST_F()
[all …]
/external/chromium/chrome/browser/geolocation/
Dgeolocation_content_settings_map.cc43 prefs_registrar_.Init(profile_->GetPrefs()); in GeolocationContentSettingsMap()
62 const PrefService* prefs = profile_->GetPrefs(); in GetDefaultContentSetting()
74 return profile_->GetPrefs()->IsManagedPreference( in IsDefaultContentSettingManaged()
90 profile_->GetPrefs()->GetDictionary(prefs::kGeolocationContentSettings); in GetContentSetting()
115 profile_->GetPrefs()->GetDictionary(prefs::kGeolocationContentSettings); in GetAllOriginsSettings()
143 profile_->GetPrefs()->SetInteger(prefs::kGeolocationDefaultContentSetting, in SetDefaultContentSetting()
161 PrefService* prefs = profile_->GetPrefs(); in SetContentSetting()
192 PrefService* prefs = profile_->GetPrefs(); in ResetToDefault()
/external/chromium_org/chrome/browser/plugins/
Dplugin_status_pref_setter.cc34 profile->GetPrefs(), observer); in Init()
36 profile->GetPrefs(), observer); in Init()
66 profile_->GetPrefs()->SetBoolean( in GotPlugins()
69 profile_->GetPrefs()->SetBoolean( in GotPlugins()
/external/chromium_org/chrome/browser/chromeos/accessibility/
Daccessibility_manager_browsertest.cc184 PrefService* GetPrefs() { in GetPrefs() function
185 return GetProfile()->GetPrefs(); in GetPrefs()
189 GetPrefs()->SetBoolean(prefs::kLargeCursorEnabled, enabled); in SetLargeCursorEnabledPref()
193 GetPrefs()->SetBoolean(prefs::kHighContrastEnabled, enabled); in SetHighContrastEnabledPref()
197 GetPrefs()->SetBoolean(prefs::kSpokenFeedbackEnabled, enabled); in SetSpokenFeedbackEnabledPref()
201 GetPrefs()->SetBoolean(prefs::kAutoclickEnabled, enabled); in SetAutoclickEnabledPref()
205 GetPrefs()->SetInteger(prefs::kAutoclickDelayMs, delay_ms); in SetAutoclickDelayPref()
209 return GetPrefs()->GetBoolean(prefs::kLargeCursorEnabled); in GetLargeCursorEnabledFromPref()
213 return GetPrefs()->GetBoolean(prefs::kHighContrastEnabled); in GetHighContrastEnabledFromPref()
217 return GetPrefs()->GetBoolean(prefs::kSpokenFeedbackEnabled); in GetSpokenFeedbackEnabledFromPref()
[all …]

12345678910>>...28