Searched refs:pref_service (Results 1 - 25 of 188) sorted by relevance

12345678

/external/chromium_org/chrome/browser/search_engines/
H A Ddefault_search_pref_migration.h12 // Operates immediately if |pref_service| is fully initialized. Otherwise, waits
15 PrefService* pref_service);
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/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/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/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/net/
H A Dhttp_server_properties_manager_factory.cc16 HttpServerPropertiesManagerFactory::CreateManager(PrefService* pref_service) { argument
19 pref_service,
H A Dhttp_server_properties_manager_factory.h28 PrefService* 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(
H A Dprediction_options.h32 void MigrateNetworkPredictionUserPrefs(PrefService* pref_service);
/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/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/media/
H A Dmedia_device_id_salt.h24 MediaDeviceIDSalt(PrefService* pref_service, bool incognito);
30 static void Reset(PrefService* pref_service);
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/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/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
H A Dpref_service_hash_store_contents.h25 // Constructs a HashStoreContents that stores hashes in |pref_service|.
26 // Multiple hash stores can use the same |pref_service| with distinct
29 // |pref_service| must have previously been configured using |RegisterPrefs|.
31 PrefService* pref_service);
53 // Deletes stored hashes for all profiles from |pref_service|.
54 static void ResetAllPrefHashStores(PrefService* pref_service);
/external/chromium_org/chrome/browser/ui/webui/chromeos/
H A Dslow_ui.cc11 #include "base/prefs/pref_service.h"
104 PrefService* pref_service = profile_->GetPrefs(); local
105 pref_service->SetBoolean(prefs::kPerformanceTracingEnabled, false);
109 PrefService* pref_service = profile_->GetPrefs(); local
110 pref_service->SetBoolean(prefs::kPerformanceTracingEnabled, true);
118 PrefService* pref_service = profile_->GetPrefs(); local
119 bool enabled = pref_service->GetBoolean(prefs::kPerformanceTracingEnabled);
/external/chromium_org/base/prefs/
H A Dpref_notifier_impl.h27 explicit PrefNotifierImpl(PrefService* pref_service);
40 void SetPrefService(PrefService* pref_service);
H A Dpref_service_factory.cc12 #include "base/prefs/pref_service.h"
48 scoped_ptr<PrefService> pref_service(
62 return pref_service.Pass();
/external/chromium_org/chrome/browser/prefs/
H A Dpref_service_syncable_factory.cc57 scoped_ptr<PrefServiceSyncable> pref_service(
72 return pref_service.Pass();
/external/chromium_org/components/suggestions/
H A Dblacklist_store_unittest.cc59 BlacklistStore::RegisterProfilePrefs(pref_service()->registry());
62 user_prefs::TestingPrefServiceSyncable* pref_service() { function in class:suggestions::BlacklistStoreTest
73 BlacklistStore blacklist_store(pref_service());
106 BlacklistStore blacklist_store(pref_service());
112 BlacklistStore blacklist_store(pref_service());
117 BlacklistStore blacklist_store(pref_service());
139 new BlacklistStore(pref_service()));
149 blacklist_store.reset(new BlacklistStore(pref_service()));
/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/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/themes/
H A Dtheme_service_aurax11.cc8 #include "base/prefs/pref_service.h"
20 explicit SystemThemeX11(PrefService* pref_service);
39 SystemThemeX11::SystemThemeX11(PrefService* pref_service) argument
42 pref_service_(pref_service) {}

Completed in 429 milliseconds

12345678