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

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

Issue 8537003: Cleanup: Remove unneeded forward declarations in chrome/browser/sync. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/profile_sync_service.h ('k') | chrome/browser/sync/syncable/syncable.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 '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.
(...skipping 14 matching lines...) Expand all
25 #include "chrome/browser/sync/sessions/ordered_commit_set.h" 25 #include "chrome/browser/sync/sessions/ordered_commit_set.h"
26 #include "chrome/browser/sync/protocol/sync_protocol_error.h" 26 #include "chrome/browser/sync/protocol/sync_protocol_error.h"
27 #include "chrome/browser/sync/syncable/model_type.h" 27 #include "chrome/browser/sync/syncable/model_type.h"
28 #include "chrome/browser/sync/syncable/model_type_payload_map.h" 28 #include "chrome/browser/sync/syncable/model_type_payload_map.h"
29 #include "chrome/browser/sync/syncable/syncable.h" 29 #include "chrome/browser/sync/syncable/syncable.h"
30 30
31 namespace base { 31 namespace base {
32 class DictionaryValue; 32 class DictionaryValue;
33 } 33 }
34 34
35 namespace syncable {
36 class DirectoryManager;
37 }
38
39 namespace browser_sync { 35 namespace browser_sync {
40 namespace sessions { 36 namespace sessions {
41 37
42 class UpdateProgress; 38 class UpdateProgress;
43 39
44 // A container for the source of a sync session. This includes the update 40 // A container for the source of a sync session. This includes the update
45 // source, the datatypes triggering the sync session, and possible session 41 // source, the datatypes triggering the sync session, and possible session
46 // specific payloads which should be sent to the server. 42 // specific payloads which should be sent to the server.
47 struct SyncSourceInfo { 43 struct SyncSourceInfo {
48 SyncSourceInfo(); 44 SyncSourceInfo();
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 ~PerModelSafeGroupState(); 337 ~PerModelSafeGroupState();
342 338
343 UpdateProgress update_progress; 339 UpdateProgress update_progress;
344 ConflictProgress conflict_progress; 340 ConflictProgress conflict_progress;
345 }; 341 };
346 342
347 } // namespace sessions 343 } // namespace sessions
348 } // namespace browser_sync 344 } // namespace browser_sync
349 345
350 #endif // CHROME_BROWSER_SYNC_SESSIONS_SESSION_STATE_H_ 346 #endif // CHROME_BROWSER_SYNC_SESSIONS_SESSION_STATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service.h ('k') | chrome/browser/sync/syncable/syncable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698