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

1234567891011>>

/external/chromium_org/chrome/browser/password_manager/
H A Dpassword_manager_metrics_util_unittest.cc24 url_host, profile_.GetPrefs());
57 profile_.GetPrefs(),
63 kMonitoredWebsites[i], profile_.GetPrefs())];
/external/chromium_org/chrome/browser/printing/cloud_print/
H A Dcloud_print_proxy_service.cc50 if (profile_->GetPrefs()->HasPrefPath(prefs::kCloudPrintEmail) &&
51 (!profile_->GetPrefs()->GetString(prefs::kCloudPrintEmail).empty() ||
52 !profile_->GetPrefs()->GetBoolean(prefs::kCloudPrintProxyEnabled))) {
64 pref_change_registrar_.Init(profile_->GetPrefs());
97 if (profile_->GetPrefs()->GetBoolean(prefs::kCloudPrintProxyEnabled)) {
117 if (!profile_->GetPrefs()->GetBoolean(prefs::kCloudPrintProxyEnabled)) {
119 profile_->GetPrefs()->GetString(prefs::kCloudPrintEmail);
126 profile_->GetPrefs()->SetString(prefs::kCloudPrintEmail, std::string());
144 if (!profile_->GetPrefs()->GetBoolean(prefs::kCloudPrintProxyEnabled))
203 profile_->GetPrefs()
[all...]
/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(
H A Dtheme_service_aurax11.cc78 return profile()->GetPrefs()->GetBoolean(prefs::kUsesSystemTheme);
82 SetCustomDefaultTheme(new SystemThemeX11(profile()->GetPrefs()));
/external/chromium_org/chrome/browser/extensions/
H A Ddefault_apps.cc68 profile_->GetPrefs()->GetString(prefs::kDefaultApps) == "install";
71 static_cast<InstallState>(profile_->GetPrefs()->GetInteger(
96 profile_->GetPrefs()->SetInteger(
116 profile_->GetPrefs()->SetInteger(prefs::kDefaultAppsInstallState,
119 profile_->GetPrefs()->SetInteger(prefs::kDefaultAppsInstallState,
/external/chromium_org/chrome/browser/sync/
H A Dprofile_sync_service_startup_unittest.cc162 profile_->GetPrefs()->SetString(prefs::kGoogleServicesUsername,
213 profile->GetPrefs()->SetString(prefs::kGoogleServicesUsername,
232 profile_->GetPrefs()->ClearPref(sync_driver::prefs::kSyncHasSetupCompleted);
246 profile_->GetPrefs()->GetInt64(sync_driver::prefs::kSyncLastSyncedTime));
247 EXPECT_FALSE(profile_->GetPrefs()->GetBoolean(
274 profile_->GetPrefs()->ClearPref(sync_driver::prefs::kSyncHasSetupCompleted);
287 profile_->GetPrefs()->GetInt64(sync_driver::prefs::kSyncLastSyncedTime));
288 EXPECT_FALSE(profile_->GetPrefs()->GetBoolean(
311 profile_->GetPrefs()->SetString(prefs::kGoogleServicesUsername,
357 profile_->GetPrefs()
[all...]
/external/chromium_org/chrome/browser/signin/
H A Deasy_unlock_service_regular.cc122 profile()->GetPrefs()->GetDictionary(prefs::kEasyUnlockPairing);
133 DictionaryPrefUpdate pairing_update(profile()->GetPrefs(),
139 DictionaryPrefUpdate pairing_update(profile()->GetPrefs(),
146 profile()->GetPrefs()->GetDictionary(prefs::kEasyUnlockPairing);
156 DictionaryPrefUpdate pairing_update(profile()->GetPrefs(),
185 DictionaryPrefUpdate pairing_update(profile()->GetPrefs(),
201 profile()->GetPrefs()->GetDictionary(prefs::kEasyUnlockPairing);
253 registrar_.Init(profile()->GetPrefs());
279 if (!profile()->GetPrefs()->GetBoolean(prefs::kEasyUnlockAllowed))
283 if (!profile()->GetPrefs()
[all...]
/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/search/
H A Dhotword_service.cc108 if (!profile->GetPrefs()->GetBoolean(prefs::kHotwordSearchEnabled))
113 profile->GetPrefs()->GetBoolean(prefs::kHotwordAudioLoggingEnabled));
148 profile->GetPrefs()->GetString(prefs::kApplicationLocale);
197 if (profile_->GetPrefs()->HasPrefPath(prefs::kHotwordSearchEnabled)) {
198 if (profile_->GetPrefs()->GetBoolean(prefs::kHotwordSearchEnabled))
212 pref_registrar_.Init(profile_->GetPrefs());
230 if (profile_->GetPrefs()->HasPrefPath(
232 profile_->GetPrefs()->ClearPref(hotword_internal::kHotwordUnusablePrefName);
298 if (!profile_->GetPrefs()->HasPrefPath(prefs::kHotwordPreviousLanguage))
320 !profile_->GetPrefs()
[all...]
/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/google/
H A Dchrome_google_url_tracker_client.h24 virtual PrefService* GetPrefs() OVERRIDE;
H A Dchrome_google_url_tracker_client.cc52 PrefService* ChromeGoogleURLTrackerClient::GetPrefs() { function in class:ChromeGoogleURLTrackerClient
53 return 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.cc97 user_pref_registrar_->Init(profile_->GetPrefs());
104 PrefService* pref_service = profile_->GetPrefs();
109 PrefService* pref_service = profile_->GetPrefs();
118 PrefService* pref_service = profile_->GetPrefs();
/external/chromium_org/components/google/core/browser/
H A Dgoogle_url_tracker_client.h41 virtual PrefService* GetPrefs() = 0;
/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/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));
H A Dinfo_private_apitest.cc19 PrefService* prefs = profile()->GetPrefs();
27 ASSERT_FALSE(profile()->GetPrefs()->GetBoolean(
/external/chromium_org/chrome/browser/history/
H A Dhistory_service_factory.cc23 if (profile->GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled) &&
36 if (profile->GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled) &&
/external/chromium_org/chrome/browser/net/
H A Dcookie_policy_browsertest.cc35 browser()->profile()->GetPrefs()->SetBoolean(prefs::kBlockThirdPartyCookies,
55 browser()->profile()->GetPrefs()->SetBoolean(prefs::kBlockThirdPartyCookies,
/external/chromium_org/chrome/browser/safe_browsing/
H A Dsafe_browsing_tab_observer.cc38 PrefService* prefs = profile->GetPrefs();
65 PrefService* prefs = profile->GetPrefs();
/external/chromium_org/chrome/browser/search/suggestions/
H A Dsuggestions_service_factory.cc64 new SuggestionsStore(the_profile->GetPrefs()));
66 new BlacklistStore(the_profile->GetPrefs()));
/external/chromium_org/chrome/browser/ui/
H A Dnavigation_correction_tab_observer.cc32 PrefService* prefs = profile_->GetPrefs();
79 if (!profile_->GetPrefs()->GetBoolean(prefs::kAlternateErrorPagesEnabled) ||
/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/chrome/browser/ui/webui/options/
H A Doptions_browsertest.cc54 browser()->profile()->GetPrefs()->ClearPref(path);
65 browser()->profile()->GetPrefs()->Set(pref_name.c_str(), *pref_value);

Completed in 486 milliseconds

1234567891011>>