Searched defs:pref_service_ (Results 1 - 25 of 64) sorted by path

123

/external/chromium_org/base/prefs/
H A Dpref_change_registrar_unittest.cc131 pref_service_.reset(new TestingPrefServiceSimple);
132 PrefRegistrySimple* registry = pref_service_->registry();
141 pref_set->Init(pref_service_.get());
149 scoped_ptr<TestingPrefServiceSimple> pref_service_; member in class:base::ObserveSetOfPreferencesTest
162 pref_service_->SetManagedPref(kHomePage,
165 pref_service_->SetManagedPref(kHomePageIsNewTabPage,
168 pref_service_->RemoveManagedPref(kHomePage);
170 pref_service_->RemoveManagedPref(kHomePageIsNewTabPage);
182 pref_set.Init(pref_service_.get());
187 pref_service_
[all...]
H A Dpref_notifier_impl.h63 PrefService* pref_service_; member in class:PrefNotifierImpl
H A Dpref_notifier_impl_unittest.cc89 pref_service_.registry()->RegisterBooleanPref(kChangedPref, true);
90 pref_service_.registry()->RegisterBooleanPref(kUnchangedPref, true);
93 TestingPrefServiceSimple pref_service_; member in class:__anon2411::PrefNotifierTest
100 MockPrefNotifier notifier(&pref_service_);
106 MockPrefNotifier notifier(&pref_service_);
119 MockPrefNotifier notifier(&pref_service_);
179 TestingPrefNotifierImpl notifier(&pref_service_);
183 EXPECT_CALL(obs1_, OnPreferenceChanged(&pref_service_, kChangedPref));
192 EXPECT_CALL(obs1_, OnPreferenceChanged(&pref_service_, kChangedPref));
193 EXPECT_CALL(obs2_, OnPreferenceChanged(&pref_service_, kChangedPre
[all...]
H A Dpref_service.h130 return pref_service_->pref_value_store_.get();
138 const PrefService* pref_service_; member in class:PrefService::Preference
/external/chromium_org/chrome/browser/android/accessibility/
H A Dfont_size_prefs_android.h47 PrefService* const pref_service_; member in class:FontSizePrefsAndroid
/external/chromium_org/chrome/browser/apps/drive/
H A Ddrive_app_mapping_unittest.cc19 pref_service_.reset(new TestingPrefServiceSyncable);
20 DriveAppMapping::RegisterProfilePrefs(pref_service_->registry());
22 mapping_.reset(new DriveAppMapping(pref_service_.get()));
28 scoped_ptr<TestingPrefServiceSyncable> pref_service_; member in class:DriveAppMappingTest
/external/chromium_org/chrome/browser/chromeos/attestation/
H A Dplatform_verification_flow_unittest.cc65 ProfileImpl::RegisterProfilePrefs(pref_service_.registry());
66 chrome::DeviceIDFetcher::RegisterProfilePrefs(pref_service_.registry());
67 PlatformVerificationFlow::RegisterProfilePrefs(pref_service_.registry());
68 HostContentSettingsMap::RegisterProfilePrefs(pref_service_.registry());
69 content_settings_ = new HostContentSettingsMap(&pref_service_, false);
85 return &pref_service_;
115 return pref_service_;
129 TestingPrefServiceSyncable pref_service_; member in class:chromeos::attestation::__anon3031::FakeDelegate
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dchange_list_loader_unittest.cc77 pref_service_.reset(new TestingPrefServiceSimple);
78 test_util::RegisterDrivePrefs(pref_service_->registry());
85 scheduler_.reset(new JobScheduler(pref_service_.get(),
133 scoped_ptr<TestingPrefServiceSimple> pref_service_; member in class:drive::internal::ChangeListLoaderTest
H A Ddirectory_loader_unittest.cc73 pref_service_.reset(new TestingPrefServiceSimple);
74 test_util::RegisterDrivePrefs(pref_service_->registry());
81 scheduler_.reset(new JobScheduler(pref_service_.get(),
129 scoped_ptr<TestingPrefServiceSimple> pref_service_; member in class:drive::internal::DirectoryLoaderTest
H A Ddrive_integration_service.cc181 : pref_service_(pref_service),
200 !pref_service_->GetBoolean(prefs::kDisableDrive));
203 PrefService* pref_service_; member in class:drive::DriveIntegrationService::PreferenceWatcher
H A Dfile_system.h249 PrefService* pref_service_; member in class:drive::FileSystem
H A Dfile_system_unittest.cc91 pref_service_.reset(new TestingPrefServiceSimple);
92 test_util::RegisterDrivePrefs(pref_service_->registry());
100 scheduler_.reset(new JobScheduler(pref_service_.get(),
134 pref_service_.get(),
305 scoped_ptr<TestingPrefServiceSimple> pref_service_; member in class:drive::FileSystemTest
H A Djob_scheduler.h393 PrefService* pref_service_; member in class:drive::JobScheduler
H A Djob_scheduler_unittest.cc131 : pref_service_(new TestingPrefServiceSimple) {
132 test_util::RegisterDrivePrefs(pref_service_->registry());
145 scheduler_.reset(new JobScheduler(pref_service_.get(),
184 scoped_ptr<TestingPrefServiceSimple> pref_service_; member in class:drive::JobSchedulerTest
586 pref_service_->SetBoolean(prefs::kDisableDriveOverCellular, true);
639 pref_service_->SetBoolean(prefs::kDisableDriveOverCellular, true);
692 pref_service_->SetBoolean(prefs::kDisableDriveOverCellular, false);
737 pref_service_->SetBoolean(prefs::kDisableDriveOverCellular, false);
784 pref_service_->SetBoolean(prefs::kDisableDriveOverCellular, true);
967 pref_service_
[all...]
H A Dsync_client_unittest.cc106 pref_service_.reset(new TestingPrefServiceSimple);
107 test_util::RegisterDrivePrefs(pref_service_->registry());
116 scheduler_.reset(new JobScheduler(pref_service_.get(),
251 scoped_ptr<TestingPrefServiceSimple> pref_service_; member in class:drive::internal::SyncClientTest
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Doperation_test_base.h147 scoped_ptr<TestingPrefServiceSimple> pref_service_; member in class:drive::file_system::OperationTestBase
/external/chromium_org/chrome/browser/chromeos/
H A Dproxy_config_service_impl_unittest.cc223 PrefProxyConfigTrackerImpl::RegisterPrefs(pref_service_.registry());
228 &pref_service_));
327 TestingPrefServiceSimple pref_service_; member in class:chromeos::ProxyConfigServiceImplTest
400 pref_service_.SetManagedPref(prefs::kProxy, managed_config.DeepCopy());
401 pref_service_.SetRecommendedPref(prefs::kProxy,
412 pref_service_.RemoveManagedPref(prefs::kProxy);
428 pref_service_.SetManagedPref(prefs::kProxy, managed_config.DeepCopy());
437 pref_service_.RemoveManagedPref(prefs::kProxy);
445 pref_service_.RemoveRecommendedPref(prefs::kProxy);
/external/chromium_org/chrome/browser/devtools/device/
H A Dport_forwarding_controller.h40 PrefService* pref_service_; member in class:PortForwardingController
/external/chromium_org/chrome/browser/download/
H A Dchrome_download_manager_delegate_unittest.cc162 TestingPrefServiceSyncable* pref_service_; member in class:__anon3573::ChromeDownloadManagerDelegateTest
179 pref_service_ = profile()->GetTestingPrefService();
244 pref_service_->SetFilePath(prefs::kDownloadDefaultDirectory, path);
245 pref_service_->SetFilePath(prefs::kSaveFileDefaultDirectory, path);
/external/chromium_org/chrome/browser/extensions/
H A Dextension_management.h176 PrefService* pref_service_; member in class:extensions::ExtensionManagement
H A Dextension_management_unittest.cc73 pref_service_.reset(new TestingPrefServiceSimple());
74 pref_service_->registry()->RegisterListPref(
76 pref_service_->registry()->RegisterListPref(pref_names::kAllowedTypes);
77 pref_service_->registry()->RegisterListPref(pref_names::kInstallDenyList);
78 pref_service_->registry()->RegisterListPref(pref_names::kInstallAllowList);
79 pref_service_->registry()->RegisterDictionaryPref(
81 pref_service_->registry()->RegisterDictionaryPref(
83 extension_management_.reset(new ExtensionManagement(pref_service_.get()));
88 pref_service_->SetManagedPref(path, value);
90 pref_service_
113 scoped_ptr<TestingPrefServiceSimple> pref_service_; member in class:extensions::ExtensionManagementServiceTest
[all...]
H A Dtest_extension_prefs.h92 scoped_ptr<PrefServiceSyncable> pref_service_; member in class:extensions::TestExtensionPrefs
/external/chromium_org/chrome/browser/invalidation/
H A Dinvalidator_storage_unittest.cc21 InvalidatorStorage::RegisterProfilePrefs(pref_service_.registry());
25 TestingPrefServiceSyncable pref_service_; member in class:invalidation::InvalidatorStorageTest
31 InvalidatorStorage storage(&pref_service_);
48 InvalidatorStorage storage(&pref_service_);
56 InvalidatorStorage storage(&pref_service_);
65 InvalidatorStorage storage(&pref_service_);
76 InvalidatorStorage storage(&pref_service_);
/external/chromium_org/chrome/browser/net/
H A Dpref_proxy_config_tracker_impl.h149 const PrefService* prefs() const { return pref_service_; }
160 PrefService* pref_service_; member in class:PrefProxyConfigTrackerImpl
H A Dpref_proxy_config_tracker_impl_unittest.cc121 pref_service_.reset(new TestingPrefServiceSimple());
122 Init(pref_service_.get(), pref_service_->registry());
125 scoped_ptr<TestingPrefServiceSimple> pref_service_; member in class:__anon4344::PrefProxyConfigTrackerImplTest
136 pref_service_->SetManagedPref(prefs::kProxy,
151 pref_service_->SetManagedPref(prefs::kProxy,
188 pref_service_->SetManagedPref(
206 pref_service_->RemoveManagedPref(prefs::kProxy);
240 pref_service_->SetRecommendedPref(
253 pref_service_
351 scoped_ptr<PrefService> pref_service_; member in class:__anon4344::PrefProxyConfigTrackerImplCommandLineTest
[all...]

Completed in 4740 milliseconds

123