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

Side by Side Diff: components/sync/syncable/nigori_util.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
« no previous file with comments | « components/sync/syncable/mutable_entry.h ('k') | components/sync/syncable/write_node.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_SYNC_SYNCABLE_NIGORI_UTIL_H_ 5 #ifndef COMPONENTS_SYNC_SYNCABLE_NIGORI_UTIL_H_
6 #define COMPONENTS_SYNC_SYNCABLE_NIGORI_UTIL_H_ 6 #define COMPONENTS_SYNC_SYNCABLE_NIGORI_UTIL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "components/sync/base/model_type.h" 9 #include "components/sync/base/model_type.h"
10 #include "components/sync/protocol/nigori_specifics.pb.h" 10 #include "components/sync/protocol/nigori_specifics.pb.h"
11 11
12 namespace sync_pb { 12 namespace sync_pb {
13 class EntitySpecifics; 13 class EntitySpecifics;
14 } // namespace sync_pb 14 } // namespace sync_pb
15 15
16 namespace syncer { 16 namespace syncer {
17 17
18 class Cryptographer;
19
20 namespace syncable { 18 namespace syncable {
21 19
22 const char kEncryptedString[] = "encrypted"; 20 const char kEncryptedString[] = "encrypted";
23 21
24 class BaseTransaction; 22 class BaseTransaction;
25 class Entry; 23 class Entry;
26 class MutableEntry; 24 class MutableEntry;
27 class WriteTransaction; 25 class WriteTransaction;
28 26
29 // Various utility methods for nigori-based multi-type encryption. 27 // Various utility methods for nigori-based multi-type encryption.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 sync_pb::NigoriSpecifics* nigori); 67 sync_pb::NigoriSpecifics* nigori);
70 68
71 // Extracts the set of encrypted types from a nigori node. 69 // Extracts the set of encrypted types from a nigori node.
72 ModelTypeSet GetEncryptedTypesFromNigori( 70 ModelTypeSet GetEncryptedTypesFromNigori(
73 const sync_pb::NigoriSpecifics& nigori); 71 const sync_pb::NigoriSpecifics& nigori);
74 72
75 } // namespace syncable 73 } // namespace syncable
76 } // namespace syncer 74 } // namespace syncer
77 75
78 #endif // COMPONENTS_SYNC_SYNCABLE_NIGORI_UTIL_H_ 76 #endif // COMPONENTS_SYNC_SYNCABLE_NIGORI_UTIL_H_
OLDNEW
« no previous file with comments | « components/sync/syncable/mutable_entry.h ('k') | components/sync/syncable/write_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698