| 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/common/net/gaia/google_service_auth_error.h" | 21 #include "chrome/common/net/gaia/google_service_auth_error.h" |
| 22 #include "googleurl/src/gurl.h" | 22 #include "googleurl/src/gurl.h" |
| 23 #include "sync/internal_api/public/base/model_type.h" |
| 23 #include "sync/internal_api/public/configure_reason.h" | 24 #include "sync/internal_api/public/configure_reason.h" |
| 24 #include "sync/internal_api/public/engine/model_safe_worker.h" | 25 #include "sync/internal_api/public/engine/model_safe_worker.h" |
| 25 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" | 26 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" |
| 26 #include "sync/internal_api/public/sync_manager.h" | 27 #include "sync/internal_api/public/sync_manager.h" |
| 27 #include "sync/internal_api/public/syncable/model_type.h" | |
| 28 #include "sync/internal_api/public/util/report_unrecoverable_error_function.h" | 28 #include "sync/internal_api/public/util/report_unrecoverable_error_function.h" |
| 29 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" | 29 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" |
| 30 #include "sync/internal_api/public/util/weak_handle.h" | 30 #include "sync/internal_api/public/util/weak_handle.h" |
| 31 #include "sync/notifier/sync_notifier_factory.h" | 31 #include "sync/notifier/sync_notifier_factory.h" |
| 32 #include "sync/protocol/encryption.pb.h" | 32 #include "sync/protocol/encryption.pb.h" |
| 33 #include "sync/protocol/sync_protocol_error.h" | 33 #include "sync/protocol/sync_protocol_error.h" |
| 34 | 34 |
| 35 class MessageLoop; | 35 class MessageLoop; |
| 36 class Profile; | 36 class Profile; |
| 37 | 37 |
| (...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 | 517 |
| 518 // UI-thread cache of the last SyncSessionSnapshot received from syncapi. | 518 // UI-thread cache of the last SyncSessionSnapshot received from syncapi. |
| 519 syncer::sessions::SyncSessionSnapshot last_snapshot_; | 519 syncer::sessions::SyncSessionSnapshot last_snapshot_; |
| 520 | 520 |
| 521 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); | 521 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); |
| 522 }; | 522 }; |
| 523 | 523 |
| 524 } // namespace browser_sync | 524 } // namespace browser_sync |
| 525 | 525 |
| 526 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ | 526 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ |
| OLD | NEW |