| 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/macros.h" | 12 #include "base/macros.h" |
| 13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 14 #include "chrome/browser/printing/cloud_print/cloud_print_printer_list.h" | 14 #include "chrome/browser/printing/cloud_print/cloud_print_printer_list.h" |
| 15 #include "chrome/browser/printing/cloud_print/privet_device_lister.h" | 15 #include "chrome/browser/printing/cloud_print/privet_device_lister.h" |
| 16 #include "chrome/browser/printing/cloud_print/privet_http.h" | 16 #include "chrome/browser/printing/cloud_print/privet_http.h" |
| 17 #include "components/signin/core/browser/signin_manager.h" | 17 #include "components/signin/core/browser/signin_manager.h" |
| 18 #include "content/public/browser/web_ui_message_handler.h" | 18 #include "content/public/browser/web_ui_message_handler.h" |
| 19 #include "printing/features/features.h" |
| 19 | 20 |
| 20 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OS_CHROMEOS) | 21 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OS_CHROMEOS) |
| 21 #define CLOUD_PRINT_CONNECTOR_UI_AVAILABLE | 22 #define CLOUD_PRINT_CONNECTOR_UI_AVAILABLE |
| 22 #endif | 23 #endif |
| 23 | 24 |
| 24 class CloudPrintProxyService; | 25 class CloudPrintProxyService; |
| 25 | 26 |
| 26 namespace cloud_print { | 27 namespace cloud_print { |
| 27 class PrivetHTTPAsynchronousFactory; | 28 class PrivetHTTPAsynchronousFactory; |
| 28 class PrivetHTTPResolution; | 29 class PrivetHTTPResolution; |
| 29 class PrivetV1HTTPClient; | 30 class PrivetV1HTTPClient; |
| 30 } | 31 } |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 #endif | 201 #endif |
| 201 | 202 |
| 202 DISALLOW_COPY_AND_ASSIGN(LocalDiscoveryUIHandler); | 203 DISALLOW_COPY_AND_ASSIGN(LocalDiscoveryUIHandler); |
| 203 }; | 204 }; |
| 204 | 205 |
| 205 #undef CLOUD_PRINT_CONNECTOR_UI_AVAILABLE | 206 #undef CLOUD_PRINT_CONNECTOR_UI_AVAILABLE |
| 206 | 207 |
| 207 } // namespace local_discovery | 208 } // namespace local_discovery |
| 208 | 209 |
| 209 #endif // CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_HANDLER_H_ | 210 #endif // CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_HANDLER_H_ |
| OLD | NEW |