Home
last modified time | relevance | path

Searched refs:FindPreference (Results 1 – 25 of 57) sorted by relevance

123

/external/chromium/chrome/browser/first_run/
Dfirst_run_browsertest.cc15 EXPECT_FALSE(g_browser_process->local_state()->FindPreference( in IN_PROC_BROWSER_TEST_F()
18 ASSERT_TRUE(g_browser_process->local_state()->FindPreference( in IN_PROC_BROWSER_TEST_F()
25 EXPECT_FALSE(g_browser_process->local_state()->FindPreference( in IN_PROC_BROWSER_TEST_F()
28 ASSERT_TRUE(g_browser_process->local_state()->FindPreference( in IN_PROC_BROWSER_TEST_F()
35 EXPECT_FALSE(g_browser_process->local_state()->FindPreference( in IN_PROC_BROWSER_TEST_F()
38 ASSERT_TRUE(g_browser_process->local_state()->FindPreference( in IN_PROC_BROWSER_TEST_F()
45 EXPECT_FALSE(g_browser_process->local_state()->FindPreference( in IN_PROC_BROWSER_TEST_F()
48 ASSERT_TRUE(g_browser_process->local_state()->FindPreference( in IN_PROC_BROWSER_TEST_F()
Dfirst_run.cc365 if (!local_state->FindPreference(prefs::kShouldShowFirstRunBubble)) { in SetShowFirstRunBubblePref()
377 if (!local_state->FindPreference(prefs::kShouldShowWelcomePage)) { in SetShowWelcomePagePref()
389 if (!local_state->FindPreference( in SetPersonalDataManagerFirstRunPref()
411 if (!local_state->FindPreference(prefs::kShouldUseOEMFirstRunBubble)) { in SetOEMFirstRunBubblePref()
424 if (!local_state->FindPreference(prefs::kShouldUseMinimalFirstRunBubble)) { in SetMinimalFirstRunBubblePref()
/external/chromium/chrome/browser/sync/glue/
Dpreference_model_associator_unittest.cc41 pref_service_->FindPreference(pref_name.c_str()); in SetPrefToEmpty()
81 pref_service_->FindPreference(prefs::kHomePage); in TEST_F()
91 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F()
106 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F()
123 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F()
140 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F()
162 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F()
183 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F()
216 pref_service_->FindPreference(prefs::kContentSettingsPatterns); in TEST_F()
231 pref_service_->FindPreference(prefs::kContentSettingsPatterns); in TEST_F()
[all …]
Dpreference_change_processor.cc56 pref_service_->FindPreference((*name).c_str()); in Observe()
154 pref_service_->FindPreference(pref_name); in ApplyChangesFromSyncModel()
169 pref_service_->FindPreference(name.c_str()); in ApplyChangesFromSyncModel()
Dpreference_model_associator.cc36 if (pref_service->FindPreference(kSynchronizedPreferences[i])) in PreferenceModelAssociator()
136 pref_service->FindPreference((*it).c_str()); in AssociateModels()
/external/chromium/chrome/browser/prefs/
Dpref_service.cc334 const Preference* pref = FindPreference(path); in GetBoolean()
349 const Preference* pref = FindPreference(path); in GetInteger()
364 const Preference* pref = FindPreference(path); in GetDouble()
379 const Preference* pref = FindPreference(path); in GetString()
394 const Preference* pref = FindPreference(path); in GetFilePath()
405 const Preference* pref = FindPreference(path); in HasPrefPath()
414 const Preference* pref = FindPreference(i->first.c_str()); in GetPreferenceValues()
423 const PrefService::Preference* PrefService::FindPreference( in FindPreference() function in PrefService
443 const Preference* pref = FindPreference(pref_name); in IsManagedPreference()
450 const Preference* pref = FindPreference(path); in GetDictionary()
[all …]
Dbrowser_prefs.cc174 DCHECK(user_prefs->FindPreference(prefs::kDevToolsSplitLocation)); in MigrateBrowserPrefs()
183 DCHECK(user_prefs->FindPreference(prefs::kBrowserWindowPlacement)); in MigrateBrowserPrefs()
186 local_state->FindPreference(prefs::kBrowserWindowPlacement); in MigrateBrowserPrefs()
Dpref_set_observer.cc20 if (!prefs_.count(pref) && pref_service_->FindPreference(pref.c_str())) { in AddPref()
38 pref_service_->FindPreference(i->c_str()); in IsManaged()
Dsession_startup_pref.cc119 prefs->FindPreference(prefs::kRestoreOnStartup); in TypeIsManaged()
128 prefs->FindPreference(prefs::kURLsToRestoreOnStartup); in URLsAreManaged()
Dpref_observer_mock.h27 prefs->FindPreference(pref_name.c_str());
Dpref_notifier_impl.cc90 if (!pref_service_->FindPreference(path.c_str())) in FireObservers()
/external/chromium/chrome/browser/extensions/
Dextension_content_settings_apitest.cc22 const PrefService::Preference* pref = pref_service->FindPreference( in IN_PROC_BROWSER_TEST_F()
46 otr_prefs->FindPreference(prefs::kBlockThirdPartyCookies); in IN_PROC_BROWSER_TEST_F()
51 pref = prefs->FindPreference(prefs::kBlockThirdPartyCookies); in IN_PROC_BROWSER_TEST_F()
73 const PrefService::Preference* pref = pref_service->FindPreference( in IN_PROC_BROWSER_TEST_F()
Dextension_preference_api.cc94 prefs->FindPreference(browser_pref.c_str()); in GetLevelOfControl()
240 pref_service->FindPreference(browser_pref.c_str()); in OnPrefChanged()
316 prefs->FindPreference(browser_pref.c_str()); in RunImpl()
367 prefs->pref_service()->FindPreference(browser_pref.c_str()); in RunImpl()
Dextension_proxy_apitest.cc30 pref_service->FindPreference(prefs::kProxy); in ValidateSettings()
65 pref_service->FindPreference(prefs::kProxy); in ExpectNoSettings()
/external/chromium/chrome/browser/translate/
Dtranslate_prefs.cc154 if (!user_prefs->FindPreference(kPrefTranslateLanguageBlacklist)) in RegisterUserPrefs()
156 if (!user_prefs->FindPreference(kPrefTranslateSiteBlacklist)) in RegisterUserPrefs()
158 if (!user_prefs->FindPreference(kPrefTranslateWhitelists)) { in RegisterUserPrefs()
162 if (!user_prefs->FindPreference(kPrefTranslateDeniedCount)) in RegisterUserPrefs()
164 if (!user_prefs->FindPreference(kPrefTranslateAcceptedCount)) in RegisterUserPrefs()
/external/chromium/chrome/browser/ui/views/
Dchrome_views_delegate.cc63 DCHECK(prefs->FindPreference(WideToUTF8(window_name).c_str())); in SaveWindowPlacement()
89 DCHECK(prefs->FindPreference(WideToUTF8(window_name).c_str())); in GetSavedWindowBounds()
111 DCHECK(prefs->FindPreference(WideToUTF8(window_name).c_str())); in GetSavedMaximizedState()
/external/chromium/chrome/browser/net/
Dssl_config_service_manager_pref.cc126 if (!prefs->FindPreference(prefs::kCertRevocationCheckingEnabled)) { in RegisterPrefs()
130 if (!prefs->FindPreference(prefs::kSSL3Enabled)) { in RegisterPrefs()
134 if (!prefs->FindPreference(prefs::kTLS1Enabled)) { in RegisterPrefs()
/external/chromium/chrome/browser/ui/webui/
Dntp_resource_cache.cc363 if (profile_->GetPrefs()->FindPreference(prefs::kNTPCustomLogoStart) && in CreateNewTabHTML()
364 profile_->GetPrefs()->FindPreference(prefs::kNTPCustomLogoEnd)) { in CreateNewTabHTML()
375 if (profile_->GetPrefs()->FindPreference(prefs::kNTPPromoStart) && in CreateNewTabHTML()
376 profile_->GetPrefs()->FindPreference(prefs::kNTPPromoEnd) && in CreateNewTabHTML()
377 profile_->GetPrefs()->FindPreference(prefs::kNTPPromoLine) && in CreateNewTabHTML()
Dshown_sections_handler.cc122 pref_service->FindPreference(prefs::kNTPShownSections); in MigrateUserPrefs()
/external/chromium/chrome/browser/ui/
Dshell_dialogs.cc34 return !g_browser_process->local_state()->FindPreference( in CanOpenSelectFileDialog()
/external/chromium/chrome/browser/printing/cloud_print/
Dcloud_print_url.cc24 if (pref_service->FindPreference(prefs::kCloudPrintServiceURL)) in RegisterPreferences()
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_preference_unittest.cc105 prefs_->FindPreference(name.c_str()); in GetPreferenceValue()
224 prefs_->FindPreference(prefs::kHomePage); in TEST_F()
243 prefs_->FindPreference(prefs::kHomePage); in TEST_F()
332 prefs_->FindPreference(prefs::kHomePage); in TEST_F()
/external/chromium/chrome/browser/content_settings/
Dcontent_settings_pref_provider_unittest.cc96 scoped_ptr<Value> default_value(prefs->FindPreference( in TEST_F()
105 scoped_ptr<Value> new_value(prefs->FindPreference( in TEST_F()
Dcontent_settings_notification_provider.cc37 if (!user_prefs->FindPreference(prefs::kDesktopNotificationAllowedOrigins)) in RegisterUserPrefs()
39 if (!user_prefs->FindPreference(prefs::kDesktopNotificationDeniedOrigins)) in RegisterUserPrefs()
/external/chromium/chrome/browser/ui/webui/options/
Dcore_options_handler.cc137 pref_service->FindPreference(pref_name.c_str()); in FetchPref()
369 pref_service->FindPreference(pref_name->c_str()); in NotifyPrefChanged()

123