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

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

Issue 10700154: Remove #pragma once from sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/ordered_commit_set.h ('k') | sync/sessions/status_controller.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 // The 'sessions' namespace comprises all the pieces of state that are 5 // The 'sessions' namespace comprises all the pieces of state that are
6 // combined to form a SyncSession instance. In that way, it can be thought of 6 // combined to form a SyncSession instance. In that way, it can be thought of
7 // as an extension of the SyncSession type itself. Session scoping gives 7 // as an extension of the SyncSession type itself. Session scoping gives
8 // context to things like "conflict progress", "update progress", etc, and the 8 // context to things like "conflict progress", "update progress", etc, and the
9 // separation this file provides allows clients to only include the parts they 9 // separation this file provides allows clients to only include the parts they
10 // need rather than the entire session stack. 10 // need rather than the entire session stack.
11 11
12 #ifndef SYNC_SESSIONS_SESSION_STATE_H_ 12 #ifndef SYNC_SESSIONS_SESSION_STATE_H_
13 #define SYNC_SESSIONS_SESSION_STATE_H_ 13 #define SYNC_SESSIONS_SESSION_STATE_H_
14 #pragma once
15 14
16 #include <set> 15 #include <set>
17 #include <vector> 16 #include <vector>
18 17
19 #include "sync/engine/syncer_types.h" 18 #include "sync/engine/syncer_types.h"
20 #include "sync/engine/syncproto.h" 19 #include "sync/engine/syncproto.h"
21 #include "sync/syncable/syncable_id.h" 20 #include "sync/syncable/syncable_id.h"
22 21
23 namespace syncer { 22 namespace syncer {
24 namespace sessions { 23 namespace sessions {
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 ~PerModelSafeGroupState(); 124 ~PerModelSafeGroupState();
126 125
127 UpdateProgress update_progress; 126 UpdateProgress update_progress;
128 ConflictProgress conflict_progress; 127 ConflictProgress conflict_progress;
129 }; 128 };
130 129
131 } // namespace sessions 130 } // namespace sessions
132 } // namespace syncer 131 } // namespace syncer
133 132
134 #endif // SYNC_SESSIONS_SESSION_STATE_H_ 133 #endif // SYNC_SESSIONS_SESSION_STATE_H_
OLDNEW
« no previous file with comments | « sync/sessions/ordered_commit_set.h ('k') | sync/sessions/status_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698