Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: components/pref_registry/testing_pref_service_syncable.h

Issue 2562733003: Remove duplicated user_prefs::TestingPrefServiceSyncable (Closed)
Patch Set: Fixed usage from .mm files Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_PERF_REGISTRY_TESTING_PREF_SERVICE_SYNCABLE_H_
6 #define COMPONENTS_PERF_REGISTRY_TESTING_PREF_SERVICE_SYNCABLE_H_
7
8 #include "base/macros.h"
9 #include "components/prefs/testing_pref_service.h"
10
11 namespace user_prefs {
12
13 class PrefRegistrySyncable;
14
15 // Test version of PrefServiceSyncable.
16 class TestingPrefServiceSyncable
17 : public TestingPrefServiceBase<PrefService, PrefRegistrySyncable> {
18 public:
19 TestingPrefServiceSyncable();
20 TestingPrefServiceSyncable(TestingPrefStore* managed_prefs,
21 TestingPrefStore* user_prefs,
22 TestingPrefStore* recommended_prefs,
23 PrefRegistrySyncable* pref_registry,
24 PrefNotifierImpl* pref_notifier);
25 ~TestingPrefServiceSyncable() override;
26
27 // This is provided as a convenience; on a production PrefService
28 // you would do all registrations before constructing it, passing it
29 // a PrefRegistry via its constructor (or via e.g. PrefServiceFactory).
30 PrefRegistrySyncable* registry();
31
32 private:
33 DISALLOW_COPY_AND_ASSIGN(TestingPrefServiceSyncable);
34 };
35
36 } // namespace user_prefs
37
38 #endif // COMPONENTS_PERF_REGISTRY_TESTING_PREF_SERVICE_SYNCABLE_H_
OLDNEW
« no previous file with comments | « components/pref_registry/BUILD.gn ('k') | components/pref_registry/testing_pref_service_syncable.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698