Index: components/sync/driver/glue/sync_backend_host_impl_unittest.cc |
diff --git a/components/sync/driver/glue/sync_backend_host_impl_unittest.cc b/components/sync/driver/glue/sync_backend_host_impl_unittest.cc |
index 244167ebb8333c20f32766ab3ed3d820334cd824..d05fb2d00c9b952f87b615e32be9b160240ecf17 100644 |
--- a/components/sync/driver/glue/sync_backend_host_impl_unittest.cc |
+++ b/components/sync/driver/glue/sync_backend_host_impl_unittest.cc |
@@ -104,8 +104,10 @@ class MockSyncFrontend : public sync_driver::SyncFrontend { |
void(syncer::ModelType, const syncer::CommitCounters&)); |
MOCK_METHOD2(OnDirectoryTypeUpdateCounterUpdated, |
void(syncer::ModelType, const syncer::UpdateCounters&)); |
- MOCK_METHOD2(OnDirectoryTypeStatusCounterUpdated, |
- void(syncer::ModelType, const syncer::StatusCounters&)); |
+ // workaround GMOCK problems with std::unique_ptr<>. |
+ void OnDatatypeStatusCounterUpdated( |
+ syncer::ModelType, |
+ std::unique_ptr<syncer::StatusCounters>) override {} |
MOCK_METHOD1(OnExperimentsChanged, void(const syncer::Experiments&)); |
MOCK_METHOD1(OnActionableError, |
void(const syncer::SyncProtocolError& sync_error)); |