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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
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 // A class to schedule syncer tasks intelligently. 5 // A class to schedule syncer tasks intelligently.
6 #ifndef SYNC_ENGINE_SYNC_SCHEDULER_H_ 6 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_SYNC_SCHEDULER_H_
7 #define SYNC_ENGINE_SYNC_SCHEDULER_H_ 7 #define COMPONENTS_SYNC_ENGINE_IMPL_SYNC_SCHEDULER_H_
8 8
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "sync/base/sync_export.h" 15 #include "components/sync/base/invalidation_interface.h"
16 #include "sync/engine/nudge_source.h" 16 #include "components/sync/base/sync_export.h"
17 #include "sync/internal_api/public/base/invalidation_interface.h" 17 #include "components/sync/engine_impl/nudge_source.h"
18 #include "sync/sessions/sync_session.h" 18 #include "components/sync/sessions_impl/sync_session.h"
19 19
20 namespace tracked_objects { 20 namespace tracked_objects {
21 class Location; 21 class Location;
22 } // namespace tracked_objects 22 } // namespace tracked_objects
23 23
24 namespace syncer { 24 namespace syncer {
25 25
26 struct ServerConnectionEvent; 26 struct ServerConnectionEvent;
27 27
28 struct SYNC_EXPORT ConfigurationParams { 28 struct SYNC_EXPORT ConfigurationParams {
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 // Called when credentials are updated by the user. 150 // Called when credentials are updated by the user.
151 virtual void OnCredentialsUpdated() = 0; 151 virtual void OnCredentialsUpdated() = 0;
152 152
153 // Called when the network layer detects a connection status change. 153 // Called when the network layer detects a connection status change.
154 virtual void OnConnectionStatusChange() = 0; 154 virtual void OnConnectionStatusChange() = 0;
155 }; 155 };
156 156
157 } // namespace syncer 157 } // namespace syncer
158 158
159 #endif // SYNC_ENGINE_SYNC_SCHEDULER_H_ 159 #endif // COMPONENTS_SYNC_ENGINE_IMPL_SYNC_SCHEDULER_H_
OLDNEW
« no previous file with comments | « components/sync/engine_impl/sync_engine_event_listener.cc ('k') | components/sync/engine_impl/sync_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698