Searched defs:pref_service (Results 1 - 25 of 113) sorted by relevance

12345

/external/chromium_org/chrome/browser/net/
H A Dhttp_server_properties_manager_factory.cc16 HttpServerPropertiesManagerFactory::CreateManager(PrefService* pref_service) { argument
19 pref_service,
H A Dprediction_options.cc8 #include "base/prefs/pref_service.h"
50 void MigrateNetworkPredictionUserPrefs(PrefService* pref_service) { argument
53 if (pref_service->GetUserPrefValue(prefs::kNetworkPredictionOptions))
58 pref_service->GetUserPrefValue(prefs::kNetworkPredictionEnabled);
64 pref_service->SetInteger(
/external/chromium_org/chrome/browser/extensions/api/system_private/
H A Dsystem_private_apitest.cc5 #include "base/prefs/pref_service.h"
19 PrefService* pref_service = browser()->profile()->GetPrefs(); local
20 pref_service->SetInteger(prefs::kIncognitoModeAvailability, 1);
/external/chromium_org/chrome/browser/
H A Drenderer_preferences_util.cc8 #include "base/prefs/pref_service.h"
32 const PrefService* pref_service = profile->GetPrefs(); local
33 prefs->accept_languages = pref_service->GetString(prefs::kAcceptLanguages);
34 prefs->enable_referrers = pref_service->GetBoolean(prefs::kEnableReferrers);
36 pref_service->GetBoolean(prefs::kEnableDoNotTrack);
37 prefs->default_zoom_level = pref_service->GetDouble(prefs::kDefaultZoomLevel);
89 pref_service->GetBoolean(prefs::kFullscreenAllowed);
H A Dbrowser_process_platform_part_aurawin.cc9 #include "base/prefs/pref_service.h"
68 PrefService* pref_service = g_browser_process->local_state(); local
69 bool is_relaunch = pref_service->GetBoolean(prefs::kWasRestarted);
73 pref_service->GetString(prefs::kRelaunchMode));
/external/chromium_org/chrome/browser/chromeos/accessibility/
H A Daccessibility_util.cc7 #include "base/prefs/pref_service.h"
21 PrefService* pref_service = g_browser_process->local_state(); local
22 pref_service->SetBoolean(prefs::kAccessibilityVirtualKeyboardEnabled,
24 pref_service->CommitPendingWrite();
/external/chromium_org/chrome/browser/lifetime/
H A Dapplication_lifetime_android.cc11 #include "base/prefs/pref_service.h"
25 PrefService* pref_service = g_browser_process->local_state(); local
26 pref_service->SetBoolean(prefs::kRestartLastSessionOnShutdown, true);
/external/chromium_org/chrome/browser/ui/startup/
H A Dsession_crashed_infobar_delegate_unittest.cc25 ->SetLocalState(&pref_service); variable
26 chrome::RegisterLocalState(pref_service.registry());
39 TestingPrefServiceSimple pref_service; member in class:SessionCrashedInfoBarDelegateUnitTest
/external/chromium_org/chrome/browser/extensions/api/reading_list_private/
H A Dreading_list_private_apitest.cc44 user_prefs::TestingPrefServiceSyncable* pref_service = local
47 pref_service->registry());
57 new dom_distiller::DistilledPagePrefs(pref_service)));
/external/chromium_org/chrome/browser/media/
H A Dmedia_device_id_salt.cc7 #include "base/prefs/pref_service.h"
26 MediaDeviceIDSalt::MediaDeviceIDSalt(PrefService* pref_service, argument
35 media_device_id_salt_.Init(prefs::kMediaDeviceIdSalt, pref_service);
67 void MediaDeviceIDSalt::Reset(PrefService* pref_service) { argument
68 pref_service->SetString(prefs::kMediaDeviceIdSalt,
/external/chromium_org/chrome/browser/prefs/
H A Dsynced_pref_change_registrar.cc21 PrefServiceSyncable* pref_service) {
22 pref_service_ = pref_service;
20 SyncedPrefChangeRegistrar( PrefServiceSyncable* pref_service) argument
H A Dincognito_mode_prefs.cc9 #include "base/prefs/pref_service.h"
44 const PrefService* pref_service) {
45 DCHECK(pref_service);
46 int pref_value = pref_service->GetInteger(prefs::kIncognitoModeAvailability);
43 GetAvailability( const PrefService* pref_service) argument
/external/chromium_org/chrome/browser/search_engines/
H A Ddefault_search_pref_migration.cc12 #include "base/prefs/pref_service.h"
23 PrefService* pref_service) {
27 pref_service, &legacy_dse_from_prefs, &legacy_is_managed);
51 void MigrateDefaultSearchPref(PrefService* pref_service) { argument
52 DCHECK(pref_service);
55 LoadDefaultSearchProviderFromPrefs(pref_service);
60 pref_service, DefaultSearchManager::ObserverCallback());
78 ClearDefaultSearchProviderFromLegacyPrefs(pref_service);
81 void OnPrefsInitialized(PrefService* pref_service, argument
83 MigrateDefaultSearchPref(pref_service);
22 LoadDefaultSearchProviderFromPrefs( PrefService* pref_service) argument
88 ConfigureDefaultSearchPrefMigrationToDictionaryValue( PrefService* pref_service) argument
[all...]
/external/chromium_org/chromecast/common/
H A Dchromecast_config.h16 #include "base/prefs/pref_service.h"
59 PrefService* pref_service() const { return pref_service_.get(); } function in class:chromecast::ChromecastConfig
/external/chromium_org/components/metrics/
H A Dmetrics_log_manager_unittest.cc45 TestLogPrefService pref_service; local
46 MetricsLogManager log_manager(&pref_service, 0);
55 "id", 0, MetricsLog::INITIAL_STABILITY_LOG, &client, &pref_service);
66 new MetricsLog("id", 0, MetricsLog::ONGOING_LOG, &client, &pref_service);
84 TestLogPrefService pref_service; local
85 MetricsLogManager log_manager(&pref_service, 0);
88 "id", 0, MetricsLog::INITIAL_STABILITY_LOG, &client, &pref_service);
99 TestLogPrefService pref_service; local
100 MetricsLogManager log_manager(&pref_service, 0);
103 new MetricsLog("id", 0, MetricsLog::ONGOING_LOG, &client, &pref_service);
129 TestLogPrefService pref_service; local
153 TestLogPrefService pref_service; local
230 TestLogPrefService pref_service; local
245 TestLogPrefService pref_service; local
262 TestLogPrefService pref_service; local
285 TestLogPrefService pref_service; local
[all...]
/external/chromium_org/components/search_engines/
H A Ddefault_search_pref_test_util.h34 static void SetManagedPref(TestingPrefService* pref_service, argument
44 pref_service->SetManagedPref(
54 static void RemoveManagedPref(TestingPrefService* pref_service) { argument
55 pref_service->RemoveManagedPref(
/external/chromium_org/base/prefs/
H A Dpref_notifier_impl.cc8 #include "base/prefs/pref_service.h"
114 void PrefNotifierImpl::SetPrefService(PrefService* pref_service) { argument
116 pref_service_ = pref_service;
H A Dpref_notifier_impl_unittest.cc11 #include "base/prefs/pref_service.h"
48 explicit MockPrefNotifier(PrefService* pref_service) argument
49 : PrefNotifierImpl(pref_service) {}
/external/chromium_org/chrome/browser/metrics/
H A Dmetrics_reporting_state.cc9 #include "base/prefs/pref_service.h"
98 const PrefService* pref_service = g_browser_process->local_state(); local
100 pref_service->FindPreference(prefs::kMetricsReportingEnabled);
/external/chromium_org/chrome/browser/search/
H A Dinstant_unittest_base.cc99 TestingPrefServiceSyncable* pref_service = profile()->GetTestingPrefService(); local
100 pref_service->SetUserPref(prefs::kLastPromptedGoogleURL,
/external/chromium_org/chrome/browser/autofill/
H A Dautofill_server_browsertest.cc8 #include "base/prefs/pref_service.h"
100 PrefService* pref_service = browser()->profile()->GetPrefs(); variable
101 test::DisableSystemServices(pref_service);
105 pref_service->SetDouble(prefs::kAutofillPositiveUploadRate, 1.0);
106 pref_service->SetDouble(prefs::kAutofillNegativeUploadRate, 1.0);
/external/chromium_org/chrome/browser/extensions/api/preference/
H A Dchrome_direct_setting.cc9 #include "base/prefs/pref_service.h"
71 PrefService* pref_service = GetPrefService(); local
73 pref_service->FindPreference(pref_key.c_str());
78 pref_service->Set(pref_key.c_str(), *value);
/external/chromium_org/chrome/browser/extensions/api/proxy/
H A Dproxy_apitest.cc5 #include "base/prefs/pref_service.h"
32 PrefService* pref_service) {
34 pref_service->FindPreference(prefs::kProxy);
38 ProxyConfigDictionary dict(pref_service->GetDictionary(prefs::kProxy));
67 void ExpectNoSettings(PrefService* pref_service) { argument
69 pref_service->FindPreference(prefs::kProxy);
92 PrefService* pref_service = browser()->profile()->GetPrefs(); local
94 pref_service);
98 pref_service = browser()->profile()->GetOffTheRecordProfile()->GetPrefs();
100 pref_service);
28 ValidateSettings(int expected_mode, const std::string& expected_server, const std::string& bypass, const std::string& expected_pac_url, PrefService* pref_service) argument
109 PrefService* pref_service = browser()->profile()->GetPrefs(); local
120 PrefService* pref_service = browser()->profile()->GetPrefs(); local
150 PrefService* pref_service = browser()->profile()->GetPrefs(); local
164 PrefService* pref_service = browser()->profile()->GetPrefs(); local
175 PrefService* pref_service = browser()->profile()->GetPrefs(); local
189 PrefService* pref_service = browser()->profile()->GetPrefs(); local
200 PrefService* pref_service = browser()->profile()->GetPrefs(); local
230 PrefService* pref_service = browser()->profile()->GetPrefs(); local
254 PrefService* pref_service = browser()->profile()->GetPrefs(); local
282 PrefService* pref_service = browser()->profile()->GetPrefs(); local
292 PrefService* pref_service = browser()->profile()->GetPrefs(); local
[all...]
/external/chromium_org/chrome/browser/prefs/tracked/
H A Dpref_service_hash_store_contents.cc8 #include "base/prefs/pref_service.h"
23 PrefService* pref_service);
35 PrefService* pref_service)
37 update_(pref_service,
66 PrefService* pref_service)
67 : hash_store_id_(hash_store_id), pref_service_(pref_service) {
82 PrefService* pref_service) {
83 pref_service->ClearPref(kProfilePreferenceHashes);
33 PrefServiceMutableDictionary( const std::string& key, PrefService* pref_service) argument
64 PrefServiceHashStoreContents( const std::string& hash_store_id, PrefService* pref_service) argument
81 ResetAllPrefHashStores( PrefService* pref_service) argument
/external/chromium_org/chrome/browser/sessions/
H A Dsession_restore_browsertest_chromeos.cc8 #include "base/prefs/pref_service.h"
72 PrefService* pref_service = g_browser_process->local_state(); local
73 pref_service->SetBoolean(prefs::kWasRestarted, true);

Completed in 560 milliseconds

12345