OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "components/sync/driver/glue/sync_backend_host_impl.h" | 5 #include "components/sync/driver/glue/sync_backend_host_impl.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <cstddef> | 9 #include <cstddef> |
10 #include <map> | 10 #include <map> |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 const sync_pb::EncryptedData&)); | 97 const sync_pb::EncryptedData&)); |
98 MOCK_METHOD0(OnPassphraseAccepted, void()); | 98 MOCK_METHOD0(OnPassphraseAccepted, void()); |
99 MOCK_METHOD2(OnEncryptedTypesChanged, void(syncer::ModelTypeSet, bool)); | 99 MOCK_METHOD2(OnEncryptedTypesChanged, void(syncer::ModelTypeSet, bool)); |
100 MOCK_METHOD0(OnEncryptionComplete, void()); | 100 MOCK_METHOD0(OnEncryptionComplete, void()); |
101 MOCK_METHOD1(OnMigrationNeededForTypes, void(syncer::ModelTypeSet)); | 101 MOCK_METHOD1(OnMigrationNeededForTypes, void(syncer::ModelTypeSet)); |
102 MOCK_METHOD1(OnProtocolEvent, void(const syncer::ProtocolEvent&)); | 102 MOCK_METHOD1(OnProtocolEvent, void(const syncer::ProtocolEvent&)); |
103 MOCK_METHOD2(OnDirectoryTypeCommitCounterUpdated, | 103 MOCK_METHOD2(OnDirectoryTypeCommitCounterUpdated, |
104 void(syncer::ModelType, const syncer::CommitCounters&)); | 104 void(syncer::ModelType, const syncer::CommitCounters&)); |
105 MOCK_METHOD2(OnDirectoryTypeUpdateCounterUpdated, | 105 MOCK_METHOD2(OnDirectoryTypeUpdateCounterUpdated, |
106 void(syncer::ModelType, const syncer::UpdateCounters&)); | 106 void(syncer::ModelType, const syncer::UpdateCounters&)); |
107 MOCK_METHOD2(OnDirectoryTypeStatusCounterUpdated, | 107 MOCK_METHOD2(OnDatatypeStatusCounterUpdated, |
108 void(syncer::ModelType, const syncer::StatusCounters&)); | 108 void(syncer::ModelType, const syncer::StatusCounters&)); |
109 MOCK_METHOD1(OnExperimentsChanged, void(const syncer::Experiments&)); | 109 MOCK_METHOD1(OnExperimentsChanged, void(const syncer::Experiments&)); |
110 MOCK_METHOD1(OnActionableError, | 110 MOCK_METHOD1(OnActionableError, |
111 void(const syncer::SyncProtocolError& sync_error)); | 111 void(const syncer::SyncProtocolError& sync_error)); |
112 MOCK_METHOD0(OnSyncConfigureRetry, void()); | 112 MOCK_METHOD0(OnSyncConfigureRetry, void()); |
113 MOCK_METHOD1( | 113 MOCK_METHOD1( |
114 OnLocalSetPassphraseEncryption, | 114 OnLocalSetPassphraseEncryption, |
115 void(const syncer::SyncEncryptionHandler::NigoriState& nigori_state)); | 115 void(const syncer::SyncEncryptionHandler::NigoriState& nigori_state)); |
116 }; | 116 }; |
117 | 117 |
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
861 backend_->StopSyncingForShutdown(); | 861 backend_->StopSyncingForShutdown(); |
862 // Verify that call to DeactivateNonBlockingDataType doesn't assert. | 862 // Verify that call to DeactivateNonBlockingDataType doesn't assert. |
863 backend_->DeactivateNonBlockingDataType(syncer::AUTOFILL); | 863 backend_->DeactivateNonBlockingDataType(syncer::AUTOFILL); |
864 backend_->Shutdown(syncer::STOP_SYNC); | 864 backend_->Shutdown(syncer::STOP_SYNC); |
865 backend_.reset(); | 865 backend_.reset(); |
866 } | 866 } |
867 | 867 |
868 } // namespace | 868 } // namespace |
869 | 869 |
870 } // namespace browser_sync | 870 } // namespace browser_sync |
OLD | NEW |