OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UI_WEBUI_SYNC_INTERNALS_MESSAGE_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_MESSAGE_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_MESSAGE_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_MESSAGE_HANDLER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/scoped_observer.h" | 14 #include "base/scoped_observer.h" |
15 #include "base/values.h" | 15 #include "base/values.h" |
| 16 #include "components/sync/driver/protocol_event_observer.h" |
| 17 #include "components/sync/driver/sync_service_observer.h" |
16 #include "components/sync/js/js_controller.h" | 18 #include "components/sync/js/js_controller.h" |
17 #include "components/sync/js/js_event_handler.h" | 19 #include "components/sync/js/js_event_handler.h" |
18 #include "components/sync/sessions/type_debug_info_observer.h" | 20 #include "components/sync/sessions/type_debug_info_observer.h" |
19 #include "components/sync_driver/protocol_event_observer.h" | |
20 #include "components/sync_driver/sync_service_observer.h" | |
21 #include "content/public/browser/web_ui_message_handler.h" | 21 #include "content/public/browser/web_ui_message_handler.h" |
22 | 22 |
23 class ProfileSyncService; | 23 class ProfileSyncService; |
24 class SigninManagerBase; | 24 class SigninManagerBase; |
25 | 25 |
26 namespace sync_driver { | 26 namespace sync_driver { |
27 class SyncService; | 27 class SyncService; |
28 } // namespace sync_driver | 28 } // namespace sync_driver |
29 | 29 |
30 // Interface to abstract away the creation of the about-sync value dictionary. | 30 // Interface to abstract away the creation of the about-sync value dictionary. |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 119 |
120 // An abstraction of who creates the about sync info value map. | 120 // An abstraction of who creates the about sync info value map. |
121 std::unique_ptr<AboutSyncDataExtractor> about_sync_data_extractor_; | 121 std::unique_ptr<AboutSyncDataExtractor> about_sync_data_extractor_; |
122 | 122 |
123 base::WeakPtrFactory<SyncInternalsMessageHandler> weak_ptr_factory_; | 123 base::WeakPtrFactory<SyncInternalsMessageHandler> weak_ptr_factory_; |
124 | 124 |
125 DISALLOW_COPY_AND_ASSIGN(SyncInternalsMessageHandler); | 125 DISALLOW_COPY_AND_ASSIGN(SyncInternalsMessageHandler); |
126 }; | 126 }; |
127 | 127 |
128 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_MESSAGE_HANDLER_H_ | 128 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_MESSAGE_HANDLER_H_ |
OLD | NEW |