OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_HANDLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/cancelable_callback.h" | 12 #include "base/cancelable_callback.h" |
13 #include "base/prefs/pref_member.h" | 13 #include "base/prefs/pref_member.h" |
14 #include "chrome/browser/local_discovery/cloud_device_list.h" | 14 #include "chrome/browser/local_discovery/cloud_device_list.h" |
15 #include "chrome/browser/local_discovery/cloud_print_printer_list.h" | 15 #include "chrome/browser/local_discovery/cloud_print_printer_list.h" |
16 #include "chrome/browser/local_discovery/privet_device_lister.h" | 16 #include "chrome/browser/local_discovery/privet_device_lister.h" |
17 #include "chrome/browser/local_discovery/privet_http.h" | 17 #include "chrome/browser/local_discovery/privet_http.h" |
18 #include "chrome/browser/local_discovery/privetv3_setup_flow.h" | 18 #include "chrome/browser/local_discovery/privetv3_setup_flow.h" |
19 #include "components/signin/core/browser/signin_manager.h" | 19 #include "components/signin/core/browser/signin_manager.h" |
20 #include "content/public/browser/web_ui_message_handler.h" | 20 #include "content/public/browser/web_ui_message_handler.h" |
21 | 21 |
22 #if defined(ENABLE_FULL_PRINTING) && !defined(OS_CHROMEOS) | 22 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OS_CHROMEOS) |
23 #define CLOUD_PRINT_CONNECTOR_UI_AVAILABLE | 23 #define CLOUD_PRINT_CONNECTOR_UI_AVAILABLE |
24 #endif | 24 #endif |
25 | 25 |
26 #if defined(ENABLE_WIFI_BOOTSTRAPPING) | 26 #if defined(ENABLE_WIFI_BOOTSTRAPPING) |
27 #include "chrome/browser/local_discovery/wifi/bootstrapping_device_lister.h" | 27 #include "chrome/browser/local_discovery/wifi/bootstrapping_device_lister.h" |
28 #include "chrome/browser/local_discovery/wifi/wifi_manager.h" | 28 #include "chrome/browser/local_discovery/wifi/wifi_manager.h" |
29 #endif | 29 #endif |
30 | 30 |
31 // TODO(noamsml): Factor out full registration flow into single class | 31 // TODO(noamsml): Factor out full registration flow into single class |
32 namespace local_discovery { | 32 namespace local_discovery { |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 scoped_ptr<wifi::BootstrappingDeviceLister> bootstrapping_device_lister_; | 228 scoped_ptr<wifi::BootstrappingDeviceLister> bootstrapping_device_lister_; |
229 #endif | 229 #endif |
230 | 230 |
231 DISALLOW_COPY_AND_ASSIGN(LocalDiscoveryUIHandler); | 231 DISALLOW_COPY_AND_ASSIGN(LocalDiscoveryUIHandler); |
232 }; | 232 }; |
233 | 233 |
234 #undef CLOUD_PRINT_CONNECTOR_UI_AVAILABLE | 234 #undef CLOUD_PRINT_CONNECTOR_UI_AVAILABLE |
235 | 235 |
236 } // namespace local_discovery | 236 } // namespace local_discovery |
237 #endif // CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_HANDLER_H_ | 237 #endif // CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_HANDLER_H_ |
OLD | NEW |