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

Unified Diff: chrome/browser/sync/sessions/sync_session_unittest.cc

Issue 7604019: [Sync] Add client-side plumbing for server control of sessions commit delay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile error and 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
« no previous file with comments | « chrome/browser/sync/sessions/sync_session.h ('k') | chrome/browser/sync/sessions/test_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sessions/sync_session_unittest.cc
diff --git a/chrome/browser/sync/sessions/sync_session_unittest.cc b/chrome/browser/sync/sessions/sync_session_unittest.cc
index b6cbe81f50d5388667dc040f702e20839c67e788..fe5f6ed9fb40f315be8391ae780a39e69e825bb9 100644
--- a/chrome/browser/sync/sessions/sync_session_unittest.cc
+++ b/chrome/browser/sync/sessions/sync_session_unittest.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/sync/sessions/sync_session.h"
+#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
#include "base/tracked.h"
#include "chrome/browser/sync/engine/conflict_resolver.h"
@@ -48,28 +49,32 @@ class SyncSessionTest : public testing::Test,
context_.reset();
}
- virtual void OnSilencedUntil(const base::TimeTicks& silenced_until) {
+ virtual void OnSilencedUntil(const base::TimeTicks& silenced_until) OVERRIDE {
FailControllerInvocationIfDisabled("OnSilencedUntil");
}
- virtual bool IsSyncingCurrentlySilenced() {
+ virtual bool IsSyncingCurrentlySilenced() OVERRIDE {
FailControllerInvocationIfDisabled("IsSyncingCurrentlySilenced");
return false;
}
virtual void OnReceivedLongPollIntervalUpdate(
- const base::TimeDelta& new_interval) {
+ const base::TimeDelta& new_interval) OVERRIDE {
FailControllerInvocationIfDisabled("OnReceivedLongPollIntervalUpdate");
}
virtual void OnReceivedShortPollIntervalUpdate(
- const base::TimeDelta& new_interval) {
+ const base::TimeDelta& new_interval) OVERRIDE {
FailControllerInvocationIfDisabled("OnReceivedShortPollIntervalUpdate");
}
- virtual void OnShouldStopSyncingPermanently() {
+ virtual void OnReceivedSessionsCommitDelay(
+ const base::TimeDelta& new_delay) OVERRIDE {
+ FailControllerInvocationIfDisabled("OnReceivedSessionsCommitDelay");
+ }
+ virtual void OnShouldStopSyncingPermanently() OVERRIDE {
FailControllerInvocationIfDisabled("OnShouldStopSyncingPermanently");
}
// ModelSafeWorkerRegistrar implementation.
- virtual void GetWorkers(std::vector<ModelSafeWorker*>* out) {}
- virtual void GetModelSafeRoutingInfo(ModelSafeRoutingInfo* out) {
+ virtual void GetWorkers(std::vector<ModelSafeWorker*>* out) OVERRIDE {}
+ virtual void GetModelSafeRoutingInfo(ModelSafeRoutingInfo* out) OVERRIDE {
out->swap(routes_);
}
« no previous file with comments | « chrome/browser/sync/sessions/sync_session.h ('k') | chrome/browser/sync/sessions/test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698