Home
last modified time | relevance | path

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

12345

/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_org/chrome/browser/metrics/variations/
Dvariations_service_unittest.cc227 EXPECT_FALSE(prefs.FindPreference(prefs::kVariationsSeed)->IsDefaultValue()); in TEST_F()
243 EXPECT_FALSE(prefs.FindPreference(prefs::kVariationsSeed)->IsDefaultValue()); in TEST_F()
245 EXPECT_TRUE(prefs.FindPreference(prefs::kVariationsSeed)->IsDefaultValue()); in TEST_F()
247 prefs.FindPreference(prefs::kVariationsSeedDate)->IsDefaultValue()); in TEST_F()
249 prefs.FindPreference(prefs::kVariationsSeedHash)->IsDefaultValue()); in TEST_F()
254 EXPECT_FALSE(prefs.FindPreference(prefs::kVariationsSeed)->IsDefaultValue()); in TEST_F()
256 EXPECT_TRUE(prefs.FindPreference(prefs::kVariationsSeed)->IsDefaultValue()); in TEST_F()
258 prefs.FindPreference(prefs::kVariationsSeedDate)->IsDefaultValue()); in TEST_F()
260 prefs.FindPreference(prefs::kVariationsSeedHash)->IsDefaultValue()); in TEST_F()
280 EXPECT_FALSE(prefs.FindPreference(prefs::kVariationsSeed)->IsDefaultValue()); in TEST_F()
[all …]
/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()
/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()
/external/chromium_org/chrome/browser/prefs/
Dpref_model_associator_unittest.cc39 pref_service_->FindPreference(pref_name.c_str()); in SetPrefToEmpty()
79 pref_service_->FindPreference(prefs::kHomePage); in TEST_F()
91 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F()
108 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F()
127 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F()
146 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F()
170 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F()
193 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F()
228 pref_service_->FindPreference(prefs::kContentSettingsPatternPairs); in TEST_F()
246 pref_service_->FindPreference(prefs::kContentSettingsPatternPairs); in TEST_F()
[all …]
Dsession_startup_pref.cc256 !prefs->FindPreference( in MigrateMacDefaultPrefIfNecessary()
269 prefs->FindPreference(prefs::kRestoreOnStartup); in TypeIsManaged()
278 prefs->FindPreference(prefs::kURLsToRestoreOnStartup); in URLsAreManaged()
287 prefs->FindPreference(prefs::kRestoreOnStartup); in TypeIsDefault()
Dchrome_pref_service_unittest.cc38 prefs.FindPreference(prefs::kCloudPrintProxyEnabled); in TEST()
53 pref = prefs.FindPreference(prefs::kCloudPrintProxyEnabled); in TEST()
/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()
/external/chromium_org/chrome/browser/extensions/api/preference/
Dpreference_apitest.cc32 const PrefService::Preference* pref = prefs->FindPreference( in CheckPreferencesSet()
49 const PrefService::Preference* pref = prefs->FindPreference( in CheckPreferencesCleared()
143 otr_prefs->FindPreference(prefs::kBlockThirdPartyCookies); in IN_PROC_BROWSER_TEST_F()
148 pref = prefs->FindPreference(prefs::kBlockThirdPartyCookies); in IN_PROC_BROWSER_TEST_F()
171 otr_prefs->FindPreference(prefs::kBlockThirdPartyCookies); in IN_PROC_BROWSER_TEST_F()
176 pref = prefs->FindPreference(prefs::kBlockThirdPartyCookies); in IN_PROC_BROWSER_TEST_F()
188 const PrefService::Preference* pref = prefs->FindPreference( in IN_PROC_BROWSER_TEST_F()
Dchrome_direct_setting.cc41 GetPrefService()->FindPreference(pref_key.c_str()); in RunImpl()
73 pref_service->FindPreference(pref_key.c_str()); in RunImpl()
Dpreference_api.cc271 pref_service->FindPreference(browser_pref.c_str()); in OnPrefChanged()
305 extension_prefs()->pref_service()->FindPreference(pref_key.c_str()); in SetExtensionControlledPref()
333 DCHECK(extension_prefs()->pref_service()->FindPreference(pref_key.c_str())) in RemoveExtensionControlledPref()
354 DCHECK(extension_prefs()->pref_service()->FindPreference(pref_key.c_str())) in CanExtensionControlPref()
366 DCHECK(extension_prefs()->pref_service()->FindPreference(pref_key.c_str())) in DoesExtensionControlPref()
576 prefs->FindPreference(browser_pref.c_str()); in RunImpl()
661 prefs->pref_service()->FindPreference(browser_pref.c_str()); in RunImpl()
/external/chromium_org/chrome/browser/ui/prefs/
Dprefs_tab_helper_browsertest.cc65 EXPECT_TRUE(prefs->FindPreference( in IN_PROC_BROWSER_TEST_F()
67 EXPECT_TRUE(prefs->FindPreference( in IN_PROC_BROWSER_TEST_F()
69 EXPECT_TRUE(prefs->FindPreference( in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/base/prefs/
Dpref_service.cc163 const Preference* pref = FindPreference(path); in HasPrefPath()
192 const PrefService::Preference* PrefService::FindPreference( in FindPreference() function in PrefService
227 const Preference* pref = FindPreference(pref_name); in IsManagedPreference()
232 const Preference* pref = FindPreference(pref_name); in IsUserModifiablePreference()
255 const Preference* pref = FindPreference(path); in GetUserPrefValue()
326 const Preference* pref = FindPreference(path); in ClearPref()
407 const Preference* pref = FindPreference(path); in GetMutableUserPref()
442 const Preference* pref = FindPreference(path); in SetUserPrefValue()
489 DCHECK(pref_service_->FindPreference(name_.c_str())) << in GetRecommendedValue()
/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_org/chrome/browser/extensions/api/font_settings/
Dfont_settings_api.cc158 const PrefService::Preference* pref = registrar_.prefs()->FindPreference( in OnFontNamePrefChanged()
189 const PrefService::Preference* pref = registrar_.prefs()->FindPreference( in OnFontPrefChanged()
237 GetProfile()->GetPrefs()->FindPreference(pref_path.c_str())); in RunImpl()
254 prefs->FindPreference(pref_path.c_str()); in RunImpl()
290 GetProfile()->GetPrefs()->FindPreference(pref_path.c_str())); in RunImpl()
358 const PrefService::Preference* pref = prefs->FindPreference(GetPrefName()); in RunImpl()
/external/chromium_org/chrome/browser/ui/webui/options/
Dcore_options_handler.cc228 if (g_browser_process->local_state()->FindPreference(pref_name.c_str())) { in ObservePref()
237 if (Profile::FromWebUI(web_ui())->GetPrefs()->FindPreference( in ObservePref()
248 if (g_browser_process->local_state()->FindPreference(pref_name.c_str())) in StopObservingPref()
263 pref_service->FindPreference(pref_name.c_str()); in SetPref()
341 pref_service->FindPreference(pref_name.c_str()); in CreateValueForPref()
347 pref_service->FindPreference(controlling_pref_name.c_str()); in CreateValueForPref()
399 if (user_prefs->FindPreference(pref_name.c_str())) in FindServiceForPref()
402 if (g_browser_process->local_state()->FindPreference(pref_name.c_str())) in FindServiceForPref()
/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_org/chrome/browser/ui/webui/chromeos/
Dsalsa_ui.cc73 if (!prefs->FindPreference(kWhitelist[it->first])) in RevertPreferences()
152 prefs->FindPreference(kWhitelist[index]); in SetPreferenceValue()
178 prefs->FindPreference(kWhitelist[index]); in BackupPreferenceValue()
/external/chromium_org/chrome/browser/ui/webui/
Dgesture_config_ui.cc61 prefs->FindPreference(pref_name.c_str()); in UpdatePreferenceValue()
94 prefs->FindPreference(pref_name.c_str()); in SetPreferenceValue()

12345