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

Side by Side Diff: chrome/browser/sync/engine/nigori_util.h

Issue 9668028: [Sync] Create new top-level sync/ directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 CHROME_BROWSER_SYNC_ENGINE_NIGORI_UTIL_H_ 7 #ifndef CHROME_BROWSER_SYNC_ENGINE_NIGORI_UTIL_H_
8 #define CHROME_BROWSER_SYNC_ENGINE_NIGORI_UTIL_H_ 8 #define CHROME_BROWSER_SYNC_ENGINE_NIGORI_UTIL_H_
9 #pragma once 9 #pragma once
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "chrome/browser/sync/protocol/nigori_specifics.pb.h"
13 #include "chrome/browser/sync/syncable/model_type.h" 12 #include "chrome/browser/sync/syncable/model_type.h"
13 #include "sync/protocol/nigori_specifics.pb.h"
14 14
15 namespace browser_sync { 15 namespace browser_sync {
16 class Cryptographer; 16 class Cryptographer;
17 } 17 }
18 18
19 namespace sync_pb { 19 namespace sync_pb {
20 class EntitySpecifics; 20 class EntitySpecifics;
21 } 21 }
22 22
23 namespace syncable { 23 namespace syncable {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Verifies all data of type |type| is encrypted appropriately. 57 // Verifies all data of type |type| is encrypted appropriately.
58 bool VerifyDataTypeEncryptionForTest( 58 bool VerifyDataTypeEncryptionForTest(
59 BaseTransaction* const trans, 59 BaseTransaction* const trans,
60 browser_sync::Cryptographer* cryptographer, 60 browser_sync::Cryptographer* cryptographer,
61 ModelType type, 61 ModelType type,
62 bool is_encrypted) WARN_UNUSED_RESULT; 62 bool is_encrypted) WARN_UNUSED_RESULT;
63 63
64 } // namespace syncable 64 } // namespace syncable
65 65
66 #endif // CHROME_BROWSER_SYNC_ENGINE_NIGORI_UTIL_H_ 66 #endif // CHROME_BROWSER_SYNC_ENGINE_NIGORI_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/net/server_connection_manager.cc ('k') | chrome/browser/sync/engine/nigori_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698