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

Side by Side Diff: sync/engine/sync_scheduler.h

Issue 10534080: sync: move internal_api components used by chrome/browser into internal_api/public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 8 years, 6 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/api/sync_data.cc ('k') | sync/internal_api/base_node.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 // A class to schedule syncer tasks intelligently. 5 // A class to schedule syncer tasks intelligently.
6 #ifndef SYNC_ENGINE_SYNC_SCHEDULER_H_ 6 #ifndef SYNC_ENGINE_SYNC_SCHEDULER_H_
7 #define SYNC_ENGINE_SYNC_SCHEDULER_H_ 7 #define SYNC_ENGINE_SYNC_SCHEDULER_H_
8 #pragma once 8 #pragma once
9 9
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/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "base/memory/linked_ptr.h" 15 #include "base/memory/linked_ptr.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
18 #include "base/observer_list.h" 18 #include "base/observer_list.h"
19 #include "base/time.h" 19 #include "base/time.h"
20 #include "base/timer.h" 20 #include "base/timer.h"
21 #include "sync/engine/net/server_connection_manager.h" 21 #include "sync/engine/net/server_connection_manager.h"
22 #include "sync/engine/nudge_source.h" 22 #include "sync/engine/nudge_source.h"
23 #include "sync/engine/syncer.h" 23 #include "sync/engine/syncer.h"
24 #include "sync/internal_api/public/engine/polling_constants.h" 24 #include "sync/internal_api/public/engine/polling_constants.h"
25 #include "sync/internal_api/public/syncable/model_type_payload_map.h" 25 #include "sync/internal_api/public/syncable/model_type_payload_map.h"
26 #include "sync/internal_api/public/util/weak_handle.h"
26 #include "sync/sessions/sync_session.h" 27 #include "sync/sessions/sync_session.h"
27 #include "sync/sessions/sync_session_context.h" 28 #include "sync/sessions/sync_session_context.h"
28 #include "sync/util/weak_handle.h"
29 29
30 class MessageLoop; 30 class MessageLoop;
31 31
32 namespace tracked_objects { 32 namespace tracked_objects {
33 class Location; 33 class Location;
34 } // namespace tracked_objects 34 } // namespace tracked_objects
35 35
36 namespace browser_sync { 36 namespace browser_sync {
37 37
38 struct ServerConnectionEvent; 38 struct ServerConnectionEvent;
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 scoped_ptr<Syncer> syncer_; 431 scoped_ptr<Syncer> syncer_;
432 432
433 sessions::SyncSessionContext *session_context_; 433 sessions::SyncSessionContext *session_context_;
434 434
435 DISALLOW_COPY_AND_ASSIGN(SyncScheduler); 435 DISALLOW_COPY_AND_ASSIGN(SyncScheduler);
436 }; 436 };
437 437
438 } // namespace browser_sync 438 } // namespace browser_sync
439 439
440 #endif // SYNC_ENGINE_SYNC_SCHEDULER_H_ 440 #endif // SYNC_ENGINE_SYNC_SCHEDULER_H_
OLDNEW
« no previous file with comments | « sync/api/sync_data.cc ('k') | sync/internal_api/base_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698