| 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> |
| 9 |
| 8 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 9 #include "sync/internal_api/public/base/model_type.h" | 11 #include "sync/internal_api/public/base/model_type.h" |
| 10 #include "sync/internal_api/public/sync_encryption_handler.h" | 12 #include "sync/internal_api/public/sync_encryption_handler.h" |
| 11 #include "sync/internal_api/public/sync_manager.h" | 13 #include "sync/internal_api/public/sync_manager.h" |
| 12 #include "sync/internal_api/public/util/weak_handle.h" | 14 #include "sync/internal_api/public/util/weak_handle.h" |
| 13 #include "sync/protocol/sync_protocol_error.h" | 15 #include "sync/protocol/sync_protocol_error.h" |
| 14 | 16 |
| 15 namespace syncer { | 17 namespace syncer { |
| 16 class DataTypeDebugInfoListener; | 18 class DataTypeDebugInfoListener; |
| 17 class JsBackend; | 19 class JsBackend; |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 // |nigori_state| contains the new (post custom passphrase) encryption keys | 142 // |nigori_state| contains the new (post custom passphrase) encryption keys |
| 141 // and can be used to restore SyncEncryptionHandler's state across sync | 143 // and can be used to restore SyncEncryptionHandler's state across sync |
| 142 // backend instances. See also SyncEncryptionHandlerImpl::RestoreNigori. | 144 // backend instances. See also SyncEncryptionHandlerImpl::RestoreNigori. |
| 143 virtual void OnLocalSetPassphraseEncryption( | 145 virtual void OnLocalSetPassphraseEncryption( |
| 144 const syncer::SyncEncryptionHandler::NigoriState& nigori_state) = 0; | 146 const syncer::SyncEncryptionHandler::NigoriState& nigori_state) = 0; |
| 145 }; | 147 }; |
| 146 | 148 |
| 147 } // namespace sync_driver | 149 } // namespace sync_driver |
| 148 | 150 |
| 149 #endif // COMPONENTS_SYNC_DRIVER_SYNC_FRONTEND_H_ | 151 #endif // COMPONENTS_SYNC_DRIVER_SYNC_FRONTEND_H_ |
| OLD | NEW |