| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 | 10 |
| 11 #include <map> | 11 #include <map> |
| 12 | 12 |
| 13 #include "base/atomicops.h" | 13 #include "base/atomicops.h" |
| 14 #include "base/lock.h" | 14 #include "base/lock.h" |
| 15 #include "base/scoped_ptr.h" | 15 #include "base/scoped_ptr.h" |
| 16 #include "chrome/browser/sync/engine/syncer_status.h" | |
| 17 #include "chrome/browser/sync/util/event_sys.h" | 16 #include "chrome/browser/sync/util/event_sys.h" |
| 18 | 17 |
| 19 namespace browser_sync { | 18 namespace browser_sync { |
| 20 | 19 |
| 21 class AuthWatcher; | 20 class AuthWatcher; |
| 22 class GaiaAuthenticator; | 21 class GaiaAuthenticator; |
| 23 class ScopedStatusLockWithNotify; | 22 class ScopedStatusLockWithNotify; |
| 24 class ServerConnectionManager; | 23 class ServerConnectionManager; |
| 25 class Syncer; | 24 class Syncer; |
| 26 class SyncerThread; | 25 class SyncerThread; |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 void NotifyOverQuota(); | 200 void NotifyOverQuota(); |
| 202 protected: | 201 protected: |
| 203 AllStatusEvent event_; | 202 AllStatusEvent event_; |
| 204 AllStatus* const allstatus_; | 203 AllStatus* const allstatus_; |
| 205 StatusNotifyPlan plan_; | 204 StatusNotifyPlan plan_; |
| 206 }; | 205 }; |
| 207 | 206 |
| 208 } // namespace browser_sync | 207 } // namespace browser_sync |
| 209 | 208 |
| 210 #endif // CHROME_BROWSER_SYNC_ENGINE_ALL_STATUS_H_ | 209 #endif // CHROME_BROWSER_SYNC_ENGINE_ALL_STATUS_H_ |
| OLD | NEW |