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

Side by Side Diff: sync/sessions/status_controller.h

Issue 18031009: Use a direct include of time headers in rlz/, skia/, sql/, sync/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/sessions/data_type_tracker.h ('k') | sync/sessions/sync_session.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 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 // StatusController handles all counter and status related number crunching and 5 // StatusController handles all counter and status related number crunching and
6 // state tracking on behalf of a SyncSession. 6 // state tracking on behalf of a SyncSession.
7 // 7 //
8 // The most important feature of StatusController is the 8 // The most important feature of StatusController is the
9 // ScopedModelSafeGroupRestriction. Some of its functions expose per-thread 9 // ScopedModelSafeGroupRestriction. Some of its functions expose per-thread
10 // state, and can be called only when the restriction is in effect. For 10 // state, and can be called only when the restriction is in effect. For
(...skipping 15 matching lines...) Expand all
26 // notifications if no changes occurred. 26 // notifications if no changes occurred.
27 27
28 #ifndef SYNC_SESSIONS_STATUS_CONTROLLER_H_ 28 #ifndef SYNC_SESSIONS_STATUS_CONTROLLER_H_
29 #define SYNC_SESSIONS_STATUS_CONTROLLER_H_ 29 #define SYNC_SESSIONS_STATUS_CONTROLLER_H_
30 30
31 #include <map> 31 #include <map>
32 #include <vector> 32 #include <vector>
33 33
34 #include "base/logging.h" 34 #include "base/logging.h"
35 #include "base/stl_util.h" 35 #include "base/stl_util.h"
36 #include "base/time.h" 36 #include "base/time/time.h"
37 #include "sync/base/sync_export.h" 37 #include "sync/base/sync_export.h"
38 #include "sync/internal_api/public/sessions/model_neutral_state.h" 38 #include "sync/internal_api/public/sessions/model_neutral_state.h"
39 #include "sync/sessions/ordered_commit_set.h" 39 #include "sync/sessions/ordered_commit_set.h"
40 40
41 namespace syncer { 41 namespace syncer {
42 namespace sessions { 42 namespace sessions {
43 43
44 class SYNC_EXPORT_PRIVATE StatusController { 44 class SYNC_EXPORT_PRIVATE StatusController {
45 public: 45 public:
46 explicit StatusController(); 46 explicit StatusController();
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 } 184 }
185 private: 185 private:
186 StatusController* status_; 186 StatusController* status_;
187 DISALLOW_COPY_AND_ASSIGN(ScopedModelSafeGroupRestriction); 187 DISALLOW_COPY_AND_ASSIGN(ScopedModelSafeGroupRestriction);
188 }; 188 };
189 189
190 } // namespace sessions 190 } // namespace sessions
191 } // namespace syncer 191 } // namespace syncer
192 192
193 #endif // SYNC_SESSIONS_STATUS_CONTROLLER_H_ 193 #endif // SYNC_SESSIONS_STATUS_CONTROLLER_H_
OLDNEW
« no previous file with comments | « sync/sessions/data_type_tracker.h ('k') | sync/sessions/sync_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698