Searched defs:GetPrefs (Results 1 - 25 of 29) sorted by relevance

12

/external/chromium_org/chrome/browser/google/
H A Dchrome_google_url_tracker_client.cc52 PrefService* ChromeGoogleURLTrackerClient::GetPrefs() { function in class:ChromeGoogleURLTrackerClient
53 return profile_->GetPrefs();
/external/chromium_org/chrome/browser/renderer_context_menu/
H A Dspellchecker_submenu_observer_mac.cc27 PrefService* GetPrefs(content::BrowserContext* context) { function in namespace:__anon4545
94 return GetPrefs(context)->GetBoolean(prefs::kEnableContinuousSpellcheck);
122 GetPrefs(context)->SetBoolean(
124 !GetPrefs(context)->GetBoolean(prefs::kEnableContinuousSpellcheck));
H A Dspellchecker_submenu_observer_browsertest.cc101 PrefService* GetPrefs() { function in class:__anon4544::MockRenderViewContextMenu
102 return profile_->GetPrefs();
111 // A dummy profile used in this test. Call GetPrefs() when a test needs to
139 menu->GetPrefs()->SetString(prefs::kAcceptLanguages, "en-US");
140 menu->GetPrefs()->SetString(prefs::kSpellCheckDictionary, "en-US");
141 menu->GetPrefs()->SetBoolean(prefs::kEnableContinuousSpellcheck, true);
155 menu->GetPrefs()->GetBoolean(prefs::kEnableContinuousSpellcheck));
H A Dspelling_menu_observer_browsertest.cc75 PrefService* GetPrefs();
82 // A dummy profile used in this test. Call GetPrefs() when a test needs to
199 PrefService* MockRenderViewContextMenu::GetPrefs() { function in class:__anon4546::MockRenderViewContextMenu
200 return profile_->GetPrefs();
236 menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true);
238 menu()->GetPrefs()->SetString(prefs::kSpellCheckDictionary, "fr");
305 menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true);
317 menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true);
318 menu()->GetPrefs()->SetString(prefs::kSpellCheckDictionary, std::string());
370 menu()->GetPrefs()
[all...]
/external/chromium_org/chrome/browser/ui/omnibox/
H A Domnibox_controller_unittest.cc21 PrefService* GetPrefs() { return profile_.GetPrefs(); } function in class:OmniboxControllerTest
/external/chromium_org/components/password_manager/core/browser/
H A Dstub_password_manager_client.cc36 PrefService* StubPasswordManagerClient::GetPrefs() { return NULL; } function in class:password_manager::StubPasswordManagerClient
/external/chromium_org/chrome/browser/autofill/
H A Dcontent_autofill_driver_browsertest.cc34 virtual PrefService* GetPrefs() { return &prefs_; } function in class:autofill::__anon2941::MockAutofillClient
/external/chromium_org/chrome/browser/chromeos/extensions/
H A Daccessibility_features_apitest.cc55 PrefService* GetPrefs() { return browser()->profile()->GetPrefs(); } function in class:extensions::__anon3124::AccessibilityFeaturesApiTest
186 InitPrefServiceForTest(GetPrefs(), enabled_features, disabled_features));
218 InitPrefServiceForTest(GetPrefs(), enabled_features, disabled_features));
231 VerifyPrefServiceState(GetPrefs(), disabled_features, enabled_features);
233 VerifyPrefServiceState(GetPrefs(), enabled_features, disabled_features);
251 InitPrefServiceForTest(GetPrefs(), enabled_features, disabled_features));
268 InitPrefServiceForTest(GetPrefs(), disabled_features, enabled_features));
/external/chromium_org/chrome/browser/extensions/
H A Dextension_error_controller_unittest.cc113 ExtensionPrefs* GetPrefs();
133 GetPrefs()->SetExtensionBlacklisted(extension->id(), true);
146 ExtensionPrefs* ExtensionErrorControllerUnitTest::GetPrefs() { function in class:extensions::ExtensionErrorControllerUnitTest
174 EXPECT_TRUE(GetPrefs()->IsBlacklistedExtensionAcknowledged(extension->id()));
194 EXPECT_TRUE(GetPrefs()->IsBlacklistedExtensionAcknowledged(extension->id()));
205 GetPrefs()->AcknowledgeBlacklistedExtension(extension->id());
/external/chromium_org/components/autofill/core/browser/
H A Dtest_autofill_client.cc24 PrefService* TestAutofillClient::GetPrefs() { function in class:autofill::TestAutofillClient
/external/chromium_org/components/signin/core/browser/
H A Dtest_signin_client.cc34 PrefService* TestSigninClient::GetPrefs() { function in class:TestSigninClient
/external/chromium_org/android_webview/native/
H A Daw_autofill_client.cc63 PrefService* AwAutofillClient::GetPrefs() { function in class:android_webview::AwAutofillClient
/external/chromium_org/chrome/browser/autofill/android/
H A Dpersonal_data_manager_android.cc31 PrefService* GetPrefs() { function in namespace:autofill::__anon2938
33 ProfileManager::GetActiveUserProfile()->GetOriginalProfile()->GetPrefs();
316 return GetPrefs()->GetBoolean(autofill::prefs::kAutofillEnabled);
321 GetPrefs()->SetBoolean(autofill::prefs::kAutofillEnabled, enable);
326 return GetPrefs()->IsManagedPreference(autofill::prefs::kAutofillEnabled);
/external/chromium_org/chrome/browser/background/
H A Dbackground_contents_service_unittest.cc49 const base::DictionaryValue* GetPrefs(Profile* profile) { function in class:BackgroundContentsServiceTest
50 return profile->GetPrefs()->GetDictionary(
56 const base::DictionaryValue* pref = GetPrefs(profile);
246 EXPECT_EQ(0U, GetPrefs(&profile)->size());
250 EXPECT_EQ(1U, GetPrefs(&profile)->size());
255 EXPECT_EQ(1U, GetPrefs(&profile)->size());
259 EXPECT_EQ(1U, GetPrefs(&profile)->size());
270 EXPECT_EQ(0U, GetPrefs(&profile)->size());
273 EXPECT_EQ(1U, GetPrefs(&profile)->size());
278 EXPECT_EQ(0U, GetPrefs(
[all...]
/external/chromium_org/chrome/browser/history/
H A Dhistory_browsertest.cc69 PrefService* GetPrefs() { function in class:HistoryBrowserTest
70 return GetProfile()->GetPrefs();
122 EXPECT_FALSE(GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled));
145 GetPrefs()->SetBoolean(prefs::kSavingBrowserHistoryDisabled, true);
164 EXPECT_FALSE(GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled));
178 GetPrefs()->SetBoolean(prefs::kSavingBrowserHistoryDisabled, true);
194 GetPrefs()->SetBoolean(prefs::kSavingBrowserHistoryDisabled, true);
204 GetPrefs()->SetBoolean(prefs::kSavingBrowserHistoryDisabled, false);
/external/chromium_org/chrome/browser/prefs/
H A Dprefs_syncable_service_unittest.cc195 PrefService* GetPrefs() { return &prefs_; } function in class:PrefsSyncableServiceTest
243 ListPrefUpdate update(GetPrefs(), prefs::kURLsToRestoreOnStartup);
263 ListPrefUpdate update(GetPrefs(), prefs::kURLsToRestoreOnStartup);
339 ListPrefUpdate update(GetPrefs(), prefs::kURLsToRestoreOnStartup);
383 ListPrefUpdate update(GetPrefs(), prefs::kURLsToRestoreOnStartupOld);
430 ListPrefUpdate update_old(GetPrefs(), prefs::kURLsToRestoreOnStartupOld);
434 ListPrefUpdate update(GetPrefs(), prefs::kURLsToRestoreOnStartup);
489 GetPrefs()->Set(prefs::kHomePage, expected);
497 GetPrefs()->SetString(prefs::kHomePage, kExampleUrl0);
503 GetPrefs()
[all...]
/external/chromium_org/chrome/browser/signin/
H A Dchrome_signin_client.cc115 PrefService* ChromeSigninClient::GetPrefs() { return profile_->GetPrefs(); } function in class:ChromeSigninClient
152 GetPrefs()->GetString(prefs::kGoogleServicesSigninScopedDeviceId);
157 GetPrefs()->SetString(prefs::kGoogleServicesSigninScopedDeviceId,
164 GetPrefs()->ClearPref(prefs::kGoogleServicesSigninScopedDeviceId);
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dpreferences_helper.cc21 PrefService* GetPrefs(int index) { function in namespace:preferences_helper
22 return test()->GetProfile(index)->GetPrefs();
26 return test()->verifier()->GetPrefs();
30 bool new_value = !GetPrefs(index)->GetBoolean(pref_name);
31 GetPrefs(index)->SetBoolean(pref_name, new_value);
37 GetPrefs(index)->SetInteger(pref_name, new_value);
43 GetPrefs(index)->SetInt64(pref_name, new_value);
49 GetPrefs(index)->SetDouble(pref_name, new_value);
57 GetPrefs(index)->SetString(pref_name, new_value);
65 GetPrefs(inde
[all...]
/external/chromium_org/chrome/browser/translate/
H A Dchrome_translate_client.cc140 PrefService* prefs = original_profile->GetPrefs();
210 PrefService* ChromeTranslateClient::GetPrefs() { function in class:ChromeTranslateClient
214 return profile->GetOriginalProfile()->GetPrefs();
222 return CreateTranslatePrefs(profile->GetPrefs());
/external/chromium_org/chrome/browser/ui/app_list/test/
H A Dfake_profile.cc114 PrefService* FakeProfile::GetPrefs() { function in class:FakeProfile
/external/chromium_org/chrome/browser/ui/autofill/
H A Dchrome_autofill_client.cc87 PrefService* ChromeAutofillClient::GetPrefs() { function in class:autofill::ChromeAutofillClient
89 ->GetPrefs();
175 return GetPrefs()->GetBoolean(prefs::kAutofillEnabled);
/external/chromium_org/chrome/browser/chromeos/accessibility/
H A Daccessibility_manager_browsertest.cc156 PrefService* GetPrefs() { function in namespace:chromeos::__anon3008
157 return GetProfile()->GetPrefs();
161 GetPrefs()->SetBoolean(prefs::kAccessibilityLargeCursorEnabled, enabled);
165 GetPrefs()->SetBoolean(prefs::kAccessibilityHighContrastEnabled, enabled);
169 GetPrefs()->SetBoolean(prefs::kAccessibilitySpokenFeedbackEnabled, enabled);
173 GetPrefs()->SetBoolean(prefs::kAccessibilityAutoclickEnabled, enabled);
177 GetPrefs()->SetInteger(prefs::kAccessibilityAutoclickDelayMs, delay_ms);
181 GetPrefs()->SetBoolean(prefs::kAccessibilityVirtualKeyboardEnabled, enabled);
185 return GetPrefs()->GetBoolean(prefs::kAccessibilityLargeCursorEnabled);
189 return GetPrefs()
[all...]
/external/chromium_org/chrome/browser/password_manager/
H A Dchrome_password_manager_client.cc170 form_to_save->realm(), GetPrefs())));
223 PrefService* ChromePasswordManagerClient::GetPrefs() { function in class:ChromePasswordManagerClient
224 return profile_->GetPrefs();
/external/chromium_org/chrome/browser/profiles/
H A Doff_the_record_profile_impl.cc131 IncognitoModePrefs::GetAvailability(profile_->GetPrefs()) !=
278 PrefService* OffTheRecordProfileImpl::GetPrefs() { function in class:OffTheRecordProfileImpl
362 host_content_settings_map_ = new HostContentSettingsMap(GetPrefs(), true);
549 GetPrefs(), g_browser_process->local_state());
/external/chromium_org/components/google/core/browser/
H A Dgoogle_url_tracker_unittest.cc80 virtual PrefService* GetPrefs() OVERRIDE;
113 PrefService* TestGoogleURLTrackerClient::GetPrefs() { function in class:__anon6529::TestGoogleURLTrackerClient

Completed in 544 milliseconds

12