Searched defs:local_state (Results 1 - 25 of 121) sorted by relevance

12345

/external/chromium_org/chrome/browser/notifications/
H A Dnotification_ui_manager_desktop.cc16 NotificationUIManager* NotificationUIManager::Create(PrefService* local_state) { argument
23 local_state,
H A Dnotification_ui_manager_android.cc10 NotificationUIManager* NotificationUIManager::Create(PrefService* local_state) { argument
/external/chromium_org/chrome/browser/chromeos/login/
H A Ddefault_pinned_apps_field_trial.cc26 void MigratePrefs(PrefService* local_state) { argument
28 local_state->ClearPref(kExperimentUsers);
H A Dlogin_utils_browsertest.cc83 PrefService* local_state() { function in class:chromeos::LoginUtilsTest
84 return g_browser_process->local_state();
126 EXPECT_FALSE(local_state()->HasPrefPath(prefs::kRLZBrand));
132 registrar.Init(local_state());
139 EXPECT_TRUE(local_state()->HasPrefPath(prefs::kRLZBrand));
140 EXPECT_EQ(std::string(), local_state()->GetString(prefs::kRLZBrand));
/external/chromium_org/chrome/browser/chromeos/login/session/
H A Dlogin_oobe_session_manager_delegate.cc35 PrefService* local_state = g_browser_process->local_state(); local
36 local_state->ClearPref(prefs::kRebootAfterUpdate);
/external/chromium_org/chrome/browser/ui/app_list/
H A Dapp_list_util.cc30 void SetupShowAppLauncherPromoFieldTrial(PrefService* local_state) { argument
34 local_state->SetBoolean(prefs::kShowAppLauncherPromo, true);
50 PrefService* prefs = g_browser_process->local_state();
60 PrefService* local_state = g_browser_process->local_state();
62 if (!local_state)
67 local_state->GetBoolean(prefs::kShowAppLauncherPromo) &&
H A Dapp_list_service_impl_browsertest.cc58 PrefService* local_state = g_browser_process->local_state(); local
59 EXPECT_FALSE(local_state->HasPrefPath(prefs::kAppListProfile));
68 EXPECT_FALSE(local_state->HasPrefPath(prefs::kAppListProfile));
88 EXPECT_FALSE(local_state->HasPrefPath(prefs::kAppListProfile));
92 EXPECT_TRUE(local_state->HasPrefPath(prefs::kAppListProfile));
93 EXPECT_EQ(local_state->GetString(prefs::kAppListProfile),
/external/chromium_org/chrome/browser/
H A Dchrome_browser_field_trials.cc35 PrefService* local_state) {
46 parsed_command_line_, local_state);
34 SetupFieldTrials(const base::Time& install_time, PrefService* local_state) argument
H A Dchrome_browser_field_trials_desktop.cc116 PrefService* local_state) {
121 SetupShowAppLauncherPromoFieldTrial(local_state);
115 SetupDesktopFieldTrials(const CommandLine& parsed_command_line, PrefService* local_state) argument
/external/chromium_org/chrome/browser/chromeos/app_mode/
H A Dkiosk_app_launch_error.cc59 PrefService* local_state = g_browser_process->local_state(); local
60 DictionaryPrefUpdate dict_update(local_state,
67 PrefService* local_state = g_browser_process->local_state(); local
69 local_state->GetDictionary(KioskAppManager::kKioskDictionaryName);
80 PrefService* local_state = g_browser_process->local_state(); local
81 DictionaryPrefUpdate dict_update(local_state,
H A Dapp_session_lifetime.cc153 PrefService* local_state = g_browser_process->local_state(); local
154 local_state->SetBoolean(prefs::kRebootAfterUpdate, true);
/external/chromium_org/chrome/browser/chromeos/settings/
H A Ddevice_settings_cache.cc27 bool Store(const em::PolicyData& policy, PrefService* local_state) { argument
28 if (local_state) {
32 local_state->SetString(prefs::kDeviceSettingsCache, encoded);
38 bool Retrieve(em::PolicyData *policy, PrefService* local_state) { argument
39 if (local_state) {
41 local_state->GetString(prefs::kDeviceSettingsCache);
/external/chromium_org/chrome/browser/metrics/
H A Dextensions_metrics_provider_unittest.cc105 TestingPrefServiceSimple local_state; local
106 metrics::MetricsService::RegisterPrefs(local_state.registry());
109 &local_state,
H A Dchrome_metrics_service_accessor.cc20 const PrefService* local_state = g_browser_process->local_state(); local
21 if (local_state) {
23 local_state->FindPreference(prefs::kMetricsReportingEnabled);
41 const PrefService* prefs = g_browser_process->local_state();
H A Dmetrics_services_manager.cc25 MetricsServicesManager::MetricsServicesManager(PrefService* local_state) argument
26 : local_state_(local_state) {
27 DCHECK(local_state);
/external/chromium_org/chrome/browser/web_resource/
H A Deula_accepted_notifier.cc13 EulaAcceptedNotifier::EulaAcceptedNotifier(PrefService* local_state) argument
14 : local_state_(local_state), observer_(NULL) {
45 PrefService* local_state = g_browser_process->local_state(); local
49 if (local_state->FindPreference(prefs::kEulaAccepted) == NULL)
51 return new EulaAcceptedNotifier(local_state);
/external/chromium_org/chrome/browser/gpu/
H A Dgl_string_manager.cc32 PrefService* local_state = g_browser_process->local_state(); local
33 if (!local_state)
36 gl_vendor_ = local_state->GetString(prefs::kGLVendorString);
37 gl_renderer_ = local_state->GetString(prefs::kGLRendererString);
38 gl_version_ = local_state->GetString(prefs::kGLVersionString);
52 PrefService* local_state = g_browser_process->local_state(); local
53 if (!local_state)
58 local_state
[all...]
/external/chromium_org/chrome/browser/metrics/variations/
H A Dvariations_request_scheduler.cc51 PrefService* local_state) {
49 Create( const base::Closure& task, PrefService* local_state) argument
H A Dvariations_request_scheduler_mobile.cc24 PrefService* local_state) :
25 VariationsRequestScheduler(task), local_state_(local_state) {
70 PrefService* local_state) {
71 return new VariationsRequestSchedulerMobile(task, local_state);
22 VariationsRequestSchedulerMobile( const base::Closure& task, PrefService* local_state) argument
68 Create( const base::Closure& task, PrefService* local_state) argument
/external/chromium_org/chrome/browser/net/
H A Dssl_config_service_manager_pref_unittest.cc44 TestingPrefServiceSimple local_state; local
45 SSLConfigServiceManager::RegisterPrefs(local_state.registry());
48 SSLConfigServiceManager::CreateDefaultManager(&local_state));
61 TestingPrefServiceSimple local_state; local
62 SSLConfigServiceManager::RegisterPrefs(local_state.registry());
65 SSLConfigServiceManager::CreateDefaultManager(&local_state));
77 local_state.SetUserPref(prefs::kCipherSuiteBlacklist, list_value);
96 TestingPrefServiceSimple local_state; local
97 SSLConfigServiceManager::RegisterPrefs(local_state.registry());
100 SSLConfigServiceManager::CreateDefaultManager(&local_state));
[all...]
/external/chromium_org/chrome/test/chromedriver/
H A Dcapabilities_unittest.cc168 base::DictionaryValue local_state; local
169 local_state.SetString("s1", "v1");
170 local_state.SetString("s2.s", "v2");
172 caps.Set("chromeOptions.localState", local_state.DeepCopy());
175 ASSERT_TRUE(capabilities.local_state->Equals(&local_state));
/external/chromium_org/chrome/browser/plugins/
H A Dplugins_resource_service.cc56 PluginsResourceService::PluginsResourceService(PrefService* local_state) argument
57 : WebResourceService(local_state,
/external/chromium_org/chrome/browser/policy/
H A Dchrome_browser_policy_connector.cc84 PrefService* local_state,
99 local_state, request_context, device_management_service.Pass());
83 Init( PrefService* local_state, scoped_refptr<net::URLRequestContextGetter> request_context) argument
/external/chromium_org/components/metrics/
H A Dclean_exit_beacon.cc20 PrefService* local_state)
21 : local_state_(local_state),
23 local_state->GetBoolean(metrics::prefs::kStabilityExitedCleanly)),
19 CleanExitBeacon(const base::string16& backup_registry_key, PrefService* local_state) argument
/external/chromium_org/chrome/browser/chromeos/input_method/
H A Dinput_method_persistence.cc23 if (!g_browser_process || !g_browser_process->local_state())
26 g_browser_process->local_state()->SetString(
32 PrefService* local_state) {
33 if (!username.empty() && !local_state->ReadOnly()) {
38 DictionaryPrefUpdate updater(local_state, prefs::kUsersLRUInputMethod);
49 local_state->Set(prefs::kUsersLRUInputMethod, base::DictionaryValue());
51 DictionaryPrefUpdate updater(local_state, prefs::kUsersLRUInputMethod);
60 DVLOG(1) << "Failed to replace local_state.kUsersLRUInputMethod: '"
79 PrefService* const local_state = g_browser_process->local_state(); local
30 SetUserLRUInputMethodPreference(const std::string& username, const std::string& input_method, PrefService* local_state) argument
154 SetUserLRUInputMethodPreferenceForTesting(const std::string& username, const std::string& input_method, PrefService* const local_state) argument
[all...]

Completed in 577 milliseconds

12345