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

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

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_PREF_REGISTRY_PREF_REGISTRY_SYNCABLE_H_ 5 #ifndef COMPONENTS_PREF_REGISTRY_PREF_REGISTRY_SYNCABLE_H_
6 #define COMPONENTS_PREF_REGISTRY_PREF_REGISTRY_SYNCABLE_H_ 6 #define COMPONENTS_PREF_REGISTRY_PREF_REGISTRY_SYNCABLE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "components/prefs/pref_registry_simple.h" 14 #include "components/prefs/pref_registry_simple.h"
15 15
16 namespace base { 16 namespace base {
17 class DictionaryValue;
18 class FilePath;
19 class ListValue;
20 class Value; 17 class Value;
21 } 18 }
22 19
23 // TODO(tfarina): Change this namespace to pref_registry. 20 // TODO(tfarina): Change this namespace to pref_registry.
24 namespace user_prefs { 21 namespace user_prefs {
25 22
26 // A PrefRegistry that forces users to choose whether each registered 23 // A PrefRegistry that forces users to choose whether each registered
27 // preference is syncable or not. 24 // preference is syncable or not.
28 // 25 //
29 // Classes or components that want to register such preferences should 26 // Classes or components that want to register such preferences should
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 uint32_t flags) override; 80 uint32_t flags) override;
84 81
85 SyncableRegistrationCallback callback_; 82 SyncableRegistrationCallback callback_;
86 83
87 DISALLOW_COPY_AND_ASSIGN(PrefRegistrySyncable); 84 DISALLOW_COPY_AND_ASSIGN(PrefRegistrySyncable);
88 }; 85 };
89 86
90 } // namespace user_prefs 87 } // namespace user_prefs
91 88
92 #endif // COMPONENTS_PREF_REGISTRY_PREF_REGISTRY_SYNCABLE_H_ 89 #endif // COMPONENTS_PREF_REGISTRY_PREF_REGISTRY_SYNCABLE_H_
OLDNEW
« no previous file with comments | « components/policy/core/common/cloud/cloud_policy_constants.h ('k') | components/prefs/pref_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698