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

Side by Side Diff: components/sync/driver/glue/sync_backend_host.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_DRIVER_GLUE_SYNC_BACKEND_HOST_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_
6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_ 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/threading/thread.h" 14 #include "base/threading/thread.h"
15 #include "components/sync/base/model_type.h" 15 #include "components/sync/base/model_type.h"
16 #include "components/sync/base/weak_handle.h" 16 #include "components/sync/base/weak_handle.h"
17 #include "components/sync/driver/backend_data_type_configurer.h" 17 #include "components/sync/driver/backend_data_type_configurer.h"
18 #include "components/sync/engine/configure_reason.h" 18 #include "components/sync/engine/configure_reason.h"
19 #include "components/sync/engine/cycle/sync_cycle_snapshot.h" 19 #include "components/sync/engine/cycle/sync_cycle_snapshot.h"
20 #include "components/sync/engine/shutdown_reason.h" 20 #include "components/sync/engine/shutdown_reason.h"
21 #include "components/sync/engine/sync_manager.h" 21 #include "components/sync/engine/sync_manager.h"
22 #include "components/sync/engine/sync_manager_factory.h" 22 #include "components/sync/engine/sync_manager_factory.h"
23 23
24 class GURL; 24 class GURL;
25 25
26 namespace base {
27 class MessageLoop;
28 } // namespace base
29
30 namespace syncer { 26 namespace syncer {
31 27
32 class CancelationSignal; 28 class CancelationSignal;
33 class ChangeProcessor;
34 class HttpPostProviderFactory; 29 class HttpPostProviderFactory;
35 class SyncFrontend; 30 class SyncFrontend;
36 class SyncManagerFactory; 31 class SyncManagerFactory;
37 class UnrecoverableErrorHandler; 32 class UnrecoverableErrorHandler;
38 33
39 // An API to "host" the top level SyncAPI element. 34 // An API to "host" the top level SyncAPI element.
40 // 35 //
41 // This class handles dispatch of potentially blocking calls to appropriate 36 // This class handles dispatch of potentially blocking calls to appropriate
42 // threads and ensures that the SyncFrontend is only accessed on the UI loop. 37 // threads and ensures that the SyncFrontend is only accessed on the UI loop.
43 class SyncBackendHost : public BackendDataTypeConfigurer { 38 class SyncBackendHost : public BackendDataTypeConfigurer {
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // See SyncManager::OnCookieJarChanged. 198 // See SyncManager::OnCookieJarChanged.
204 virtual void OnCookieJarChanged(bool account_mismatch, bool empty_jar) = 0; 199 virtual void OnCookieJarChanged(bool account_mismatch, bool empty_jar) = 0;
205 200
206 private: 201 private:
207 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); 202 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost);
208 }; 203 };
209 204
210 } // namespace syncer 205 } // namespace syncer
211 206
212 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_ 207 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_
OLDNEW
« no previous file with comments | « components/sync/driver/generic_change_processor_factory.h ('k') | components/sync/driver/glue/sync_backend_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698