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

Side by Side Diff: chrome/browser/sync/engine/all_status.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/DEPS ('k') | chrome/browser/sync/engine/change_reorder_buffer.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 // The AllStatus object watches various sync engine components and aggregates 5 // The AllStatus object watches various sync engine components and aggregates
6 // the status of all of them into one place. 6 // the status of all of them into one place.
7 7
8 #ifndef CHROME_BROWSER_SYNC_ENGINE_ALL_STATUS_H_ 8 #ifndef CHROME_BROWSER_SYNC_ENGINE_ALL_STATUS_H_
9 #define CHROME_BROWSER_SYNC_ENGINE_ALL_STATUS_H_ 9 #define CHROME_BROWSER_SYNC_ENGINE_ALL_STATUS_H_
10 #pragma once 10 #pragma once
11 11
12 #include <map> 12 #include <map>
13 13
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
16 #include "chrome/browser/sync/engine/syncapi.h"
17 #include "chrome/browser/sync/engine/syncer_types.h" 16 #include "chrome/browser/sync/engine/syncer_types.h"
17 #include "chrome/browser/sync/internal_api/sync_manager.h"
18 #include "chrome/browser/sync/syncable/model_type.h" 18 #include "chrome/browser/sync/syncable/model_type.h"
19 19
20 namespace browser_sync { 20 namespace browser_sync {
21 21
22 class ScopedStatusLock; 22 class ScopedStatusLock;
23 class ServerConnectionManager; 23 class ServerConnectionManager;
24 class Syncer; 24 class Syncer;
25 class SyncerThread; 25 class SyncerThread;
26 struct AuthWatcherEvent; 26 struct AuthWatcherEvent;
27 struct ServerConnectionEvent; 27 struct ServerConnectionEvent;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 public: 70 public:
71 explicit ScopedStatusLock(AllStatus* allstatus); 71 explicit ScopedStatusLock(AllStatus* allstatus);
72 ~ScopedStatusLock(); 72 ~ScopedStatusLock();
73 protected: 73 protected:
74 AllStatus* allstatus_; 74 AllStatus* allstatus_;
75 }; 75 };
76 76
77 } // namespace browser_sync 77 } // namespace browser_sync
78 78
79 #endif // CHROME_BROWSER_SYNC_ENGINE_ALL_STATUS_H_ 79 #endif // CHROME_BROWSER_SYNC_ENGINE_ALL_STATUS_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/DEPS ('k') | chrome/browser/sync/engine/change_reorder_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698