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

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

Issue 7633077: Refactor syncapi.h (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: This patch has compiled from a clean build Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/sync/engine/read_node_mock.cc ('k') | chrome/browser/sync/engine/syncapi.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_SYNC_ENGINE_SYNC_SCHEDULER_H_ 6 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNC_SCHEDULER_H_
7 #define CHROME_BROWSER_SYNC_ENGINE_SYNC_SCHEDULER_H_ 7 #define CHROME_BROWSER_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/observer_list.h" 17 #include "base/observer_list.h"
18 #include "base/task.h" 18 #include "base/task.h"
19 #include "base/time.h" 19 #include "base/time.h"
20 #include "base/timer.h" 20 #include "base/timer.h"
21 #include "chrome/browser/sync/engine/configure_reason.h" 21 #include "chrome/browser/sync/engine/configure_reason.h"
22 #include "chrome/browser/sync/engine/net/server_connection_manager.h"
22 #include "chrome/browser/sync/engine/nudge_source.h" 23 #include "chrome/browser/sync/engine/nudge_source.h"
23 #include "chrome/browser/sync/engine/polling_constants.h" 24 #include "chrome/browser/sync/engine/polling_constants.h"
24 #include "chrome/browser/sync/engine/syncapi.h"
25 #include "chrome/browser/sync/engine/syncer.h" 25 #include "chrome/browser/sync/engine/syncer.h"
26 #include "chrome/browser/sync/sessions/sync_session_context.h"
27 #include "chrome/browser/sync/sessions/sync_session.h"
26 #include "chrome/browser/sync/syncable/model_type_payload_map.h" 28 #include "chrome/browser/sync/syncable/model_type_payload_map.h"
27 #include "chrome/browser/sync/engine/net/server_connection_manager.h"
28 #include "chrome/browser/sync/sessions/sync_session.h"
29 #include "chrome/browser/sync/sessions/sync_session_context.h"
30 29
31 class MessageLoop; 30 class MessageLoop;
32 31
33 namespace tracked_objects { 32 namespace tracked_objects {
34 class Location; 33 class Location;
35 } // namespace tracked_objects 34 } // namespace tracked_objects
36 35
37 namespace browser_sync { 36 namespace browser_sync {
38 37
39 struct ServerConnectionEvent; 38 struct ServerConnectionEvent;
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 scoped_ptr<Syncer> syncer_; 393 scoped_ptr<Syncer> syncer_;
395 394
396 scoped_ptr<sessions::SyncSessionContext> session_context_; 395 scoped_ptr<sessions::SyncSessionContext> session_context_;
397 396
398 DISALLOW_COPY_AND_ASSIGN(SyncScheduler); 397 DISALLOW_COPY_AND_ASSIGN(SyncScheduler);
399 }; 398 };
400 399
401 } // namespace browser_sync 400 } // namespace browser_sync
402 401
403 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNC_SCHEDULER_H_ 402 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNC_SCHEDULER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/read_node_mock.cc ('k') | chrome/browser/sync/engine/syncapi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698