/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/chromeos/policy/ |
device_cloud_policy_manager_chromeos.cc | 111 local_state_(NULL) {} 123 local_state_ = local_state; 159 const PrefService::Preference* pref = local_state_->FindPreference( 172 if (local_state_) { 174 local_state_->ClearPref(prefs::kDeviceEnrollmentRequisition); 175 local_state_->ClearPref(prefs::kDeviceEnrollmentAutoStart); 176 local_state_->ClearPref(prefs::kDeviceEnrollmentCanExit); 178 local_state_->SetString(prefs::kDeviceEnrollmentRequisition, requisition); 180 local_state_->ClearPref(prefs::kDeviceEnrollmentAutoStart); 181 local_state_->ClearPref(prefs::kDeviceEnrollmentCanExit) [all...] |
auto_enrollment_client_unittest.cc | 45 local_state_(scoped_testing_local_state_.Get()), 50 ASSERT_FALSE(local_state_->GetUserPref(prefs::kShouldAutoEnroll)); 51 ASSERT_FALSE(local_state_->GetUserPref(prefs::kAutoEnrollmentPowerLimit)); 66 local_state_, 115 return local_state_->GetUserPref(prefs::kShouldAutoEnroll); 123 local_state_->GetUserPref(prefs::kShouldAutoEnroll))); 126 local_state_->GetUserPref(prefs::kAutoEnrollmentPowerLimit))); 135 TestingPrefServiceSimple* local_state_; member in class:policy::__anon4421::AutoEnrollmentClientTest 324 local_state_->SetUserPref(prefs::kShouldAutoEnroll, 326 local_state_->SetUserPref(prefs::kAutoEnrollmentPowerLimit [all...] |
/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 | 48 local_state_.reset(new TestingPrefServiceSimple); 49 TestingBrowserProcess::GetGlobal()->SetLocalState(local_state_.get()); 50 UserManager::RegisterPrefs(local_state_->registry()); 53 UserImageManager::RegisterPrefs(local_state_->registry()); 54 WallpaperManager::RegisterPrefs(local_state_->registry()); 56 StartupUtils::RegisterPrefs(local_state_->registry()); 88 scoped_ptr<TestingPrefServiceSimple> local_state_; member in class:chromeos::WallpaperManagerTest
|
multi_profile_user_controller.cc | 50 local_state_(local_state) { 155 DictionaryPrefUpdate update(local_state_, 164 local_state_->GetDictionary(prefs::kCachedMultiProfileUserBehavior); 175 DictionaryPrefUpdate update(local_state_, 202 DictionaryPrefUpdate update(local_state_,
|
user_manager_unittest.cc | 45 local_state_.reset( 53 local_state_.reset(); 117 scoped_ptr<ScopedTestingLocalState> local_state_; member in class:chromeos::UserManagerTest
|
/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 | 196 : local_state_(local_state), 207 : local_state_(local_state), 225 const int64 date_value = local_state_->GetInt64(prefs::kVariationsSeedDate); 249 local_state_->GetInt64(prefs::kVariationsLastFetchTime); 276 base::Unretained(this)), local_state_)); 436 local_state_->SetInt64(prefs::kVariationsSeedDate, 486 local_state_->SetString(prefs::kVariationsSeed, base64_seed_data); 487 local_state_->SetString(prefs::kVariationsSeedHash, HashSeed(seed_data)); 488 local_state_->SetInt64(prefs::kVariationsSeedDate, 499 local_state_->GetString(prefs::kVariationsSeed) [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/ui/app_list/ |
app_list_service_impl.cc | 175 local_state_(g_browser_process->local_state()), 190 local_state_(local_state), 207 if (local_state_->HasPrefPath(prefs::kAppListProfile)) 208 app_list_profile = local_state_->GetString(prefs::kAppListProfile); 213 local_state_->HasPrefPath(prefs::kProfileLastUsed)) { 214 app_list_profile = local_state_->GetString(prefs::kProfileLastUsed); 231 local_state_->SetString( 243 std::string app_list_last_profile = local_state_->GetString( 246 local_state_->SetString(prefs::kAppListProfile, 247 local_state_->GetString(prefs::kProfileLastUsed)) [all...] |
app_list_service_unittest.cc | 97 local_state_ = factory.Create(pref_registry).Pass(); 103 local_state_.get(), 109 scoped_ptr<PrefService> local_state_; member in class:AppListServiceUnitTest 118 EXPECT_FALSE(local_state_->GetBoolean(prefs::kAppLauncherHasBeenEnabled)); 120 EXPECT_TRUE(local_state_->GetBoolean(prefs::kAppLauncherHasBeenEnabled)); 122 local_state_->GetFilePath(prefs::kAppListProfile))); 144 local_state_->SetString(prefs::kProfileLastUsed, "last-used"); 172 EXPECT_TRUE(local_state_->GetBoolean(prefs::kAppLauncherHasBeenEnabled)); 180 EXPECT_FALSE(local_state_->GetBoolean(prefs::kAppLauncherHasBeenEnabled));
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
test_with_browser_view.h | 40 scoped_ptr<ScopedTestingLocalState> local_state_; member in class:TestWithBrowserView
|
test_with_browser_view.cc | 47 local_state_.reset( 77 local_state_.reset(NULL);
|
/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); 70 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/chromeos/audio/ |
audio_devices_pref_handler_impl.cc | 89 return local_state_->GetBoolean(prefs::kAudioCaptureAllowed); 93 return local_state_->GetBoolean(prefs::kAudioOutputAllowed); 135 local_state_(local_state) { 146 pref_change_registrar_.Init(local_state_); 156 local_state_->GetDictionary(prefs::kAudioDevicesMute); 162 DictionaryPrefUpdate dict_update(local_state_, prefs::kAudioDevicesMute); 174 local_state_->GetDictionary(prefs::kAudioDevicesVolumePercent); 180 DictionaryPrefUpdate dict_update(local_state_, 194 int old_mute = local_state_->GetInteger(prefs::kAudioMute); 201 double old_volume = local_state_->GetDouble(prefs::kAudioVolumePercent) [all...] |
/external/chromium_org/chrome/browser/notifications/ |
message_center_notifications_unittest_win.cc | 63 NotificationPrefsManager::RegisterPrefs(local_state_.registry()); 68 local_state_.ClearPref(prefs::kMessageCenterShowedFirstRunBalloon); 70 &local_state_); 81 message_center_, &local_state_, settings_provider.Pass())); 112 const TestingPrefServiceSimple& local_state() { return local_state_; } 117 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
|