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

Unified Diff: chrome/browser/sync/glue/sync_backend_host_mock.cc

Issue 7511004: [Sync] Refactor data type configuration/activation/deactivation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests, address comments Created 9 years, 4 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: chrome/browser/sync/glue/sync_backend_host_mock.cc
diff --git a/chrome/browser/sync/glue/sync_backend_host_mock.cc b/chrome/browser/sync/glue/sync_backend_host_mock.cc
index ff661b7273da0ffcfba28331e4a535c422509676..1e5705ac0399f173c614f88b617005cc6351da4e 100644
--- a/chrome/browser/sync/glue/sync_backend_host_mock.cc
+++ b/chrome/browser/sync/glue/sync_backend_host_mock.cc
@@ -6,14 +6,15 @@
namespace browser_sync {
+using ::testing::_;
+
ACTION(InvokeTask) {
arg3.Run(true);
}
SyncBackendHostMock::SyncBackendHostMock() {
// By default, invoke the ready callback.
- ON_CALL(*this, ConfigureDataTypes(testing::_, testing::_, testing::_,
- testing::_, testing::_)).
+ ON_CALL(*this, ConfigureDataTypes(_, _, _, _, _)).
WillByDefault(InvokeTask());
}

Powered by Google App Engine
This is Rietveld 408576698