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

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

Issue 23238005: sync: Remove ModelTypeInvalidationMap (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sort entries in gyp files 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/sync_tests.gypi ('k') | sync/test/engine/fake_sync_scheduler.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 // 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 13 matching lines...) Expand all
24 virtual void ScheduleLocalNudge( 24 virtual void ScheduleLocalNudge(
25 const base::TimeDelta& desired_delay, 25 const base::TimeDelta& desired_delay,
26 ModelTypeSet types, 26 ModelTypeSet types,
27 const tracked_objects::Location& nudge_location) OVERRIDE; 27 const tracked_objects::Location& nudge_location) OVERRIDE;
28 virtual void ScheduleLocalRefreshRequest( 28 virtual void ScheduleLocalRefreshRequest(
29 const base::TimeDelta& desired_delay, 29 const base::TimeDelta& desired_delay,
30 ModelTypeSet types, 30 ModelTypeSet types,
31 const tracked_objects::Location& nudge_location) OVERRIDE; 31 const tracked_objects::Location& nudge_location) OVERRIDE;
32 virtual void ScheduleInvalidationNudge( 32 virtual void ScheduleInvalidationNudge(
33 const base::TimeDelta& desired_delay, 33 const base::TimeDelta& desired_delay,
34 const ModelTypeInvalidationMap& invalidation_map, 34 const ObjectIdInvalidationMap& invalidation_map,
35 const tracked_objects::Location& nudge_location) OVERRIDE; 35 const tracked_objects::Location& nudge_location) OVERRIDE;
36 virtual bool ScheduleConfiguration( 36 virtual bool ScheduleConfiguration(
37 const ConfigurationParams& params) OVERRIDE; 37 const ConfigurationParams& params) OVERRIDE;
38 virtual void SetNotificationsEnabled(bool notifications_enabled) OVERRIDE; 38 virtual void SetNotificationsEnabled(bool notifications_enabled) OVERRIDE;
39 39
40 virtual base::TimeDelta GetSessionsCommitDelay() const OVERRIDE; 40 virtual base::TimeDelta GetSessionsCommitDelay() const OVERRIDE;
41 virtual void OnCredentialsUpdated() OVERRIDE; 41 virtual void OnCredentialsUpdated() OVERRIDE;
42 virtual void OnConnectionStatusChange() OVERRIDE; 42 virtual void OnConnectionStatusChange() OVERRIDE;
43 43
44 // SyncSession::Delegate implementation. 44 // SyncSession::Delegate implementation.
(...skipping 11 matching lines...) Expand all
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 OnShouldStopSyncingPermanently() OVERRIDE; 58 virtual void OnShouldStopSyncingPermanently() OVERRIDE;
59 virtual void OnSyncProtocolError( 59 virtual void OnSyncProtocolError(
60 const sessions::SyncSessionSnapshot& snapshot) OVERRIDE; 60 const sessions::SyncSessionSnapshot& snapshot) OVERRIDE;
61 }; 61 };
62 62
63 } // namespace syncer 63 } // namespace syncer
64 64
65 #endif // SYNC_TEST_ENGINE_FAKE_SYNC_SCHEDULER_H_ 65 #endif // SYNC_TEST_ENGINE_FAKE_SYNC_SCHEDULER_H_
OLDNEW
« no previous file with comments | « sync/sync_tests.gypi ('k') | sync/test/engine/fake_sync_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698