| 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_IMPL_SYNC_ENCRYPTION_HANDLER_IMPL_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_SYNC_ENCRYPTION_HANDLER_IMPL_H_ |
| 6 #define COMPONENTS_SYNC_CORE_IMPL_SYNC_ENCRYPTION_HANDLER_IMPL_H_ | 6 #define COMPONENTS_SYNC_ENGINE_IMPL_SYNC_ENCRYPTION_HANDLER_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
| 16 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
| 17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 18 #include "components/sync/base/cryptographer.h" | 18 #include "components/sync/base/cryptographer.h" |
| 19 #include "components/sync/core/sync_encryption_handler.h" | 19 #include "components/sync/engine/sync_encryption_handler.h" |
| 20 #include "components/sync/syncable/nigori_handler.h" | 20 #include "components/sync/syncable/nigori_handler.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; |
| 27 class WriteTransaction; | 27 class WriteTransaction; |
| 28 | 28 |
| 29 // Sync encryption handler implementation. | 29 // Sync encryption handler implementation. |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 // before support for this field was added. | 313 // before support for this field was added. |
| 314 base::Time custom_passphrase_time_; | 314 base::Time custom_passphrase_time_; |
| 315 | 315 |
| 316 base::WeakPtrFactory<SyncEncryptionHandlerImpl> weak_ptr_factory_; | 316 base::WeakPtrFactory<SyncEncryptionHandlerImpl> weak_ptr_factory_; |
| 317 | 317 |
| 318 DISALLOW_COPY_AND_ASSIGN(SyncEncryptionHandlerImpl); | 318 DISALLOW_COPY_AND_ASSIGN(SyncEncryptionHandlerImpl); |
| 319 }; | 319 }; |
| 320 | 320 |
| 321 } // namespace syncer | 321 } // namespace syncer |
| 322 | 322 |
| 323 #endif // COMPONENTS_SYNC_CORE_IMPL_SYNC_ENCRYPTION_HANDLER_IMPL_H_ | 323 #endif // COMPONENTS_SYNC_ENGINE_IMPL_SYNC_ENCRYPTION_HANDLER_IMPL_H_ |
| OLD | NEW |