Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4633)

Unified Diff: chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h

Issue 23475049: Replace includes with forward declarations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h
diff --git a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h
index 3bf6fce1769d6c8d3763ce32893e0ab4569e33be..cbcebcb9b433d9f05b03a9faa6e23f6929ddd3db 100644
--- a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h
+++ b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h
@@ -10,21 +10,19 @@
#include <vector>
#include "base/cancelable_callback.h"
-#include "chrome/browser/local_discovery/cloud_print_account_manager.h"
#include "chrome/browser/local_discovery/cloud_print_printer_list.h"
-#include "chrome/browser/local_discovery/privet_confirm_api_flow.h"
-#include "chrome/browser/local_discovery/privet_constants.h"
#include "chrome/browser/local_discovery/privet_device_lister.h"
#include "chrome/browser/local_discovery/privet_http.h"
-#include "chrome/browser/local_discovery/privet_http_asynchronous_factory.h"
-#include "chrome/browser/local_discovery/service_discovery_host_client.h"
-#include "chrome/common/local_discovery/service_discovery_client.h"
-#include "content/public/browser/user_metrics.h"
#include "content/public/browser/web_ui_message_handler.h"
// TODO(noamsml): Factor out full registration flow into single class
namespace local_discovery {
+class PrivetConfirmApiCallFlow;
+class PrivetHTTPAsynchronousFactory;
+class PrivetHTTPResolution;
+class ServiceDiscoveryHostClient;
+
// UI Handler for chrome://devices/
// It listens to local discovery notifications and passes those notifications
// into the Javascript to update the page.
@@ -165,7 +163,7 @@ class LocalDiscoveryUIHandler : public content::WebUIMessageHandler,
scoped_ptr<PrivetHTTPAsynchronousFactory> privet_http_factory_;
// An object representing the resolution process for the privet_http_factory.
- scoped_ptr<PrivetHTTPAsynchronousFactory::Resolution> privet_resolution_;
+ scoped_ptr<PrivetHTTPResolution> privet_resolution_;
// A map of current device descriptions provided by the PrivetDeviceLister.
DeviceDescriptionMap device_descriptions_;

Powered by Google App Engine
This is Rietveld 408576698