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

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

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Rebase. 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 } 16 } // namespace sync_pb
17 17
18 namespace syncer { 18 namespace syncer {
19
19 class Cryptographer; 20 class Cryptographer;
20 21
21 namespace syncable { 22 namespace syncable {
22 23
23 const char kEncryptedString[] = "encrypted"; 24 const char kEncryptedString[] = "encrypted";
24 25
25 class BaseTransaction; 26 class BaseTransaction;
26 class Entry; 27 class Entry;
27 class MutableEntry; 28 class MutableEntry;
28 class WriteTransaction; 29 class WriteTransaction;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 sync_pb::NigoriSpecifics* nigori); 69 sync_pb::NigoriSpecifics* nigori);
69 70
70 // Extracts the set of encrypted types from a nigori node. 71 // Extracts the set of encrypted types from a nigori node.
71 ModelTypeSet GetEncryptedTypesFromNigori( 72 ModelTypeSet GetEncryptedTypesFromNigori(
72 const sync_pb::NigoriSpecifics& nigori); 73 const sync_pb::NigoriSpecifics& nigori);
73 74
74 } // namespace syncable 75 } // namespace syncable
75 } // namespace syncer 76 } // namespace syncer
76 77
77 #endif // COMPONENTS_SYNC_SYNCABLE_NIGORI_UTIL_H_ 78 #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