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_SYNC_ENCRYPTION_HANDLER_IMPL_H_ | 5 #ifndef SYNC_INTERNAL_API_SYNC_ENCRYPTION_HANDLER_IMPL_H_ |
6 #define SYNC_INTERNAL_API_SYNC_ENCRYPTION_HANDLER_IMPL_H_ | 6 #define SYNC_INTERNAL_API_SYNC_ENCRYPTION_HANDLER_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/time.h" | |
13 #include "base/threading/thread_checker.h" | |
14 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
16 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
| 15 #include "base/threading/thread_checker.h" |
| 16 #include "base/time/time.h" |
17 #include "sync/base/sync_export.h" | 17 #include "sync/base/sync_export.h" |
18 #include "sync/internal_api/public/sync_encryption_handler.h" | 18 #include "sync/internal_api/public/sync_encryption_handler.h" |
19 #include "sync/syncable/nigori_handler.h" | 19 #include "sync/syncable/nigori_handler.h" |
20 #include "sync/util/cryptographer.h" | 20 #include "sync/util/cryptographer.h" |
21 | 21 |
22 namespace syncer { | 22 namespace syncer { |
23 | 23 |
24 class Encryptor; | 24 class Encryptor; |
25 struct UserShare; | 25 struct UserShare; |
26 class WriteNode; | 26 class WriteNode; |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 // if there is no custom passphrase or the custom passphrase was set | 306 // if there is no custom passphrase or the custom passphrase was set |
307 // before support for this field was added. | 307 // before support for this field was added. |
308 base::Time custom_passphrase_time_; | 308 base::Time custom_passphrase_time_; |
309 | 309 |
310 DISALLOW_COPY_AND_ASSIGN(SyncEncryptionHandlerImpl); | 310 DISALLOW_COPY_AND_ASSIGN(SyncEncryptionHandlerImpl); |
311 }; | 311 }; |
312 | 312 |
313 } // namespace syncer | 313 } // namespace syncer |
314 | 314 |
315 #endif // SYNC_INTERNAL_API_PUBLIC_SYNC_ENCRYPTION_HANDLER_IMPL_H_ | 315 #endif // SYNC_INTERNAL_API_PUBLIC_SYNC_ENCRYPTION_HANDLER_IMPL_H_ |
OLD | NEW |