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

Side by Side Diff: components/sync/engine_impl/sync_manager_impl.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_SYNC_MANAGER_IMPL_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_SYNC_MANAGER_IMPL_H_
6 #define COMPONENTS_SYNC_ENGINE_IMPL_SYNC_MANAGER_IMPL_H_ 6 #define COMPONENTS_SYNC_ENGINE_IMPL_SYNC_MANAGER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 15 matching lines...) Expand all
26 #include "components/sync/engine_impl/net/server_connection_manager.h" 26 #include "components/sync/engine_impl/net/server_connection_manager.h"
27 #include "components/sync/engine_impl/nudge_handler.h" 27 #include "components/sync/engine_impl/nudge_handler.h"
28 #include "components/sync/engine_impl/sync_encryption_handler_impl.h" 28 #include "components/sync/engine_impl/sync_encryption_handler_impl.h"
29 #include "components/sync/engine_impl/sync_engine_event_listener.h" 29 #include "components/sync/engine_impl/sync_engine_event_listener.h"
30 #include "components/sync/js/js_backend.h" 30 #include "components/sync/js/js_backend.h"
31 #include "components/sync/syncable/change_reorder_buffer.h" 31 #include "components/sync/syncable/change_reorder_buffer.h"
32 #include "components/sync/syncable/directory_change_delegate.h" 32 #include "components/sync/syncable/directory_change_delegate.h"
33 #include "components/sync/syncable/user_share.h" 33 #include "components/sync/syncable/user_share.h"
34 #include "net/base/network_change_notifier.h" 34 #include "net/base/network_change_notifier.h"
35 35
36 class GURL;
37
38 namespace syncer { 36 namespace syncer {
39 37
40 class ModelTypeRegistry; 38 class ModelTypeRegistry;
41 class SyncCycleContext; 39 class SyncCycleContext;
42 class TypeDebugInfoObserver; 40 class TypeDebugInfoObserver;
43 class WriteNode;
44 class WriteTransaction;
45 41
46 // SyncManager encapsulates syncable::Directory and serves as the parent of all 42 // SyncManager encapsulates syncable::Directory and serves as the parent of all
47 // other objects in the sync API. If multiple threads interact with the same 43 // other objects in the sync API. If multiple threads interact with the same
48 // local sync repository (i.e. the same sqlite database), they should share a 44 // local sync repository (i.e. the same sqlite database), they should share a
49 // single SyncManager instance. The caller should typically create one 45 // single SyncManager instance. The caller should typically create one
50 // SyncManager for the lifetime of a user session. 46 // SyncManager for the lifetime of a user session.
51 // 47 //
52 // Unless stated otherwise, all methods of SyncManager should be called on the 48 // Unless stated otherwise, all methods of SyncManager should be called on the
53 // same thread. 49 // same thread.
54 class SyncManagerImpl 50 class SyncManagerImpl
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 std::unique_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; 331 std::unique_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_;
336 332
337 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; 333 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_;
338 334
339 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); 335 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl);
340 }; 336 };
341 337
342 } // namespace syncer 338 } // namespace syncer
343 339
344 #endif // COMPONENTS_SYNC_ENGINE_IMPL_SYNC_MANAGER_IMPL_H_ 340 #endif // COMPONENTS_SYNC_ENGINE_IMPL_SYNC_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « components/sync/engine_impl/sync_cycle_event.h ('k') | components/sync/engine_impl/sync_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698