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

Side by Side Diff: chrome/browser/sync/encryption/cryptographer.h

Issue 8468023: Move encryption related files from util folder to encryption folder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For review. Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_SYNC_UTIL_CRYPTOGRAPHER_H_ 5 #ifndef CHROME_BROWSER_SYNC_ENCRYPTION_CRYPTOGRAPHER_H_
6 #define CHROME_BROWSER_SYNC_UTIL_CRYPTOGRAPHER_H_ 6 #define CHROME_BROWSER_SYNC_ENCRYPTION_CRYPTOGRAPHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 11
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/memory/linked_ptr.h" 13 #include "base/memory/linked_ptr.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/observer_list.h" 15 #include "base/observer_list.h"
16 #include "chrome/browser/sync/protocol/nigori_specifics.pb.h" 16 #include "chrome/browser/sync/protocol/nigori_specifics.pb.h"
17 #include "chrome/browser/sync/syncable/model_type.h" 17 #include "chrome/browser/sync/syncable/model_type.h"
18 #include "chrome/browser/sync/util/nigori.h" 18 #include "chrome/browser/sync/encryption/nigori.h"
Nicolas Zea 2011/11/17 21:04:30 This #include and others in the patch are not in a
19 19
20 namespace browser_sync { 20 namespace browser_sync {
21 21
22 extern const char kNigoriTag[]; 22 extern const char kNigoriTag[];
23 23
24 // The parameters used to initialize a Nigori instance. 24 // The parameters used to initialize a Nigori instance.
25 struct KeyParams { 25 struct KeyParams {
26 std::string hostname; 26 std::string hostname;
27 std::string username; 27 std::string username;
28 std::string password; 28 std::string password;
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 scoped_ptr<sync_pb::EncryptedData> pending_keys_; 217 scoped_ptr<sync_pb::EncryptedData> pending_keys_;
218 218
219 syncable::ModelTypeSet encrypted_types_; 219 syncable::ModelTypeSet encrypted_types_;
220 bool encrypt_everything_; 220 bool encrypt_everything_;
221 221
222 DISALLOW_COPY_AND_ASSIGN(Cryptographer); 222 DISALLOW_COPY_AND_ASSIGN(Cryptographer);
223 }; 223 };
224 224
225 } // namespace browser_sync 225 } // namespace browser_sync
226 226
227 #endif // CHROME_BROWSER_SYNC_UTIL_CRYPTOGRAPHER_H_ 227 #endif // CHROME_BROWSER_SYNC_ENCRYPTION_CRYPTOGRAPHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698