Searched refs:GetPrefs (Results 26 - 50 of 657) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/
H A Ddo_not_track_browsertest.cc23 PrefService* prefs = browser()->profile()->GetPrefs();
42 PrefService* prefs = browser()->profile()->GetPrefs();
61 PrefService* prefs = browser()->profile()->GetPrefs();
/external/chromium_org/chrome/browser/password_manager/
H A Dpassword_manager_metrics_util_unittest.cc24 url_host, profile_.GetPrefs());
56 ListPrefUpdate group_indices(profile_.GetPrefs(),
62 kMonitoredWebsites[i], profile_.GetPrefs())];
/external/chromium_org/chrome/browser/themes/
H A Dtheme_service_browsertest.cc55 profile->GetPrefs()->GetFilePath(prefs::kCurrentThemePackFilename));
64 profile->GetPrefs()->GetFilePath(prefs::kCurrentThemePackFilename));
69 profile->GetPrefs()->SetFilePath(
/external/chromium/chrome/browser/extensions/
H A Dextension_content_settings_apitest.cc16 PrefService* pref_service = browser()->profile()->GetPrefs();
34 PrefService* prefs = browser()->profile()->GetPrefs();
44 browser()->profile()->GetOffTheRecordProfile()->GetPrefs();
68 PrefService* pref_service = browser()->profile()->GetPrefs();
84 PrefService* prefs = browser()->profile()->GetPrefs();
H A Dexternal_policy_extension_loader.cc41 pref_change_registrar_.Init(profile_->GetPrefs());
50 profile_->GetPrefs()->GetList(prefs::kExtensionInstallForceList);
82 if (Source<PrefService>(source).ptr() == profile_->GetPrefs()) {
H A Dextension_i18n_api.cc18 UTF8ToUTF16(profile()->GetPrefs()->GetString(prefs::kAcceptLanguages));
22 // profile()->GetPrefs()->GetString(prefs::kAcceptLanguages) is guranteed to
/external/chromium_org/chrome/browser/extensions/
H A Ddefault_apps.cc71 profile_->GetPrefs()->GetString(prefs::kDefaultApps) == "install";
74 static_cast<InstallState>(profile_->GetPrefs()->GetInteger(
106 profile_->GetPrefs()->SetInteger(
126 profile_->GetPrefs()->SetInteger(prefs::kDefaultAppsInstallState,
129 profile_->GetPrefs()->SetInteger(prefs::kDefaultAppsInstallState,
/external/chromium_org/chrome/browser/printing/cloud_print/
H A Dcloud_print_proxy_service.cc51 if (profile_->GetPrefs()->HasPrefPath(prefs::kCloudPrintEmail) &&
52 (!profile_->GetPrefs()->GetString(prefs::kCloudPrintEmail).empty() ||
53 !profile_->GetPrefs()->GetBoolean(prefs::kCloudPrintProxyEnabled))) {
65 pref_change_registrar_.Init(profile_->GetPrefs());
96 if (profile_->GetPrefs()->GetBoolean(prefs::kCloudPrintProxyEnabled)) {
114 if (!profile_->GetPrefs()->GetBoolean(prefs::kCloudPrintProxyEnabled)) {
116 profile_->GetPrefs()->GetString(prefs::kCloudPrintEmail);
123 profile_->GetPrefs()->SetString(prefs::kCloudPrintEmail, std::string());
193 profile_->GetPrefs()->SetString(prefs::kCloudPrintEmail, user_email);
201 profile_->GetPrefs()
[all...]
/external/chromium_org/chrome/browser/sync/
H A Dprofile_sync_service_startup_unittest.cc161 profile->GetPrefs()->SetString(prefs::kGoogleServicesUsername,
178 profile_->GetPrefs()->ClearPref(prefs::kSyncHasSetupCompleted);
192 EXPECT_EQ(0, profile_->GetPrefs()->GetInt64(prefs::kSyncLastSyncedTime));
193 EXPECT_FALSE(profile_->GetPrefs()->GetBoolean(prefs::kSyncHasSetupCompleted));
207 profile_->GetPrefs()->SetString(prefs::kGoogleServicesUsername,
227 profile_->GetPrefs()->ClearPref(prefs::kSyncHasSetupCompleted);
240 EXPECT_EQ(0, profile_->GetPrefs()->GetInt64(prefs::kSyncLastSyncedTime));
241 EXPECT_FALSE(profile_->GetPrefs()->GetBoolean(prefs::kSyncHasSetupCompleted));
247 profile_->GetPrefs()->SetString(prefs::kGoogleServicesUsername,
269 profile_->GetPrefs()
[all...]
H A Dprofile_sync_service_mock.cc29 profile->GetPrefs()->SetString(prefs::kGoogleServicesUsername, "foo");
/external/chromium/chrome/browser/printing/cloud_print/
H A Dcloud_print_proxy_service.cc62 if (profile_->GetPrefs()->HasPrefPath(prefs::kCloudPrintEmail) &&
63 !profile_->GetPrefs()->GetString(prefs::kCloudPrintEmail).empty()) {
123 profile_->GetPrefs()->SetString(prefs::kCloudPrintEmail, std::string());
162 profile_->GetPrefs()->SetString(prefs::kCloudPrintEmail, email);
171 profile_->GetPrefs()->SetString(prefs::kCloudPrintEmail, std::string());
175 profile_->GetPrefs()->SetString(prefs::kCloudPrintEmail,
H A Dcloud_print_url.cc23 PrefService* pref_service = profile_->GetPrefs();
42 profile_->GetPrefs()->GetString(prefs::kCloudPrintServiceURL));
/external/chromium/chrome/browser/search_engines/
H A Dtemplate_url_prepopulate_data_unittest.cc78 profile.GetPrefs()->SetInteger(prefs::kCountryIDAtInstall, kCountryIds[i]);
82 profile.GetPrefs(), &(urls.get()), &default_index);
140 profile.GetPrefs()->SetInteger(prefs::kCountryIDAtInstall,
145 profile.GetPrefs(), &(urls.get()), &default_index);
162 TemplateURLPrepopulateData::GetEngineForOrigin(profile.GetPrefs(),
172 profile.GetPrefs(),
/external/chromium_org/chrome/browser/network_time/
H A Dnetwork_time_service.cc35 profile_->GetPrefs()->GetDictionary(prefs::kNetworkTimeMapping);
44 profile_->GetPrefs()->ClearPref(prefs::kNetworkTimeMapping);
67 profile_->GetPrefs()->Set(prefs::kNetworkTimeMapping, time_mapping);
/external/chromium_org/chrome/browser/tab_contents/
H A Dspellchecker_submenu_observer_mac.cc85 return profile->GetPrefs()->GetBoolean(prefs::kEnableContinuousSpellcheck);
113 profile->GetPrefs()->SetBoolean(
115 !profile->GetPrefs()->GetBoolean(prefs::kEnableContinuousSpellcheck));
H A Dspelling_menu_observer_browsertest.cc77 PrefService* GetPrefs();
84 // A dummy profile used in this test. Call GetPrefs() when a test needs to
199 PrefService* MockRenderViewContextMenu::GetPrefs() { function in class:__anon6122::MockRenderViewContextMenu
200 return profile_->GetPrefs();
295 menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true);
307 menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true);
308 menu()->GetPrefs()->SetString(prefs::kSpellCheckDictionary, std::string());
326 menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true);
331 menu()->GetPrefs()->SetString(prefs::kSpellCheckDictionary, "en");
368 menu()->GetPrefs()
[all...]
/external/chromium/android/autofill/
H A Dprofile_android.cc66 PrefService* ProfileImplAndroid::GetPrefs() { function in class:ProfileImplAndroid
/external/chromium/chrome/browser/ui/toolbar/
H A Dencoding_menu_controller.cc89 encoding = browser_profile->GetPrefs()->GetString(prefs::kDefaultCharset);
92 return browser_profile->GetPrefs()->GetBoolean(
124 profile->GetPrefs()->GetString(prefs::kStaticEncodings),
125 profile->GetPrefs()->GetString(prefs::kRecentlySelectedEncoding));
/external/chromium_org/chrome/browser/extensions/api/i18n/
H A Di18n_api.cc32 GetProfile()->GetPrefs()->GetString(prefs::kAcceptLanguages);
36 // profile()->GetPrefs()->GetString(prefs::kAcceptLanguages) is guranteed to
/external/chromium_org/chrome/browser/managed_mode/
H A Dmanaged_user_service_browsertest.cc35 PrefService* prefs = profile->GetPrefs();
42 PrefService* prefs = profile->GetPrefs();
55 PrefService* prefs = profile->GetPrefs();
62 PrefService* prefs = profile->GetPrefs();
/external/chromium_org/chrome/browser/ui/toolbar/
H A Dencoding_menu_controller.cc89 encoding = browser_profile->GetPrefs()->GetString(prefs::kDefaultCharset);
92 return browser_profile->GetPrefs()->GetBoolean(
124 profile->GetPrefs()->GetString(prefs::kStaticEncodings),
125 profile->GetPrefs()->GetString(prefs::kRecentlySelectedEncoding));
/external/chromium_org/chrome/browser/ui/webui/chromeos/
H A Dslow_ui.cc99 user_pref_registrar_->Init(profile_->GetPrefs());
106 PrefService* pref_service = profile_->GetPrefs();
111 PrefService* pref_service = profile_->GetPrefs();
120 PrefService* pref_service = profile_->GetPrefs();
/external/chromium/chrome/browser/geolocation/
H A Dgeolocation_content_settings_map.cc43 prefs_registrar_.Init(profile_->GetPrefs());
62 const PrefService* prefs = profile_->GetPrefs();
74 return profile_->GetPrefs()->IsManagedPreference(
90 profile_->GetPrefs()->GetDictionary(prefs::kGeolocationContentSettings);
115 profile_->GetPrefs()->GetDictionary(prefs::kGeolocationContentSettings);
143 profile_->GetPrefs()->SetInteger(prefs::kGeolocationDefaultContentSetting,
161 PrefService* prefs = profile_->GetPrefs();
192 PrefService* prefs = profile_->GetPrefs();
/external/chromium/chrome/browser/history/
H A Dhistory_browsertest.cc90 PrefService* GetPrefs() { function in class:__anon2227::HistoryBrowserTest
91 return GetProfile()->GetPrefs();
134 EXPECT_FALSE(GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled));
157 GetPrefs()->SetBoolean(prefs::kSavingBrowserHistoryDisabled, true);
182 EXPECT_FALSE(GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled));
200 GetPrefs()->SetBoolean(prefs::kSavingBrowserHistoryDisabled, true);
219 GetPrefs()->SetBoolean(prefs::kSavingBrowserHistoryDisabled, true);
228 GetPrefs()->SetBoolean(prefs::kSavingBrowserHistoryDisabled, false);
/external/chromium/chrome/browser/
H A Dspellcheck_host.cc37 accept_languages_pref.Init(prefs::kAcceptLanguages, profile->GetPrefs(),
40 profile->GetPrefs(), NULL);

Completed in 680 milliseconds

1234567891011>>