OLD | NEW |
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 SYNC_INTERNAL_API_PUBLIC_SYNC_ENCRYPTION_HANDLER_H_ | 5 #ifndef SYNC_INTERNAL_API_PUBLIC_SYNC_ENCRYPTION_HANDLER_H_ |
6 #define SYNC_INTERNAL_API_PUBLIC_SYNC_ENCRYPTION_HANDLER_H_ | 6 #define SYNC_INTERNAL_API_PUBLIC_SYNC_ENCRYPTION_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/time.h" | 10 #include "base/time/time.h" |
11 #include "sync/base/sync_export.h" | 11 #include "sync/base/sync_export.h" |
12 #include "sync/internal_api/public/base/model_type.h" | 12 #include "sync/internal_api/public/base/model_type.h" |
13 | 13 |
14 namespace sync_pb { | 14 namespace sync_pb { |
15 class EncryptedData; | 15 class EncryptedData; |
16 } | 16 } |
17 | 17 |
18 namespace syncer { | 18 namespace syncer { |
19 | 19 |
20 class Cryptographer; | 20 class Cryptographer; |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 // bag of encryption keys in the nigori node. | 168 // bag of encryption keys in the nigori node. |
169 virtual PassphraseType GetPassphraseType() const = 0; | 169 virtual PassphraseType GetPassphraseType() const = 0; |
170 | 170 |
171 // The set of types that are always encrypted. | 171 // The set of types that are always encrypted. |
172 static ModelTypeSet SensitiveTypes(); | 172 static ModelTypeSet SensitiveTypes(); |
173 }; | 173 }; |
174 | 174 |
175 } // namespace syncer | 175 } // namespace syncer |
176 | 176 |
177 #endif // SYNC_INTERNAL_API_PUBLIC_SYNC_ENCRYPTION_HANDLER_H_ | 177 #endif // SYNC_INTERNAL_API_PUBLIC_SYNC_ENCRYPTION_HANDLER_H_ |
OLD | NEW |