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

Side by Side Diff: components/sync/syncable/nigori_util.h

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 months 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 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 // Various utility methods for nigori-based multi-type encryption. 5 // Various utility methods for nigori-based multi-type encryption.
6 6
7 #ifndef COMPONENTS_SYNC_SYNCABLE_NIGORI_UTIL_H_ 7 #ifndef COMPONENTS_SYNC_SYNCABLE_NIGORI_UTIL_H_
8 #define COMPONENTS_SYNC_SYNCABLE_NIGORI_UTIL_H_ 8 #define COMPONENTS_SYNC_SYNCABLE_NIGORI_UTIL_H_
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "components/sync/base/model_type.h" 11 #include "components/sync/base/model_type.h"
12 #include "components/sync/protocol/nigori_specifics.pb.h" 12 #include "components/sync/protocol/nigori_specifics.pb.h"
13 13
14 namespace sync_pb { 14 namespace sync_pb {
15 class EntitySpecifics; 15 class EntitySpecifics;
16 } // namespace sync_pb 16 }
17 17
18 namespace syncer { 18 namespace syncer {
19
20 class Cryptographer; 19 class Cryptographer;
21 20
22 namespace syncable { 21 namespace syncable {
23 22
24 const char kEncryptedString[] = "encrypted"; 23 const char kEncryptedString[] = "encrypted";
25 24
26 class BaseTransaction; 25 class BaseTransaction;
27 class Entry; 26 class Entry;
28 class MutableEntry; 27 class MutableEntry;
29 class WriteTransaction; 28 class WriteTransaction;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 sync_pb::NigoriSpecifics* nigori); 68 sync_pb::NigoriSpecifics* nigori);
70 69
71 // Extracts the set of encrypted types from a nigori node. 70 // Extracts the set of encrypted types from a nigori node.
72 ModelTypeSet GetEncryptedTypesFromNigori( 71 ModelTypeSet GetEncryptedTypesFromNigori(
73 const sync_pb::NigoriSpecifics& nigori); 72 const sync_pb::NigoriSpecifics& nigori);
74 73
75 } // namespace syncable 74 } // namespace syncable
76 } // namespace syncer 75 } // namespace syncer
77 76
78 #endif // COMPONENTS_SYNC_SYNCABLE_NIGORI_UTIL_H_ 77 #endif // COMPONENTS_SYNC_SYNCABLE_NIGORI_UTIL_H_
OLDNEW
« no previous file with comments | « components/sync/syncable/mutable_entry.h ('k') | components/sync/syncable/parent_child_index.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698