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 COMPONENTS_SYNC_CORE_SYNC_ENCRYPTION_HANDLER_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_SYNC_ENCRYPTION_HANDLER_H_ |
6 #define COMPONENTS_SYNC_CORE_SYNC_ENCRYPTION_HANDLER_H_ | 6 #define COMPONENTS_SYNC_ENGINE_SYNC_ENCRYPTION_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
11 #include "components/sync/base/model_type.h" | 11 #include "components/sync/base/model_type.h" |
12 #include "components/sync/protocol/sync.pb.h" | 12 #include "components/sync/protocol/sync.pb.h" |
13 | 13 |
14 namespace syncer { | 14 namespace syncer { |
15 | 15 |
16 class Cryptographer; | 16 class Cryptographer; |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 // Whether encryption of all datatypes is enabled. If false, only sensitive | 165 // Whether encryption of all datatypes is enabled. If false, only sensitive |
166 // types are encrypted. | 166 // types are encrypted. |
167 virtual bool IsEncryptEverythingEnabled() const = 0; | 167 virtual bool IsEncryptEverythingEnabled() const = 0; |
168 | 168 |
169 // The set of types that are always encrypted. | 169 // The set of types that are always encrypted. |
170 static ModelTypeSet SensitiveTypes(); | 170 static ModelTypeSet SensitiveTypes(); |
171 }; | 171 }; |
172 | 172 |
173 } // namespace syncer | 173 } // namespace syncer |
174 | 174 |
175 #endif // COMPONENTS_SYNC_CORE_SYNC_ENCRYPTION_HANDLER_H_ | 175 #endif // COMPONENTS_SYNC_ENGINE_SYNC_ENCRYPTION_HANDLER_H_ |
OLD | NEW |