Searched refs:local_state (Results 1 - 25 of 311) sorted by relevance

1234567891011>>

/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);
/external/chromium_org/chrome/browser/ui/app_list/
H A Dapp_list_util.h13 void SetupShowAppLauncherPromoFieldTrial(PrefService* local_state);
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) &&
/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/chromeos/settings/
H A Ddevice_settings_cache.h25 // Stores a new policy blob inside the cache stored in |local_state|.
27 PrefService* local_state);
29 // Retrieves the policy blob from the cache stored in |local_state|.
31 PrefService* local_state);
35 void Finalize(PrefService* local_state);
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/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...]
H A Dgpu_mode_manager.cc21 PrefService* service = g_browser_process->local_state();
27 PrefService* service = g_browser_process->local_state();
44 if (g_browser_process->local_state()) { // Skip for unit tests
45 pref_registrar_.Init(g_browser_process->local_state());
81 PrefService* service = g_browser_process->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/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,
/external/chromium_org/chrome/browser/chromeos/input_method/
H A Dinput_method_delegate_impl.cc27 PrefService* local_state = g_browser_process->local_state();
28 if (!local_state)
31 return local_state->GetString(prefs::kHardwareKeyboardLayout);
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...]
/external/chromium_org/chrome/browser/notifications/
H A Dnotification_ui_manager_desktop.cc16 NotificationUIManager* NotificationUIManager::Create(PrefService* local_state) { argument
23 local_state,
/external/chromium_org/chrome/test/base/
H A Dscoped_testing_local_state.cc15 EXPECT_FALSE(browser_process->local_state());
20 EXPECT_EQ(&local_state_, browser_process_->local_state());
/external/chromium_org/components/metrics/
H A Dcloned_install_detector.cc55 PrefService* local_state,
63 local_state));
66 void ClonedInstallDetector::SaveMachineId(PrefService* local_state, argument
70 local_state->ClearPref(prefs::kMetricsMachineId);
77 if (local_state->HasPrefPath(prefs::kMetricsMachineId)) {
78 if (local_state->GetInteger(prefs::kMetricsMachineId) != hashed_id) {
82 local_state->SetBoolean(prefs::kMetricsResetIds, true);
90 local_state->SetInteger(prefs::kMetricsMachineId, hashed_id);
54 CheckForClonedInstall( PrefService* local_state, scoped_refptr<base::SingleThreadTaskRunner> task_runner) argument
/external/chromium_org/chrome/browser/metrics/
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();
/external/chromium_org/chrome/browser/chromeos/drive/sync/
H A Dentry_update_performer.cc44 EntryUpdatePerformer::LocalState* local_state) {
46 &local_state->entry);
50 error = metadata->GetResourceEntryById(local_state->entry.parent_local_id(),
51 &local_state->parent_entry);
55 error = metadata->GetFilePath(local_id, &local_state->drive_file_path);
59 if (!local_state->entry.file_info().is_directory() &&
60 !local_state->entry.file_specific_info().cache_state().is_present() &&
61 local_state->entry.resource_id().empty()) {
70 error = metadata->GetResourceEntryById(local_id, &local_state->entry);
76 if (local_state
41 PrepareUpdate(ResourceMetadata* metadata, FileCache* cache, const std::string& local_id, EntryUpdatePerformer::LocalState* local_state) argument
234 UpdateEntryAfterPrepare( const ClientContext& context, const FileOperationCallback& callback, scoped_ptr<LocalState> local_state, FileError error) argument
[all...]
/external/chromium_org/chrome/browser/chromeos/
H A Dsession_length_limiter.cc81 PrefService* local_state = g_browser_process->local_state(); local
82 pref_change_registrar_.Init(local_state);
97 local_state->ClearPref(prefs::kSessionUserActivitySeen);
117 PrefService* local_state = g_browser_process->local_state(); local
118 local_state->SetBoolean(prefs::kSessionUserActivitySeen, true);
124 local_state->SetInt64(prefs::kSessionStartTime,
127 local_state->CommitPendingWrite();
133 PrefService* local_state local
[all...]
/external/chromium_org/chrome/browser/ui/
H A Dchrome_select_file_policy.cc46 // local_state() can return NULL for tests.
47 if (!g_browser_process->local_state())
50 return !g_browser_process->local_state()->FindPreference(
52 g_browser_process->local_state()->GetBoolean(
/external/chromium_org/chrome/browser/
H A Dchrome_browser_field_trials_desktop.h23 // |local_state| is needed by some other methods called from within this one.
25 PrefService* local_state);
/external/chromium_org/chrome/browser/metrics/variations/
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/chromeos/accessibility/
H A Daccessibility_util.cc21 PrefService* pref_service = g_browser_process->local_state();
31 PrefService* prefs = g_browser_process->local_state();
/external/chromium_org/chrome/browser/chromeos/login/users/
H A Dsupervised_user_manager_impl.cc144 int counter = g_browser_process->local_state()->
159 g_browser_process->local_state()->
162 g_browser_process->local_state()->CommitPendingWrite();
192 PrefService* local_state = g_browser_process->local_state(); local
199 ListPrefUpdate prefs_new_users_update(local_state,
201 DictionaryPrefUpdate sync_id_update(local_state, kSupervisedUserSyncId);
202 DictionaryPrefUpdate manager_update(local_state, kSupervisedUserManagers);
203 DictionaryPrefUpdate manager_name_update(local_state,
206 local_state,
235 PrefService* local_state = g_browser_process->local_state(); local
310 PrefService* local_state = g_browser_process->local_state(); local
319 PrefService* local_state = g_browser_process->local_state(); local
327 PrefService* local_state = g_browser_process->local_state(); local
336 PrefService* local_state = g_browser_process->local_state(); local
345 PrefService* local_state = g_browser_process->local_state(); local
353 PrefService* local_state = g_browser_process->local_state(); local
484 PrefService* local_state = g_browser_process->local_state(); local
[all...]
/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/browser/bookmarks/
H A Denhanced_bookmarks_features.h42 PrefService* local_state,
54 PrefService* local_state,

Completed in 496 milliseconds

1234567891011>>