/external/chromium_org/chrome/test/base/ |
scoped_testing_local_state.h | 21 return &local_state_; 26 TestingPrefServiceSimple local_state_; member in class:ScopedTestingLocalState
|
scoped_testing_local_state.cc | 14 chrome::RegisterLocalState(local_state_.registry()); 16 browser_process->SetLocalState(&local_state_); 20 EXPECT_EQ(&local_state_, browser_process_->local_state());
|
/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_org/chrome/browser/chromeos/settings/ |
device_settings_cache_unittest.cc | 26 device_settings_cache::RegisterPrefs(&local_state_); 29 TestingPrefServiceSimple local_state_; member in class:chromeos::DeviceSettingsCacheTest 34 EXPECT_TRUE(device_settings_cache::Store(policy_, &local_state_)); 37 EXPECT_TRUE(device_settings_cache::Retrieve(&policy_out, &local_state_)); 49 EXPECT_TRUE(device_settings_cache::Store(policy_, &local_state_)); 51 local_state_.SetString(prefs::kDeviceSettingsCache, "blaaa"); 54 EXPECT_FALSE(device_settings_cache::Retrieve(&policy_out, &local_state_));
|
/external/chromium_org/chrome/browser/web_resource/ |
eula_accepted_notifier.cc | 14 : local_state_(local_state), observer_(NULL) { 26 if (local_state_->GetBoolean(prefs::kEulaAccepted)) 31 registrar_.Init(local_state_); 65 DCHECK(local_state_->GetBoolean(prefs::kEulaAccepted));
|
eula_accepted_notifier.h | 48 PrefService* local_state_; member in class:EulaAcceptedNotifier
|
eula_accepted_notifier_unittest.cc | 21 local_state_.registry()->RegisterBooleanPref(prefs::kEulaAccepted, false); 22 notifier_.reset(new EulaAcceptedNotifier(&local_state_)); 33 local_state_.SetBoolean(prefs::kEulaAccepted, true); 45 TestingPrefServiceSimple local_state_; member in class:EulaAcceptedNotifierTest
|
/external/chromium_org/chrome/browser/chromeos/login/ |
wallpaper_manager_unittest.cc | 55 local_state_.reset(new TestingPrefServiceSimple); 56 TestingBrowserProcess::GetGlobal()->SetLocalState(local_state_.get()); 57 UserManager::RegisterPrefs(local_state_->registry()); 60 UserImageManager::RegisterPrefs(local_state_->registry()); 61 WallpaperManager::RegisterPrefs(local_state_->registry()); 63 StartupUtils::RegisterPrefs(local_state_->registry()); 95 scoped_ptr<TestingPrefServiceSimple> local_state_; member in class:chromeos::WallpaperManagerTest
|
default_pinned_apps_field_trial_unittest.cc | 39 local_state_.reset(new TestingPrefServiceSimple); 40 default_pinned_apps_field_trial::RegisterPrefs(local_state_->registry()); 41 TestingBrowserProcess::GetGlobal()->SetLocalState(local_state_.get()); 46 local_state_.reset(); 53 scoped_ptr<TestingPrefServiceSimple> local_state_; member in class:chromeos::DefaultPinnedAppsFieldTrialTest
|
user_manager_unittest.cc | 46 local_state_.reset(new TestingPrefServiceSimple); 47 TestingBrowserProcess::GetGlobal()->SetLocalState(local_state_.get()); 48 UserManager::RegisterPrefs(local_state_->registry()); 51 UserImageManager::RegisterPrefs(local_state_->registry()); 52 WallpaperManager::RegisterPrefs(local_state_->registry()); 127 scoped_ptr<TestingPrefServiceSimple> local_state_; member in class:chromeos::UserManagerTest
|
user_image_manager_browsertest.cc | 48 local_state_ = g_browser_process->local_state(); 75 ListPrefUpdate users_pref(local_state_, "LoggedInUsers"); 95 DictionaryPrefUpdate images_pref(local_state_, "UserImages"); 136 ExpectUserImageInfo(local_state_->GetDictionary("UserImages"), 138 ExpectNoUserImageInfo(local_state_->GetDictionary("user_image_info"), 147 ExpectUserImageInfo(local_state_->GetDictionary("user_image_info"), 149 ExpectNoUserImageInfo(local_state_->GetDictionary("UserImages"), 177 PrefService* local_state_; member in class:chromeos::UserImageManagerTest
|
/external/chromium_org/chrome/browser/metrics/variations/ |
variations_request_scheduler_mobile.cc | 22 VariationsRequestScheduler(task), local_state_(local_state) { 34 local_state_->GetInt64(prefs::kVariationsLastFetchTime));
|
variations_request_scheduler_mobile.h | 31 PrefService* local_state_; member in class:chrome_variations::VariationsRequestSchedulerMobile
|
variations_service.cc | 165 : local_state_(local_state), 176 : local_state_(local_state), 194 const int64 date_value = local_state_->GetInt64(prefs::kVariationsSeedDate); 218 local_state_->GetInt64(prefs::kVariationsLastFetchTime); 245 base::Unretained(this)), local_state_)); 453 local_state_->SetString(prefs::kVariationsSeed, base64_seed_data); 454 local_state_->SetString(prefs::kVariationsSeedHash, HashSeed(seed_data)); 455 local_state_->SetInt64(prefs::kVariationsSeedDate, 466 local_state_->GetString(prefs::kVariationsSeed); 473 local_state_->GetString(prefs::kVariationsSeedHash) [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
device_cloud_policy_manager_chromeos.cc | 91 local_state_(NULL) {} 103 local_state_ = local_state; 137 const PrefService::Preference* pref = local_state_->FindPreference( 151 if (local_state_) { 153 local_state_->ClearPref(prefs::kDeviceEnrollmentRequisition); 154 local_state_->ClearPref(prefs::kDeviceEnrollmentAutoStart); 155 local_state_->ClearPref(prefs::kDeviceEnrollmentCanExit); 157 local_state_->SetString(prefs::kDeviceEnrollmentRequisition, requisition); 158 local_state_->SetBoolean(prefs::kDeviceEnrollmentAutoStart, true); 159 local_state_->SetBoolean(prefs::kDeviceEnrollmentCanExit, false) [all...] |
auto_enrollment_client_unittest.cc | 43 local_state_(scoped_testing_local_state_.Get()), 49 ASSERT_FALSE(local_state_->GetUserPref(prefs::kShouldAutoEnroll)); 50 ASSERT_FALSE(local_state_->GetUserPref(prefs::kAutoEnrollmentPowerLimit)); 64 local_state_, 111 return local_state_->GetUserPref(prefs::kShouldAutoEnroll); 119 local_state_->GetUserPref(prefs::kShouldAutoEnroll))); 122 local_state_->GetUserPref(prefs::kAutoEnrollmentPowerLimit))); 131 TestingPrefServiceSimple* local_state_; member in class:policy::__anon6986::AutoEnrollmentClientTest 320 local_state_->SetUserPref(prefs::kShouldAutoEnroll, 322 local_state_->SetUserPref(prefs::kAutoEnrollmentPowerLimit [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_org/chrome/browser/chromeos/audio/ |
audio_devices_pref_handler_impl.cc | 83 return local_state_->GetBoolean(prefs::kAudioCaptureAllowed); 87 return local_state_->GetBoolean(prefs::kAudioOutputAllowed); 104 local_state_(local_state) { 115 pref_change_registrar_.Init(local_state_); 125 local_state_->GetDictionary(prefs::kAudioDevicesMute); 131 DictionaryPrefUpdate dict_update(local_state_, prefs::kAudioDevicesMute); 143 local_state_->GetDictionary(prefs::kAudioDevicesVolumePercent); 149 DictionaryPrefUpdate dict_update(local_state_, 162 int old_mute = local_state_->GetInteger(prefs::kAudioMute); 169 double old_volume = local_state_->GetDouble(prefs::kAudioVolumePercent) [all...] |
audio_devices_pref_handler_impl.h | 69 PrefService* local_state_; // not owned member in class:chromeos::AudioDevicesPrefHandlerImpl
|
/external/chromium_org/chrome/common/metrics/ |
caching_permuted_entropy_provider.cc | 22 local_state_(local_state) { 55 local_state_->GetString(prefs::kMetricsPermutedEntropyCache); 59 local_state_->ClearPref(prefs::kMetricsPermutedEntropyCache); 73 local_state_->SetString(prefs::kMetricsPermutedEntropyCache, base64_encoded);
|
caching_permuted_entropy_provider.h | 57 PrefService* local_state_; member in class:metrics::CachingPermutedEntropyProvider
|
/external/chromium_org/chrome/browser/notifications/ |
message_center_notifications_unittest_win.cc | 62 NotificationPrefsManager::RegisterPrefs(local_state_.registry()); 67 local_state_.ClearPref(prefs::kMessageCenterShowedFirstRunBalloon); 69 &local_state_); 80 message_center_, &local_state_, settings_provider.Pass())); 111 const TestingPrefServiceSimple& local_state() { return local_state_; } 116 TestingPrefServiceSimple local_state_; member in class:message_center::MessageCenterNotificationManagerTest
|
/external/chromium_org/chrome/browser/ui/views/ |
native_widget_win_interactive_uitest.cc | 19 local_state_.reset(new ScopedTestingLocalState( 38 scoped_ptr<ScopedTestingLocalState> local_state_; member in class:NativeWidgetWinTest
|
/external/chromium_org/chrome/browser/chromeos/ |
session_length_limiter_unittest.cc | 98 TestingPrefServiceSimple local_state_; member in class:chromeos::SessionLengthLimiterTest 169 TestingBrowserProcess::GetGlobal()->SetLocalState(&local_state_); 170 SessionLengthLimiter::RegisterPrefs(local_state_.registry()); 187 local_state_.SetUserPref(prefs::kSessionStartTime, 194 local_state_.GetInt64(prefs::kSessionStartTime))); 205 local_state_.SetUserPref(prefs::kSessionLengthLimit, 375 local_state_.RemoveUserPref(prefs::kSessionLengthLimit);
|
/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_);
|