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

Side by Side Diff: components/sync/engine_impl/sync_scheduler.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 COMPONENTS_SYNC_ENGINE_IMPL_SYNC_SCHEDULER_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_SYNC_SCHEDULER_H_
6 #define COMPONENTS_SYNC_ENGINE_IMPL_SYNC_SCHEDULER_H_ 6 #define COMPONENTS_SYNC_ENGINE_IMPL_SYNC_SCHEDULER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "components/sync/base/invalidation_interface.h" 14 #include "components/sync/base/invalidation_interface.h"
15 #include "components/sync/engine_impl/cycle/sync_cycle.h" 15 #include "components/sync/engine_impl/cycle/sync_cycle.h"
16 #include "components/sync/engine_impl/nudge_source.h" 16 #include "components/sync/engine_impl/nudge_source.h"
17 17
18 namespace tracked_objects { 18 namespace tracked_objects {
19 class Location; 19 class Location;
20 } // namespace tracked_objects 20 } // namespace tracked_objects
21 21
22 namespace syncer { 22 namespace syncer {
23 23
24 struct ServerConnectionEvent;
25
26 struct ConfigurationParams { 24 struct ConfigurationParams {
27 ConfigurationParams(); 25 ConfigurationParams();
28 ConfigurationParams( 26 ConfigurationParams(
29 const sync_pb::GetUpdatesCallerInfo::GetUpdatesSource& source, 27 const sync_pb::GetUpdatesCallerInfo::GetUpdatesSource& source,
30 ModelTypeSet types_to_download, 28 ModelTypeSet types_to_download,
31 const ModelSafeRoutingInfo& routing_info, 29 const ModelSafeRoutingInfo& routing_info,
32 const base::Closure& ready_task, 30 const base::Closure& ready_task,
33 const base::Closure& retry_task); 31 const base::Closure& retry_task);
34 ConfigurationParams(const ConfigurationParams& other); 32 ConfigurationParams(const ConfigurationParams& other);
35 ~ConfigurationParams(); 33 ~ConfigurationParams();
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // Called when credentials are updated by the user. 147 // Called when credentials are updated by the user.
150 virtual void OnCredentialsUpdated() = 0; 148 virtual void OnCredentialsUpdated() = 0;
151 149
152 // Called when the network layer detects a connection status change. 150 // Called when the network layer detects a connection status change.
153 virtual void OnConnectionStatusChange() = 0; 151 virtual void OnConnectionStatusChange() = 0;
154 }; 152 };
155 153
156 } // namespace syncer 154 } // namespace syncer
157 155
158 #endif // COMPONENTS_SYNC_ENGINE_IMPL_SYNC_SCHEDULER_H_ 156 #endif // COMPONENTS_SYNC_ENGINE_IMPL_SYNC_SCHEDULER_H_
OLDNEW
« no previous file with comments | « components/sync/engine_impl/sync_manager_impl.h ('k') | components/sync/engine_impl/syncer_proto_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698