HomeSort by relevance Sort by last modified time
    Searched refs:GetPrefs (Results 1 - 25 of 190) sorted by null

1 2 3 4 5 6 7 8

  /external/chromium/chrome/browser/
background_contents_service_unittest.cc 32 const DictionaryValue* GetPrefs(Profile* profile) {
33 return profile->GetPrefs()->GetDictionary(
38 profile->GetPrefs()->ClearPref(prefs::kRegisteredBackgroundContents);
43 const DictionaryValue* pref = GetPrefs(profile);
136 EXPECT_EQ(0U, GetPrefs(&profile)->size());
140 EXPECT_EQ(1U, GetPrefs(&profile)->size());
145 EXPECT_EQ(1U, GetPrefs(&profile)->size());
149 EXPECT_EQ(1U, GetPrefs(&profile)->size());
158 EXPECT_EQ(0U, GetPrefs(&profile)->size());
161 EXPECT_EQ(1U, GetPrefs(&profile)->size())
    [all...]
spellcheck_host.cc 37 accept_languages_pref.Init(prefs::kAcceptLanguages, profile->GetPrefs(),
40 profile->GetPrefs(), NULL);
plugin_updater.cc 133 profile->GetPrefs()->GetFilePath(prefs::kPluginsLastInternalDirectory);
138 profile->GetPrefs()->SetFilePath(
149 if (!profile->GetPrefs()->GetBoolean(prefs::kPluginsEnabledInternalPDF)) {
153 profile->GetPrefs()->SetBoolean(prefs::kPluginsEnabledInternalPDF, true);
158 ListPrefUpdate update(profile->GetPrefs(), prefs::kPluginsPluginsList);
217 profile->GetPrefs()->GetList(prefs::kPluginsDisabledPlugins);
219 profile->GetPrefs()->GetList(prefs::kPluginsDisabledPluginsExceptions);
221 profile->GetPrefs()->GetList(prefs::kPluginsEnabledPlugins);
267 ListPrefUpdate update(profile->GetPrefs(), prefs::kPluginsPluginsList);
273 profile->GetPrefs()->SetFilePath(prefs::kPluginsLastInternalDirectory
    [all...]
renderer_preferences_util.cc 48 profile->GetPrefs()->GetBoolean(prefs::kEnableReferrers);
  /external/chromium/chrome/browser/instant/
promo_counter.cc 65 if (profile_->GetPrefs())
66 profile_->GetPrefs()->SetBoolean((pref_key_ + kShowKey).c_str(), false);
70 PrefService* prefs = profile_->GetPrefs();
104 if (profile_->GetPrefs())
105 profile_->GetPrefs()->SetBoolean((pref_key_ + kShowKey).c_str(), false);
113 if (profile_->GetPrefs())
114 profile_->GetPrefs()->SetBoolean((pref_key_ + kShowKey).c_str(), false);
instant_confirm_dialog.cc 24 PrefService* prefs = profile->GetPrefs();
promo_counter_unittest.cc 14 PromoCounter::RegisterUserPrefs(profile.GetPrefs(), "test");
26 PromoCounter::RegisterUserPrefs(profile.GetPrefs(), "test");
48 PromoCounter::RegisterUserPrefs(profile.GetPrefs(), "test");
67 PromoCounter::RegisterUserPrefs(profile.GetPrefs(), "test");
  /external/chromium/chrome/browser/extensions/
extension_proxy_apitest.cc 80 PrefService* pref_service = browser()->profile()->GetPrefs();
94 PrefService* pref_service = browser()->profile()->GetPrefs();
108 PrefService* pref_service = browser()->profile()->GetPrefs();
125 PrefService* pref_service = browser()->profile()->GetPrefs();
139 PrefService* pref_service = browser()->profile()->GetPrefs();
156 PrefService* pref_service = browser()->profile()->GetPrefs();
170 PrefService* pref_service = browser()->profile()->GetPrefs();
181 pref_service = browser()->profile()->GetOffTheRecordProfile()->GetPrefs();
203 PrefService* pref_service = browser()->profile()->GetPrefs();
207 pref_service = browser()->profile()->GetOffTheRecordProfile()->GetPrefs();
    [all...]
extension_content_settings_apitest.cc 16 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();
external_policy_extension_loader.cc 41 pref_change_registrar_.Init(profile_->GetPrefs());
50 profile_->GetPrefs()->GetList(prefs::kExtensionInstallForceList);
82 if (Source<PrefService>(source).ptr() == profile_->GetPrefs()) {
extension_bookmark_manager_apitest.cc 41 profile->GetPrefs()->SetBoolean(prefs::kEditBookmarksEnabled, false);
extension_i18n_api.cc 18 UTF8ToUTF16(profile()->GetPrefs()->GetString(prefs::kAcceptLanguages));
22 // profile()->GetPrefs()->GetString(prefs::kAcceptLanguages) is guranteed to
  /external/chromium/chrome/browser/ui/webui/
ntp_login_handler.cc 25 PrefService* pref_service = web_ui->GetProfile()->GetPrefs();
50 std::string username = web_ui_->GetProfile()->GetPrefs()->GetString(
  /external/chromium/chrome/browser/ui/webui/options/
options_managed_banner_handler.cc 14 : policy::ManagedPrefsBannerBase(web_ui->GetProfile()->GetPrefs(), page),
  /external/chromium/chrome/browser/printing/cloud_print/
cloud_print_proxy_service.cc 62 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,
cloud_print_url.cc 23 PrefService* pref_service = profile_->GetPrefs();
42 profile_->GetPrefs()->GetString(prefs::kCloudPrintServiceURL));
  /external/chromium/chrome/browser/search_engines/
template_url_prepopulate_data_unittest.cc 78 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/android/autofill/
profile_android.cc 66 PrefService* ProfileImplAndroid::GetPrefs() {
  /external/chromium/chrome/browser/ui/toolbar/
encoding_menu_controller.cc 89 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/chrome/browser/geolocation/
geolocation_content_settings_map.cc 43 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/
history_browsertest.cc 90 PrefService* GetPrefs() {
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/safe_browsing/
safe_browsing_blocking_page_unittest.cc 177 contents()->profile()->GetPrefs()->SetBoolean(
209 contents()->profile()->GetPrefs()->SetBoolean(
239 contents()->profile()->GetPrefs()->SetBoolean(
273 contents()->profile()->GetPrefs()->SetBoolean(
305 contents()->profile()->GetPrefs()->SetBoolean(
345 contents()->profile()->GetPrefs()->SetBoolean(
400 contents()->profile()->GetPrefs()->SetBoolean(
450 contents()->profile()->GetPrefs()->SetBoolean(
496 contents()->profile()->GetPrefs()->SetBoolean(
529 contents()->profile()->GetPrefs()->SetBoolean
    [all...]
  /external/chromium/chrome/browser/sync/
signin_manager.cc 29 username_ = profile_->GetPrefs()->GetString(prefs::kGoogleServicesUsername);
97 profile_->GetPrefs()->SetString(prefs::kGoogleServicesUsername, username_);
98 profile_->GetPrefs()->ScheduleSavePersistentPrefs();
114 profile_->GetPrefs()->SetString(prefs::kGoogleServicesUsername, username_);
115 profile_->GetPrefs()->ScheduleSavePersistentPrefs();
  /external/chromium/chrome/browser/custom_handlers/
protocol_handler_registry.cc 37 PrefService* prefs = profile_->GetPrefs();
61 profile_->GetPrefs()->Set(prefs::kRegisteredProtocolHandlers, *value);
62 profile_->GetPrefs()->ScheduleSavePersistentPrefs();
  /external/chromium/chrome/browser/remoting/
remoting_options_handler.cc 42 web_ui_->GetProfile()->GetPrefs()->SetBoolean(

Completed in 770 milliseconds

1 2 3 4 5 6 7 8