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

Side by Side Diff: components/sync/driver/glue/sync_backend_host_core.h

Issue 2395533003: [Sync] Move some things from driver to base. (Closed)
Patch Set: Rebase. Created 4 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_
6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/timer/timer.h" 17 #include "base/timer/timer.h"
18 #include "components/invalidation/public/invalidation.h" 18 #include "components/invalidation/public/invalidation.h"
19 #include "components/sync/base/cancelation_signal.h" 19 #include "components/sync/base/cancelation_signal.h"
20 #include "components/sync/base/system_encryptor.h"
20 #include "components/sync/core/shutdown_reason.h" 21 #include "components/sync/core/shutdown_reason.h"
21 #include "components/sync/core/sync_encryption_handler.h" 22 #include "components/sync/core/sync_encryption_handler.h"
22 #include "components/sync/driver/glue/sync_backend_host_impl.h" 23 #include "components/sync/driver/glue/sync_backend_host_impl.h"
23 #include "components/sync/driver/system_encryptor.h"
24 #include "components/sync/engine/cycle/type_debug_info_observer.h" 24 #include "components/sync/engine/cycle/type_debug_info_observer.h"
25 #include "url/gurl.h" 25 #include "url/gurl.h"
26 26
27 namespace syncer { 27 namespace syncer {
28 28
29 class SyncBackendHostImpl; 29 class SyncBackendHostImpl;
30 30
31 // Utility struct for holding initialization options. 31 // Utility struct for holding initialization options.
32 struct DoInitializeOptions { 32 struct DoInitializeOptions {
33 DoInitializeOptions( 33 DoInitializeOptions(
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 std::map<ModelType, int64_t> last_invalidation_versions_; 315 std::map<ModelType, int64_t> last_invalidation_versions_;
316 316
317 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_; 317 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_;
318 318
319 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore); 319 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore);
320 }; 320 };
321 321
322 } // namespace syncer 322 } // namespace syncer
323 323
324 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ 324 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698