Home
last modified time | relevance | path

Searched refs:local_state_ (Results 1 – 11 of 11) sorted by relevance

/external/chromium/chrome/browser/policy/
Dmanaged_prefs_banner_base_unittest.cc21 local_state_.reset(new TestingPrefService); in SetUp()
22 local_state_->RegisterBooleanPref(prefs::kHomePageIsNewTabPage, false); in SetUp()
23 local_state_->RegisterBooleanPref(prefs::kMetricsReportingEnabled, false); in SetUp()
26 scoped_ptr<TestingPrefService> local_state_; member in policy::ManagedPrefsBannerBaseTest
31 ManagedPrefsBannerBase banner(local_state_.get(), in TEST_F()
45 local_state_->SetManagedPref(prefs::kMetricsReportingEnabled, in TEST_F()
50 local_state_->RemoveManagedPref(prefs::kMetricsReportingEnabled); in TEST_F()
52 local_state_->SetManagedPref(prefs::kHomePageIsNewTabPage, in TEST_F()
69 ManagedPrefsBannerBaseMock banner(local_state_.get(), in TEST_F()
79 local_state_->SetManagedPref(prefs::kMetricsReportingEnabled, in TEST_F()
/external/chromium/chrome/browser/chromeos/login/
Dsigned_settings_temp_storage_unittest.cc33 local_state_.reset(PrefService::CreatePrefService(temp_file, NULL, NULL)); in SetUp()
34 ASSERT_TRUE(NULL != local_state_.get()); in SetUp()
35 SignedSettingsTempStorage::RegisterPrefs(local_state_.get()); in SetUp()
40 scoped_ptr<PrefService> local_state_; member in chromeos::SignedSettingsTempStorageTest
59 local_state_.get())); in TEST_F()
68 local_state_.get())); in TEST_F()
72 local_state_.get())); in TEST_F()
/external/chromium/chrome/browser/
Dbrowser_process_impl.cc446 return local_state_.get(); in local_state()
635 if (local_state_->GetBoolean(prefs::kDefaultBrowserSettingEnabled)) in Observe()
831 DCHECK(!created_local_state_ && local_state_.get() == NULL); in CreateLocalState()
836 local_state_.reset( in CreateLocalState()
839 pref_change_registrar_.Init(local_state_.get()); in CreateLocalState()
843 local_state_->RegisterListPref(prefs::kPluginsDisabledPlugins); in CreateLocalState()
846 local_state_->RegisterListPref(prefs::kPluginsDisabledPluginsExceptions); in CreateLocalState()
849 local_state_->RegisterListPref(prefs::kPluginsEnabledPlugins); in CreateLocalState()
855 local_state_->RegisterBooleanPref(prefs::kPrintingEnabled, true); in CreateLocalState()
857 local_state_->GetBoolean(prefs::kPrintingEnabled); in CreateLocalState()
[all …]
Dbrowser_process_impl.h191 scoped_ptr<PrefService> local_state_; variable
/external/chromium/chrome/browser/extensions/
Dapps_promo_unittest.cc28 TestingPrefService* local_state() { return &local_state_; } in local_state()
41 TestingPrefService local_state_; member in ExtensionAppsPromo
55 browser::RegisterLocalState(&local_state_); in SetUp()
60 testing_browser_process->SetPrefService(&local_state_); in SetUp()
/external/chromium/chrome/browser/chromeos/cros/
Dlogin_library.cc163 local_state_(g_browser_process->local_state()) { in JobRestartRequest()
165 if (local_state_) { in JobRestartRequest()
168 local_state_->CommitPendingWrite(); in JobRestartRequest()
197 PrefService* local_state_; member in chromeos::LoginLibraryImpl::JobRestartRequest
/external/chromium/chrome/browser/notifications/
Ddesktop_notifications_unittest.cc85 browser::RegisterLocalState(&local_state_); in SetUp()
88 ui_manager_.reset(new NotificationUIManager(&local_state_)); in SetUp()
375 local_state_.SetInteger(prefs::kDesktopNotificationPosition, in TEST_F()
414 local_state_.SetInteger(prefs::kDesktopNotificationPosition, in TEST_F()
440 local_state_.SetInteger(prefs::kDesktopNotificationPosition, in TEST_F()
Ddesktop_notifications_unittest.h107 TestingPrefService local_state_; variable
/external/chromium/chrome/browser/google/
Dgoogle_url_tracker_unittest.cc136 TestingPrefService local_state_; member in GoogleURLTrackerTest
155 browser::RegisterLocalState(&local_state_); in SetUp()
158 testing_browser_process->SetPrefService(&local_state_); in SetUp()
/external/chromium/chrome/browser/chromeos/notifications/
Ddesktop_notifications_unittest.h96 TestingPrefService local_state_; variable
Ddesktop_notifications_unittest.cc80 browser::RegisterLocalState(&local_state_); in SetUp()
83 ui_manager_.reset(new NotificationUIManager(&local_state_)); in SetUp()