Home
last modified time | relevance | path

Searched refs:PrefStore (Results 1 – 25 of 25) sorted by relevance

/external/chromium/chrome/browser/prefs/
Dpref_value_store.h22 class PrefStore; variable
51 PrefValueStore(PrefStore* managed_platform_prefs,
52 PrefStore* managed_cloud_prefs,
53 PrefStore* extension_prefs,
54 PrefStore* command_line_prefs,
55 PrefStore* user_prefs,
56 PrefStore* recommended_platform_prefs,
57 PrefStore* recommended_cloud_prefs,
58 PrefStore* default_prefs,
64 PrefValueStore* CloneAndSpecialize(PrefStore* managed_platform_prefs,
[all …]
Dpref_value_store.cc24 PrefStore* pref_store, in Initialize()
44 PrefValueStore::PrefValueStore(PrefStore* managed_platform_prefs, in PrefValueStore()
45 PrefStore* managed_cloud_prefs, in PrefValueStore()
46 PrefStore* extension_prefs, in PrefValueStore()
47 PrefStore* command_line_prefs, in PrefValueStore()
48 PrefStore* user_prefs, in PrefValueStore()
49 PrefStore* recommended_platform_prefs, in PrefValueStore()
50 PrefStore* recommended_cloud_prefs, in PrefValueStore()
51 PrefStore* default_prefs, in PrefValueStore()
69 PrefStore* managed_platform_prefs, in CloneAndSpecialize()
[all …]
Dpref_service_mock_builder.h31 PrefServiceMockBuilder& WithManagedPlatformPrefs(PrefStore* store);
32 PrefServiceMockBuilder& WithManagedCloudPrefs(PrefStore* store);
33 PrefServiceMockBuilder& WithExtensionPrefs(PrefStore* store);
34 PrefServiceMockBuilder& WithCommandLinePrefs(PrefStore* store);
36 PrefServiceMockBuilder& WithRecommendedPlatformPrefs(PrefStore* store);
37 PrefServiceMockBuilder& WithRecommendedCloudPrefs(PrefStore* store);
59 scoped_refptr<PrefStore> managed_platform_prefs_;
60 scoped_refptr<PrefStore> managed_cloud_prefs_;
61 scoped_refptr<PrefStore> extension_prefs_;
62 scoped_refptr<PrefStore> command_line_prefs_;
[all …]
Doverlay_persistent_pref_store.cc22 void OverlayPersistentPrefStore::AddObserver(PrefStore::Observer* observer) { in AddObserver()
26 void OverlayPersistentPrefStore::RemoveObserver(PrefStore::Observer* observer) { in RemoveObserver()
34 PrefStore::ReadResult OverlayPersistentPrefStore::GetValue( in GetValue()
42 PrefStore::ReadResult OverlayPersistentPrefStore::GetMutableValue( in GetMutableValue()
50 PrefStore::ReadResult read_result = in GetMutableValue()
64 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, OnPrefValueChanged(key)); in SetValue()
74 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, OnPrefValueChanged(key)); in RemoveValue()
100 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, OnPrefValueChanged(key)); in ReportValueChanged()
105 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, OnPrefValueChanged(key)); in OnPrefValueChanged()
109 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, in OnInitializationCompleted()
Doverlay_persistent_pref_store_unittest.cc79 EXPECT_EQ(PrefStore::READ_NO_VALUE, overlay_->GetValue(key, &value)); in TEST_F()
80 EXPECT_EQ(PrefStore::READ_NO_VALUE, underlay_->GetValue(key, &value)); in TEST_F()
85 EXPECT_EQ(PrefStore::READ_OK, overlay_->GetValue(key, &value)); in TEST_F()
90 EXPECT_EQ(PrefStore::READ_OK, underlay_->GetValue(key, &value)); in TEST_F()
97 EXPECT_EQ(PrefStore::READ_OK, overlay_->GetValue(key, &value)); in TEST_F()
102 EXPECT_EQ(PrefStore::READ_OK, underlay_->GetValue(key, &value)); in TEST_F()
110 EXPECT_EQ(PrefStore::READ_OK, overlay_->GetValue(key, &value)); in TEST_F()
115 EXPECT_EQ(PrefStore::READ_OK, underlay_->GetValue(key, &value)); in TEST_F()
126 EXPECT_EQ(PrefStore::READ_OK, overlay_->GetMutableValue(key, &modify)); in TEST_F()
132 EXPECT_EQ(PrefStore::READ_OK, in TEST_F()
[all …]
Dpref_service.h27 class PrefStore; variable
136 PrefStore* extension_pref_store,
141 PrefStore* extension_pref_store,
149 PrefService* CreateIncognitoPrefService(PrefStore* incognito_extension_prefs);
257 PrefService(PrefStore* managed_platform_prefs,
258 PrefStore* managed_cloud_prefs,
259 PrefStore* extension_prefs,
260 PrefStore* command_line_prefs,
262 PrefStore* recommended_platform_prefs,
263 PrefStore* recommended_cloud_prefs,
[all …]
Dpref_service_mock_builder.cc22 PrefServiceMockBuilder::WithManagedPlatformPrefs(PrefStore* store) { in WithManagedPlatformPrefs()
28 PrefServiceMockBuilder::WithManagedCloudPrefs(PrefStore* store) { in WithManagedCloudPrefs()
34 PrefServiceMockBuilder::WithExtensionPrefs(PrefStore* store) { in WithExtensionPrefs()
40 PrefServiceMockBuilder::WithCommandLinePrefs(PrefStore* store) { in WithCommandLinePrefs()
52 PrefServiceMockBuilder::WithRecommendedPlatformPrefs(PrefStore* store) { in WithRecommendedPlatformPrefs()
58 PrefServiceMockBuilder::WithRecommendedCloudPrefs(PrefStore* store) { in WithRecommendedCloudPrefs()
Dvalue_map_pref_store.h16 class ValueMapPrefStore : public PrefStore {
27 virtual void AddObserver(PrefStore::Observer* observer);
28 virtual void RemoveObserver(PrefStore::Observer* observer);
50 ObserverList<PrefStore::Observer, true> observers_;
Dcommand_line_pref_store_unittest.cc30 ASSERT_EQ(PrefStore::READ_OK, GetValue(prefs::kProxy, &value)); in VerifyProxyMode()
51 EXPECT_EQ(PrefStore::READ_OK, in TEST()
76 EXPECT_EQ(PrefStore::READ_NO_VALUE, store->GetValue(unknown_bool, &actual)); in TEST()
77 EXPECT_EQ(PrefStore::READ_NO_VALUE, store->GetValue(unknown_string, &actual)); in TEST()
91 EXPECT_EQ(PrefStore::READ_NO_VALUE, store->GetValue(unknown_bool, &actual)); in TEST()
92 EXPECT_EQ(PrefStore::READ_NO_VALUE, store->GetValue(unknown_string, &actual)); in TEST()
97 ASSERT_EQ(PrefStore::READ_OK, store->GetValue(prefs::kProxy, &value)); in TEST()
Doverlay_persistent_pref_store.h22 public PrefStore::Observer {
33 virtual void AddObserver(PrefStore::Observer* observer);
34 virtual void RemoveObserver(PrefStore::Observer* observer);
56 ObserverList<PrefStore::Observer, true> observers_;
Dvalue_map_pref_store.cc16 PrefStore::ReadResult ValueMapPrefStore::GetValue(const std::string& key, in GetValue()
21 void ValueMapPrefStore::AddObserver(PrefStore::Observer* observer) { in AddObserver()
25 void ValueMapPrefStore::RemoveObserver(PrefStore::Observer* observer) { in RemoveObserver()
Dtesting_pref_store.cc16 PrefStore::ReadResult TestingPrefStore::GetValue(const std::string& key, in GetValue()
21 PrefStore::ReadResult TestingPrefStore::GetMutableValue(const std::string& key, in GetMutableValue()
26 void TestingPrefStore::AddObserver(PrefStore::Observer* observer) { in AddObserver()
30 void TestingPrefStore::RemoveObserver(PrefStore::Observer* observer) { in RemoveObserver()
Dtesting_pref_store.h28 virtual void AddObserver(PrefStore::Observer* observer);
29 virtual void RemoveObserver(PrefStore::Observer* observer);
79 ObserverList<PrefStore::Observer, true> observers_;
Dpref_service.cc88 PrefStore* extension_prefs, in CreatePrefService()
96 PrefStore* extension_prefs, in CreatePrefServiceAsync()
136 PrefStore* incognito_extension_prefs) { in CreateIncognitoPrefService()
140 PrefService::PrefService(PrefStore* managed_platform_prefs, in PrefService()
141 PrefStore* managed_cloud_prefs, in PrefService()
142 PrefStore* extension_prefs, in PrefService()
143 PrefStore* command_line_prefs, in PrefService()
145 PrefStore* recommended_platform_prefs, in PrefService()
146 PrefStore* recommended_cloud_prefs, in PrefService()
167 PrefStore* incognito_extension_prefs) in PrefService()
/external/chromium/chrome/browser/policy/
Dconfiguration_policy_pref_store_unittest.cc54 EXPECT_EQ(PrefStore::READ_NO_VALUE, in TEST_P()
65 EXPECT_EQ(PrefStore::READ_OK, in TEST_P()
96 EXPECT_EQ(PrefStore::READ_NO_VALUE, in TEST_P()
105 EXPECT_EQ(PrefStore::READ_OK, in TEST_P()
138 EXPECT_EQ(PrefStore::READ_NO_VALUE, in TEST_P()
147 EXPECT_EQ(PrefStore::READ_OK, in TEST_P()
154 EXPECT_EQ(PrefStore::READ_OK, in TEST_P()
236 EXPECT_EQ(PrefStore::READ_NO_VALUE, in TEST_P()
244 EXPECT_EQ(PrefStore::READ_OK, in TEST_P()
269 ASSERT_EQ(PrefStore::READ_OK, in VerifyProxyPrefs()
[all …]
Dconfiguration_policy_pref_store.h29 : public PrefStore,
38 virtual void AddObserver(PrefStore::Observer* observer);
39 virtual void RemoveObserver(PrefStore::Observer* observer);
86 ObserverList<PrefStore::Observer, true> observers_;
Dconfiguration_policy_pref_store.cc45 PrefStore::ReadResult GetValue(const std::string& key,
293 PrefStore::ReadResult
298 return PrefStore::READ_NO_VALUE; in GetValue()
303 return PrefStore::READ_USE_DEFAULT; in GetValue()
306 return PrefStore::READ_OK; in GetValue()
752 void ConfigurationPolicyPrefStore::AddObserver(PrefStore::Observer* observer) { in AddObserver()
757 PrefStore::Observer* observer) { in RemoveObserver()
765 PrefStore::ReadResult
771 return PrefStore::READ_NO_VALUE; in GetValue()
1005 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, in Refresh()
[all …]
/external/chromium/chrome/common/
Dpref_store.h23 class PrefStore : public base::RefCounted<PrefStore> {
46 PrefStore() {} in PrefStore() function
62 friend class base::RefCounted<PrefStore>;
63 virtual ~PrefStore() {} in ~PrefStore()
66 DISALLOW_COPY_AND_ASSIGN(PrefStore);
Djson_pref_store_unittest.cc102 EXPECT_EQ(PrefStore::READ_OK, in TEST_F()
110 EXPECT_EQ(PrefStore::READ_OK, pref_store->GetValue(kSomeDirectory, &actual)); in TEST_F()
118 EXPECT_EQ(PrefStore::READ_OK, pref_store->GetValue(kSomeDirectory, &actual)); in TEST_F()
123 EXPECT_EQ(PrefStore::READ_OK, in TEST_F()
131 EXPECT_EQ(PrefStore::READ_OK, in TEST_F()
136 EXPECT_EQ(PrefStore::READ_OK, pref_store->GetValue(kMaxTabs, &actual)); in TEST_F()
141 EXPECT_EQ(PrefStore::READ_OK, pref_store->GetValue(kMaxTabs, &actual)); in TEST_F()
148 EXPECT_EQ(PrefStore::READ_OK, pref_store->GetValue(kLongIntPref, &actual)); in TEST_F()
Djson_pref_store.cc140 PrefStore::ReadResult JsonPrefStore::GetValue(const std::string& key, in GetValue()
150 void JsonPrefStore::AddObserver(PrefStore::Observer* observer) { in AddObserver()
154 void JsonPrefStore::RemoveObserver(PrefStore::Observer* observer) { in RemoveObserver()
158 PrefStore::ReadResult JsonPrefStore::GetMutableValue(const std::string& key, in GetMutableValue()
170 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, OnPrefValueChanged(key)); in SetValue()
185 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, OnPrefValueChanged(key)); in RemoveValue()
295 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, OnPrefValueChanged(key)); in ReportValueChanged()
Djson_pref_store.h47 virtual void AddObserver(PrefStore::Observer* observer);
48 virtual void RemoveObserver(PrefStore::Observer* observer);
81 ObserverList<PrefStore::Observer, true> observers_;
Dpref_store.cc7 bool PrefStore::IsInitializationComplete() const { in IsInitializationComplete()
Dpref_store_observer_mock.h14 class PrefStoreObserverMock : public PrefStore::Observer {
Dpersistent_pref_store.h16 class PersistentPrefStore : public PrefStore {
/external/chromium/chrome/browser/content_settings/
Dcontent_settings_pref_provider_unittest.cc28 ContentSettingsPrefService(PrefStore* managed_platform_prefs, in ContentSettingsPrefService()
29 PrefStore* managed_cloud_prefs, in ContentSettingsPrefService()
30 PrefStore* extension_prefs, in ContentSettingsPrefService()
31 PrefStore* command_line_prefs, in ContentSettingsPrefService()
33 PrefStore* recommended_platform_prefs, in ContentSettingsPrefService()
34 PrefStore* recommended_cloud_prefs, in ContentSettingsPrefService()