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

Side by Side Diff: sync/test/engine/fake_sync_scheduler.h

Issue 158953004: sync: Move migration signal out of snapshot (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // A fake implementation of the SyncScheduler. If needed, we should add default 5 // A fake implementation of the SyncScheduler. If needed, we should add default
6 // logic needed for tests (invoking callbacks, etc) here rather than in higher 6 // logic needed for tests (invoking callbacks, etc) here rather than in higher
7 // level test classes. 7 // level test classes.
8 8
9 #ifndef SYNC_TEST_ENGINE_FAKE_SYNC_SCHEDULER_H_ 9 #ifndef SYNC_TEST_ENGINE_FAKE_SYNC_SCHEDULER_H_
10 #define SYNC_TEST_ENGINE_FAKE_SYNC_SCHEDULER_H_ 10 #define SYNC_TEST_ENGINE_FAKE_SYNC_SCHEDULER_H_
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const base::TimeDelta& new_interval) OVERRIDE; 52 const base::TimeDelta& new_interval) OVERRIDE;
53 virtual void OnReceivedLongPollIntervalUpdate( 53 virtual void OnReceivedLongPollIntervalUpdate(
54 const base::TimeDelta& new_interval) OVERRIDE; 54 const base::TimeDelta& new_interval) OVERRIDE;
55 virtual void OnReceivedSessionsCommitDelay( 55 virtual void OnReceivedSessionsCommitDelay(
56 const base::TimeDelta& new_delay) OVERRIDE; 56 const base::TimeDelta& new_delay) OVERRIDE;
57 virtual void OnReceivedClientInvalidationHintBufferSize(int size) OVERRIDE; 57 virtual void OnReceivedClientInvalidationHintBufferSize(int size) OVERRIDE;
58 virtual void OnSyncProtocolError( 58 virtual void OnSyncProtocolError(
59 const SyncProtocolError& error) OVERRIDE; 59 const SyncProtocolError& error) OVERRIDE;
60 virtual void OnReceivedGuRetryDelay( 60 virtual void OnReceivedGuRetryDelay(
61 const base::TimeDelta& delay) OVERRIDE; 61 const base::TimeDelta& delay) OVERRIDE;
62 virtual void OnReceivedMigrationRequest(ModelTypeSet types) OVERRIDE;
62 }; 63 };
63 64
64 } // namespace syncer 65 } // namespace syncer
65 66
66 #endif // SYNC_TEST_ENGINE_FAKE_SYNC_SCHEDULER_H_ 67 #endif // SYNC_TEST_ENGINE_FAKE_SYNC_SCHEDULER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698