| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_ENGINE_SYNC_ENGINE_HOST_STUB_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_SYNC_ENGINE_HOST_STUB_H_ |
| 6 #define COMPONENTS_SYNC_ENGINE_SYNC_ENGINE_HOST_STUB_H_ | 6 #define COMPONENTS_SYNC_ENGINE_SYNC_ENGINE_HOST_STUB_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "components/sync/engine/sync_engine_host.h" | 10 #include "components/sync/engine/sync_engine_host.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 void OnProtocolEvent(const ProtocolEvent& event) override; | 27 void OnProtocolEvent(const ProtocolEvent& event) override; |
| 28 void OnDirectoryTypeCommitCounterUpdated( | 28 void OnDirectoryTypeCommitCounterUpdated( |
| 29 ModelType type, | 29 ModelType type, |
| 30 const CommitCounters& counters) override; | 30 const CommitCounters& counters) override; |
| 31 void OnDirectoryTypeUpdateCounterUpdated( | 31 void OnDirectoryTypeUpdateCounterUpdated( |
| 32 ModelType type, | 32 ModelType type, |
| 33 const UpdateCounters& counters) override; | 33 const UpdateCounters& counters) override; |
| 34 void OnDatatypeStatusCounterUpdated(ModelType type, | 34 void OnDatatypeStatusCounterUpdated(ModelType type, |
| 35 const StatusCounters& counters) override; | 35 const StatusCounters& counters) override; |
| 36 void OnConnectionStatusChange(ConnectionStatus status) override; | 36 void OnConnectionStatusChange(ConnectionStatus status) override; |
| 37 void OnPassphraseRequired( | |
| 38 PassphraseRequiredReason reason, | |
| 39 const sync_pb::EncryptedData& pending_keys) override; | |
| 40 void OnPassphraseAccepted() override; | |
| 41 void OnEncryptedTypesChanged(ModelTypeSet encrypted_types, | |
| 42 bool encrypt_everything) override; | |
| 43 void OnEncryptionComplete() override; | |
| 44 void OnMigrationNeededForTypes(ModelTypeSet types) override; | 37 void OnMigrationNeededForTypes(ModelTypeSet types) override; |
| 45 void OnExperimentsChanged(const Experiments& experiments) override; | 38 void OnExperimentsChanged(const Experiments& experiments) override; |
| 46 void OnActionableError(const SyncProtocolError& error) override; | 39 void OnActionableError(const SyncProtocolError& error) override; |
| 47 void OnLocalSetPassphraseEncryption( | |
| 48 const SyncEncryptionHandler::NigoriState& nigori_state) override; | |
| 49 }; | 40 }; |
| 50 | 41 |
| 51 } // namespace syncer | 42 } // namespace syncer |
| 52 | 43 |
| 53 #endif // COMPONENTS_SYNC_ENGINE_SYNC_ENGINE_HOST_STUB_H_ | 44 #endif // COMPONENTS_SYNC_ENGINE_SYNC_ENGINE_HOST_STUB_H_ |
| OLD | NEW |