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

Side by Side Diff: components/sync/sessions_impl/sync_session_context.h

Issue 2245073003: [Sync] Clean up intra-sync DEPS significantly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments/fix test. Created 4 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
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 // SyncSessionContext encapsulates the contextual information and engine 5 // SyncSessionContext encapsulates the contextual information and engine
6 // components specific to a SyncSession. Unlike the SyncSession, the context 6 // components specific to a SyncSession. Unlike the SyncSession, the context
7 // can be reused across several sync cycles. 7 // can be reused across several sync cycles.
8 // 8 //
9 // The context does not take ownership of its pointer members. It's up to 9 // The context does not take ownership of its pointer members. It's up to
10 // the surrounding classes to ensure those members remain valid while the 10 // the surrounding classes to ensure those members remain valid while the
11 // context is in use. 11 // context is in use.
12 // 12 //
13 // It can only be used from the SyncerThread. 13 // It can only be used from the SyncerThread.
14 14
15 #ifndef COMPONENTS_SYNC_SESSIONS_IMPL_SYNC_SESSION_CONTEXT_H_ 15 #ifndef COMPONENTS_SYNC_SESSIONS_IMPL_SYNC_SESSION_CONTEXT_H_
16 #define COMPONENTS_SYNC_SESSIONS_IMPL_SYNC_SESSION_CONTEXT_H_ 16 #define COMPONENTS_SYNC_SESSIONS_IMPL_SYNC_SESSION_CONTEXT_H_
17 17
18 #include <stdint.h> 18 #include <stdint.h>
19 19
20 #include <string> 20 #include <string>
21 #include <vector> 21 #include <vector>
22 22
23 #include "base/macros.h" 23 #include "base/macros.h"
24 #include "components/sync/engine_impl/model_type_registry.h"
24 #include "components/sync/engine_impl/sync_engine_event_listener.h" 25 #include "components/sync/engine_impl/sync_engine_event_listener.h"
25 #include "components/sync/sessions_impl/debug_info_getter.h" 26 #include "components/sync/sessions_impl/debug_info_getter.h"
26 #include "components/sync/sessions_impl/model_type_registry.h"
27 27
28 namespace syncer { 28 namespace syncer {
29 29
30 class ExtensionsActivity; 30 class ExtensionsActivity;
31 class ModelTypeRegistry; 31 class ModelTypeRegistry;
32 class ServerConnectionManager; 32 class ServerConnectionManager;
33 33
34 namespace syncable { 34 namespace syncable {
35 class Directory; 35 class Directory;
36 } 36 }
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // If there's a cookie jar mismatch, whether the cookie jar was empty or not. 184 // If there's a cookie jar mismatch, whether the cookie jar was empty or not.
185 bool cookie_jar_empty_; 185 bool cookie_jar_empty_;
186 186
187 DISALLOW_COPY_AND_ASSIGN(SyncSessionContext); 187 DISALLOW_COPY_AND_ASSIGN(SyncSessionContext);
188 }; 188 };
189 189
190 } // namespace sessions 190 } // namespace sessions
191 } // namespace syncer 191 } // namespace syncer
192 192
193 #endif // COMPONENTS_SYNC_SESSIONS_IMPL_SYNC_SESSION_CONTEXT_H_ 193 #endif // COMPONENTS_SYNC_SESSIONS_IMPL_SYNC_SESSION_CONTEXT_H_
OLDNEW
« no previous file with comments | « components/sync/sessions_impl/model_type_registry_unittest.cc ('k') | components/sync/sync_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698