| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/file_path.h" | 15 #include "base/file_path.h" |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 18 #include "base/threading/thread.h" | 18 #include "base/threading/thread.h" |
| 19 #include "base/timer.h" | 19 #include "base/timer.h" |
| 20 #include "chrome/browser/sync/engine/configure_reason.h" | |
| 21 #include "chrome/browser/sync/engine/model_safe_worker.h" | 20 #include "chrome/browser/sync/engine/model_safe_worker.h" |
| 21 #include "chrome/browser/sync/internal_api/configure_reason.h" |
| 22 #include "chrome/browser/sync/internal_api/sync_manager.h" | 22 #include "chrome/browser/sync/internal_api/sync_manager.h" |
| 23 #include "chrome/browser/sync/notifier/sync_notifier_factory.h" | 23 #include "chrome/browser/sync/notifier/sync_notifier_factory.h" |
| 24 #include "chrome/browser/sync/syncable/model_type.h" | 24 #include "chrome/browser/sync/syncable/model_type.h" |
| 25 #include "chrome/browser/sync/weak_handle.h" | 25 #include "chrome/browser/sync/weak_handle.h" |
| 26 #include "chrome/common/net/gaia/google_service_auth_error.h" | 26 #include "chrome/common/net/gaia/google_service_auth_error.h" |
| 27 #include "googleurl/src/gurl.h" | 27 #include "googleurl/src/gurl.h" |
| 28 #include "net/url_request/url_request_context_getter.h" | 28 #include "net/url_request/url_request_context_getter.h" |
| 29 | 29 |
| 30 class MessageLoop; | 30 class MessageLoop; |
| 31 class Profile; | 31 class Profile; |
| (...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 | 543 |
| 544 // UI-thread cache of the last SyncSessionSnapshot received from syncapi. | 544 // UI-thread cache of the last SyncSessionSnapshot received from syncapi. |
| 545 scoped_ptr<sessions::SyncSessionSnapshot> last_snapshot_; | 545 scoped_ptr<sessions::SyncSessionSnapshot> last_snapshot_; |
| 546 | 546 |
| 547 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); | 547 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); |
| 548 }; | 548 }; |
| 549 | 549 |
| 550 } // namespace browser_sync | 550 } // namespace browser_sync |
| 551 | 551 |
| 552 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ | 552 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ |
| OLD | NEW |