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

Side by Side Diff: components/sync/base/cryptographer.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/suggestions/image_manager.h ('k') | components/sync/base/sync_prefs.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_BASE_CRYPTOGRAPHER_H_ 5 #ifndef COMPONENTS_SYNC_BASE_CRYPTOGRAPHER_H_
6 #define COMPONENTS_SYNC_BASE_CRYPTOGRAPHER_H_ 6 #define COMPONENTS_SYNC_BASE_CRYPTOGRAPHER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/linked_ptr.h" 13 #include "base/memory/linked_ptr.h"
14 #include "components/sync/base/nigori.h" 14 #include "components/sync/base/nigori.h"
15 #include "components/sync/protocol/encryption.pb.h" 15 #include "components/sync/protocol/encryption.pb.h"
16 16
17 namespace sync_pb { 17 namespace sync_pb {
18 class NigoriKeyBag; 18 class NigoriKeyBag;
19 class NigoriSpecifics;
20 } 19 }
21 20
22 namespace syncer { 21 namespace syncer {
23 22
24 class Encryptor; 23 class Encryptor;
25 24
26 extern const char kNigoriTag[]; 25 extern const char kNigoriTag[];
27 26
28 // The parameters used to initialize a Nigori instance. 27 // The parameters used to initialize a Nigori instance.
29 struct KeyParams { 28 struct KeyParams {
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 std::string default_nigori_name_; 209 std::string default_nigori_name_;
211 210
212 std::unique_ptr<sync_pb::EncryptedData> pending_keys_; 211 std::unique_ptr<sync_pb::EncryptedData> pending_keys_;
213 212
214 DISALLOW_ASSIGN(Cryptographer); 213 DISALLOW_ASSIGN(Cryptographer);
215 }; 214 };
216 215
217 } // namespace syncer 216 } // namespace syncer
218 217
219 #endif // COMPONENTS_SYNC_BASE_CRYPTOGRAPHER_H_ 218 #endif // COMPONENTS_SYNC_BASE_CRYPTOGRAPHER_H_
OLDNEW
« no previous file with comments | « components/suggestions/image_manager.h ('k') | components/sync/base/sync_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698