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

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

Issue 73623003: Remove SyncSchedulerImpl::OnShouldStopSyncingPermanently (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FreshToken2.Step1
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « sync/test/engine/fake_sync_scheduler.cc ('k') | sync/test/engine/syncer_command_test.cc » ('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 #ifndef SYNC_TEST_ENGINE_SYNCER_COMMAND_TEST_H_ 5 #ifndef SYNC_TEST_ENGINE_SYNCER_COMMAND_TEST_H_
6 #define SYNC_TEST_ENGINE_SYNCER_COMMAND_TEST_H_ 6 #define SYNC_TEST_ENGINE_SYNCER_COMMAND_TEST_H_
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 ModelTypeSet types, 43 ModelTypeSet types,
44 const base::TimeDelta& throttle_duration) OVERRIDE; 44 const base::TimeDelta& throttle_duration) OVERRIDE;
45 virtual bool IsCurrentlyThrottled() OVERRIDE; 45 virtual bool IsCurrentlyThrottled() OVERRIDE;
46 virtual void OnReceivedLongPollIntervalUpdate( 46 virtual void OnReceivedLongPollIntervalUpdate(
47 const base::TimeDelta& new_interval) OVERRIDE; 47 const base::TimeDelta& new_interval) OVERRIDE;
48 virtual void OnReceivedShortPollIntervalUpdate( 48 virtual void OnReceivedShortPollIntervalUpdate(
49 const base::TimeDelta& new_interval) OVERRIDE; 49 const base::TimeDelta& new_interval) OVERRIDE;
50 virtual void OnReceivedSessionsCommitDelay( 50 virtual void OnReceivedSessionsCommitDelay(
51 const base::TimeDelta& new_delay) OVERRIDE; 51 const base::TimeDelta& new_delay) OVERRIDE;
52 virtual void OnReceivedClientInvalidationHintBufferSize(int size) OVERRIDE; 52 virtual void OnReceivedClientInvalidationHintBufferSize(int size) OVERRIDE;
53 virtual void OnShouldStopSyncingPermanently() OVERRIDE;
54 virtual void OnSyncProtocolError( 53 virtual void OnSyncProtocolError(
55 const sessions::SyncSessionSnapshot& session) OVERRIDE; 54 const sessions::SyncSessionSnapshot& session) OVERRIDE;
56 55
57 std::vector<ModelSafeWorker*> GetWorkers() { 56 std::vector<ModelSafeWorker*> GetWorkers() {
58 std::vector<ModelSafeWorker*> workers; 57 std::vector<ModelSafeWorker*> workers;
59 std::vector<scoped_refptr<ModelSafeWorker> >::iterator it; 58 std::vector<scoped_refptr<ModelSafeWorker> >::iterator it;
60 for (it = workers_.begin(); it != workers_.end(); ++it) 59 for (it = workers_.begin(); it != workers_.end(); ++it)
61 workers.push_back(it->get()); 60 workers.push_back(it->get());
62 return workers; 61 return workers;
63 } 62 }
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 virtual void TearDown() OVERRIDE; 180 virtual void TearDown() OVERRIDE;
182 virtual syncable::Directory* directory() OVERRIDE; 181 virtual syncable::Directory* directory() OVERRIDE;
183 182
184 private: 183 private:
185 TestDirectorySetterUpper dir_maker_; 184 TestDirectorySetterUpper dir_maker_;
186 }; 185 };
187 186
188 } // namespace syncer 187 } // namespace syncer
189 188
190 #endif // SYNC_TEST_ENGINE_SYNCER_COMMAND_TEST_H_ 189 #endif // SYNC_TEST_ENGINE_SYNCER_COMMAND_TEST_H_
OLDNEW
« no previous file with comments | « sync/test/engine/fake_sync_scheduler.cc ('k') | sync/test/engine/syncer_command_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698