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_PROFILE_SYNC_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_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/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/location.h" |
14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
16 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
17 #include "base/string16.h" | 18 #include "base/string16.h" |
18 #include "base/task.h" | 19 #include "base/task.h" |
19 #include "base/time.h" | 20 #include "base/time.h" |
20 #include "base/timer.h" | 21 #include "base/timer.h" |
21 #include "base/tracked.h" | |
22 #include "chrome/browser/prefs/pref_member.h" | 22 #include "chrome/browser/prefs/pref_member.h" |
23 #include "chrome/browser/sync/engine/model_safe_worker.h" | 23 #include "chrome/browser/sync/engine/model_safe_worker.h" |
24 #include "chrome/browser/sync/glue/data_type_controller.h" | 24 #include "chrome/browser/sync/glue/data_type_controller.h" |
25 #include "chrome/browser/sync/glue/sync_backend_host.h" | 25 #include "chrome/browser/sync/glue/sync_backend_host.h" |
26 #include "chrome/browser/sync/internal_api/sync_manager.h" | 26 #include "chrome/browser/sync/internal_api/sync_manager.h" |
27 #include "chrome/browser/sync/profile_sync_service_observer.h" | 27 #include "chrome/browser/sync/profile_sync_service_observer.h" |
28 #include "chrome/browser/sync/syncable/model_type.h" | 28 #include "chrome/browser/sync/syncable/model_type.h" |
29 #include "chrome/browser/sync/sync_js_controller.h" | 29 #include "chrome/browser/sync/sync_js_controller.h" |
30 #include "chrome/browser/sync/sync_setup_wizard.h" | 30 #include "chrome/browser/sync/sync_setup_wizard.h" |
31 #include "chrome/browser/sync/unrecoverable_error_handler.h" | 31 #include "chrome/browser/sync/unrecoverable_error_handler.h" |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 browser_sync::SyncProtocolError last_actionable_error_; | 674 browser_sync::SyncProtocolError last_actionable_error_; |
675 | 675 |
676 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); | 676 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); |
677 }; | 677 }; |
678 | 678 |
679 bool ShouldShowActionOnUI( | 679 bool ShouldShowActionOnUI( |
680 const browser_sync::SyncProtocolError& error); | 680 const browser_sync::SyncProtocolError& error); |
681 | 681 |
682 | 682 |
683 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 683 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
OLD | NEW |