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

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

Issue 23717047: Retry: sync: Gracefully handle early shutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renames Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/test/engine/fake_sync_scheduler.h ('k') | sync/test/engine/mock_connection_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "sync/test/engine/fake_sync_scheduler.h" 5 #include "sync/test/engine/fake_sync_scheduler.h"
6 6
7 namespace syncer { 7 namespace syncer {
8 8
9 FakeSyncScheduler::FakeSyncScheduler() {} 9 FakeSyncScheduler::FakeSyncScheduler() {}
10 10
11 FakeSyncScheduler::~FakeSyncScheduler() {} 11 FakeSyncScheduler::~FakeSyncScheduler() {}
12 12
13 void FakeSyncScheduler::Start(Mode mode) { 13 void FakeSyncScheduler::Start(Mode mode) {
14 } 14 }
15 15
16 void FakeSyncScheduler::RequestStop() { 16 void FakeSyncScheduler::Stop() {
17 } 17 }
18 18
19 void FakeSyncScheduler::ScheduleLocalNudge( 19 void FakeSyncScheduler::ScheduleLocalNudge(
20 const base::TimeDelta& desired_delay, 20 const base::TimeDelta& desired_delay,
21 ModelTypeSet types, 21 ModelTypeSet types,
22 const tracked_objects::Location& nudge_location) { 22 const tracked_objects::Location& nudge_location) {
23 } 23 }
24 24
25 void FakeSyncScheduler::ScheduleLocalRefreshRequest( 25 void FakeSyncScheduler::ScheduleLocalRefreshRequest(
26 const base::TimeDelta& desired_delay, 26 const base::TimeDelta& desired_delay,
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 } 84 }
85 85
86 void FakeSyncScheduler::OnShouldStopSyncingPermanently() { 86 void FakeSyncScheduler::OnShouldStopSyncingPermanently() {
87 } 87 }
88 88
89 void FakeSyncScheduler::OnSyncProtocolError( 89 void FakeSyncScheduler::OnSyncProtocolError(
90 const sessions::SyncSessionSnapshot& snapshot) { 90 const sessions::SyncSessionSnapshot& snapshot) {
91 } 91 }
92 92
93 } // namespace syncer 93 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/test/engine/fake_sync_scheduler.h ('k') | sync/test/engine/mock_connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698