OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "base/threading/thread.h" | 17 #include "base/threading/thread.h" |
18 #include "chrome/browser/sync/glue/backend_data_type_configurer.h" | 18 #include "chrome/browser/sync/glue/backend_data_type_configurer.h" |
19 #include "chrome/browser/sync/glue/chrome_extensions_activity_monitor.h" | 19 #include "chrome/browser/sync/glue/chrome_extensions_activity_monitor.h" |
20 #include "chrome/browser/sync/glue/chrome_sync_notification_bridge.h" | 20 #include "chrome/browser/sync/glue/chrome_sync_notification_bridge.h" |
21 #include "chrome/browser/sync/internal_api/configure_reason.h" | |
22 #include "chrome/browser/sync/internal_api/sync_manager.h" | |
23 #include "chrome/common/net/gaia/google_service_auth_error.h" | 21 #include "chrome/common/net/gaia/google_service_auth_error.h" |
24 #include "googleurl/src/gurl.h" | 22 #include "googleurl/src/gurl.h" |
25 #include "sync/engine/model_safe_worker.h" | 23 #include "sync/engine/model_safe_worker.h" |
| 24 #include "sync/internal_api/configure_reason.h" |
| 25 #include "sync/internal_api/sync_manager.h" |
26 #include "sync/notifier/sync_notifier_factory.h" | 26 #include "sync/notifier/sync_notifier_factory.h" |
27 #include "sync/protocol/encryption.pb.h" | 27 #include "sync/protocol/encryption.pb.h" |
28 #include "sync/protocol/sync_protocol_error.h" | 28 #include "sync/protocol/sync_protocol_error.h" |
29 #include "sync/syncable/model_type.h" | 29 #include "sync/syncable/model_type.h" |
30 #include "sync/util/report_unrecoverable_error_function.h" | 30 #include "sync/util/report_unrecoverable_error_function.h" |
31 #include "sync/util/unrecoverable_error_handler.h" | 31 #include "sync/util/unrecoverable_error_handler.h" |
32 #include "sync/util/weak_handle.h" | 32 #include "sync/util/weak_handle.h" |
33 | 33 |
34 class MessageLoop; | 34 class MessageLoop; |
35 class Profile; | 35 class Profile; |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 | 516 |
517 // UI-thread cache of the last SyncSessionSnapshot received from syncapi. | 517 // UI-thread cache of the last SyncSessionSnapshot received from syncapi. |
518 scoped_ptr<sessions::SyncSessionSnapshot> last_snapshot_; | 518 scoped_ptr<sessions::SyncSessionSnapshot> last_snapshot_; |
519 | 519 |
520 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); | 520 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); |
521 }; | 521 }; |
522 | 522 |
523 } // namespace browser_sync | 523 } // namespace browser_sync |
524 | 524 |
525 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ | 525 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ |
OLD | NEW |