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

Unified Diff: sync/sessions/sync_session_unittest.cc

Issue 14963002: sync: Report GetUpdate triggers to the server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix handling of NEW_CLIENT GU source Created 7 years, 7 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
« no previous file with comments | « sync/sessions/sync_session.cc ('k') | sync/test/engine/fake_sync_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/sessions/sync_session_unittest.cc
diff --git a/sync/sessions/sync_session_unittest.cc b/sync/sessions/sync_session_unittest.cc
index 229d841a6a95e77fccef1917ecb00da4a0cb1ce9..861abbeae7faac1e21300b54f68bdcf6042839c6 100644
--- a/sync/sessions/sync_session_unittest.cc
+++ b/sync/sessions/sync_session_unittest.cc
@@ -33,7 +33,9 @@ class SyncSessionTest : public testing::Test,
SyncSessionTest() : controller_invocations_allowed_(false) {}
SyncSession* MakeSession() {
- return new SyncSession(context_.get(), this, SyncSourceInfo());
+ return SyncSession::Build(context_.get(),
+ this,
+ SyncSourceInfo());
}
virtual void SetUp() {
@@ -95,6 +97,11 @@ class SyncSessionTest : public testing::Test,
const base::TimeDelta& new_delay) OVERRIDE {
FailControllerInvocationIfDisabled("OnReceivedSessionsCommitDelay");
}
+ virtual void OnReceivedClientInvalidationHintBufferSize(
+ int size) OVERRIDE {
+ FailControllerInvocationIfDisabled(
+ "OnReceivedClientInvalidationHintBufferSize");
+ }
virtual void OnShouldStopSyncingPermanently() OVERRIDE {
FailControllerInvocationIfDisabled("OnShouldStopSyncingPermanently");
}
« no previous file with comments | « sync/sessions/sync_session.cc ('k') | sync/test/engine/fake_sync_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698