| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_DRIVER_SYNC_FRONTEND_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_FRONTEND_H_ |
| 6 #define COMPONENTS_SYNC_DRIVER_SYNC_FRONTEND_H_ | 6 #define COMPONENTS_SYNC_DRIVER_SYNC_FRONTEND_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "components/sync/base/model_type.h" | 10 #include "components/sync/base/model_type.h" |
| 11 #include "components/sync/base/weak_handle.h" | 11 #include "components/sync/base/weak_handle.h" |
| 12 #include "components/sync/core/sync_encryption_handler.h" | 12 #include "components/sync/engine/sync_encryption_handler.h" |
| 13 #include "components/sync/core/sync_manager.h" | 13 #include "components/sync/engine/sync_manager.h" |
| 14 #include "components/sync/protocol/sync_protocol_error.h" | 14 #include "components/sync/protocol/sync_protocol_error.h" |
| 15 | 15 |
| 16 namespace sync_pb { | 16 namespace sync_pb { |
| 17 class EncryptedData; | 17 class EncryptedData; |
| 18 } // namespace sync_pb | 18 } // namespace sync_pb |
| 19 | 19 |
| 20 namespace syncer { | 20 namespace syncer { |
| 21 | 21 |
| 22 class DataTypeDebugInfoListener; | 22 class DataTypeDebugInfoListener; |
| 23 class JsBackend; | 23 class JsBackend; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 // |nigori_state| contains the new (post custom passphrase) encryption keys | 135 // |nigori_state| contains the new (post custom passphrase) encryption keys |
| 136 // and can be used to restore SyncEncryptionHandler's state across sync | 136 // and can be used to restore SyncEncryptionHandler's state across sync |
| 137 // backend instances. See also SyncEncryptionHandlerImpl::RestoreNigori. | 137 // backend instances. See also SyncEncryptionHandlerImpl::RestoreNigori. |
| 138 virtual void OnLocalSetPassphraseEncryption( | 138 virtual void OnLocalSetPassphraseEncryption( |
| 139 const SyncEncryptionHandler::NigoriState& nigori_state) = 0; | 139 const SyncEncryptionHandler::NigoriState& nigori_state) = 0; |
| 140 }; | 140 }; |
| 141 | 141 |
| 142 } // namespace syncer | 142 } // namespace syncer |
| 143 | 143 |
| 144 #endif // COMPONENTS_SYNC_DRIVER_SYNC_FRONTEND_H_ | 144 #endif // COMPONENTS_SYNC_DRIVER_SYNC_FRONTEND_H_ |
| OLD | NEW |