Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: components/sync/driver/glue/sync_backend_host_impl_unittest.cc

Issue 2374913002: [USS] Show USS counters in about:sync page (Closed)
Patch Set: For IOS Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));

Powered by Google App Engine
This is Rietveld 408576698