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/driver/sync_service_observer.h" |
18 #include "components/sync/engine/cycle/type_debug_info_observer.h" | 17 #include "components/sync/engine/cycle/type_debug_info_observer.h" |
| 18 #include "components/sync/engine/events/protocol_event_observer.h" |
19 #include "components/sync/js/js_controller.h" | 19 #include "components/sync/js/js_controller.h" |
20 #include "components/sync/js/js_event_handler.h" | 20 #include "components/sync/js/js_event_handler.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 SigninManagerBase; | 23 class SigninManagerBase; |
24 | 24 |
25 namespace browser_sync { | 25 namespace browser_sync { |
26 class ProfileSyncService; | 26 class ProfileSyncService; |
27 } // namespace browser_sync | 27 } // namespace browser_sync |
28 | 28 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 | 122 |
123 // An abstraction of who creates the about sync info value map. | 123 // An abstraction of who creates the about sync info value map. |
124 std::unique_ptr<AboutSyncDataExtractor> about_sync_data_extractor_; | 124 std::unique_ptr<AboutSyncDataExtractor> about_sync_data_extractor_; |
125 | 125 |
126 base::WeakPtrFactory<SyncInternalsMessageHandler> weak_ptr_factory_; | 126 base::WeakPtrFactory<SyncInternalsMessageHandler> weak_ptr_factory_; |
127 | 127 |
128 DISALLOW_COPY_AND_ASSIGN(SyncInternalsMessageHandler); | 128 DISALLOW_COPY_AND_ASSIGN(SyncInternalsMessageHandler); |
129 }; | 129 }; |
130 | 130 |
131 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_MESSAGE_HANDLER_H_ | 131 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_MESSAGE_HANDLER_H_ |
OLD | NEW |