/external/chromium/chrome/browser/policy/ |
managed_prefs_banner_base_unittest.cc | 21 local_state_.reset(new TestingPrefService); 22 local_state_->RegisterBooleanPref(prefs::kHomePageIsNewTabPage, false); 23 local_state_->RegisterBooleanPref(prefs::kMetricsReportingEnabled, false); 26 scoped_ptr<TestingPrefService> local_state_; member in class:policy::ManagedPrefsBannerBaseTest 31 ManagedPrefsBannerBase banner(local_state_.get(), 45 local_state_->SetManagedPref(prefs::kMetricsReportingEnabled, 50 local_state_->RemoveManagedPref(prefs::kMetricsReportingEnabled); 52 local_state_->SetManagedPref(prefs::kHomePageIsNewTabPage, 69 ManagedPrefsBannerBaseMock banner(local_state_.get(), 79 local_state_->SetManagedPref(prefs::kMetricsReportingEnabled [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
signed_settings_temp_storage_unittest.cc | 33 local_state_.reset(PrefService::CreatePrefService(temp_file, NULL, NULL)); 34 ASSERT_TRUE(NULL != local_state_.get()); 35 SignedSettingsTempStorage::RegisterPrefs(local_state_.get()); 40 scoped_ptr<PrefService> local_state_; member in class:chromeos::SignedSettingsTempStorageTest 59 local_state_.get())); 68 local_state_.get())); 72 local_state_.get()));
|
/external/chromium/chrome/browser/extensions/ |
apps_promo_unittest.cc | 28 TestingPrefService* local_state() { return &local_state_; } 41 TestingPrefService local_state_; member in class:ExtensionAppsPromo 55 browser::RegisterLocalState(&local_state_); 60 testing_browser_process->SetPrefService(&local_state_);
|
/external/chromium/chrome/browser/ |
browser_process_impl.cc | 446 return local_state_.get(); 635 if (local_state_->GetBoolean(prefs::kDefaultBrowserSettingEnabled)) 831 DCHECK(!created_local_state_ && local_state_.get() == NULL); 836 local_state_.reset( 839 pref_change_registrar_.Init(local_state_.get()); 843 local_state_->RegisterListPref(prefs::kPluginsDisabledPlugins); 846 local_state_->RegisterListPref(prefs::kPluginsDisabledPluginsExceptions); 849 local_state_->RegisterListPref(prefs::kPluginsEnabledPlugins); 855 local_state_->RegisterBooleanPref(prefs::kPrintingEnabled, true); 857 local_state_->GetBoolean(prefs::kPrintingEnabled) [all...] |
browser_process_impl.h | 191 scoped_ptr<PrefService> local_state_; member in class:BrowserProcessImpl
|
/external/chromium/chrome/browser/chromeos/notifications/ |
desktop_notifications_unittest.h | 96 TestingPrefService local_state_; member in class:chromeos::DesktopNotificationsTest
|
desktop_notifications_unittest.cc | 80 browser::RegisterLocalState(&local_state_); 83 ui_manager_.reset(new NotificationUIManager(&local_state_));
|
/external/chromium/chrome/browser/notifications/ |
desktop_notifications_unittest.h | 107 TestingPrefService local_state_; member in class:DesktopNotificationsTest
|
desktop_notifications_unittest.cc | 85 browser::RegisterLocalState(&local_state_); 88 ui_manager_.reset(new NotificationUIManager(&local_state_)); 375 local_state_.SetInteger(prefs::kDesktopNotificationPosition, 414 local_state_.SetInteger(prefs::kDesktopNotificationPosition, 440 local_state_.SetInteger(prefs::kDesktopNotificationPosition,
|
/external/chromium/chrome/browser/chromeos/cros/ |
login_library.cc | 163 local_state_(g_browser_process->local_state()) { 165 if (local_state_) { 168 local_state_->CommitPendingWrite(); 197 PrefService* local_state_; member in class:chromeos::LoginLibraryImpl::JobRestartRequest
|
/external/chromium/chrome/browser/google/ |
google_url_tracker_unittest.cc | 136 TestingPrefService local_state_; member in class:GoogleURLTrackerTest 155 browser::RegisterLocalState(&local_state_); 158 testing_browser_process->SetPrefService(&local_state_);
|