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

Unified Diff: chrome/browser/local_discovery/privet_notifications.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/local_discovery/privet_notifications.h
diff --git a/chrome/browser/local_discovery/privet_notifications.h b/chrome/browser/local_discovery/privet_notifications.h
index 2b1a46ba519db1fec12c288e0fbce43df9ef5c01..16f00fecb11c2770a48d2190192c4b768476e5e5 100644
--- a/chrome/browser/local_discovery/privet_notifications.h
+++ b/chrome/browser/local_discovery/privet_notifications.h
@@ -8,17 +8,12 @@
#include <map>
#include <string>
-#include "base/memory/linked_ptr.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/local_discovery/privet_device_lister.h"
-#include "chrome/browser/local_discovery/privet_device_lister_impl.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/browser/notifications/notification_delegate.h"
-#include "chrome/browser/notifications/notification_ui_manager.h"
#include "components/browser_context_keyed_service/browser_context_keyed_service.h"
-#include "ui/message_center/notification_delegate.h"
+
+class NotificationUIManager;
namespace content {
class BrowserContext;
@@ -26,6 +21,12 @@ class BrowserContext;
namespace local_discovery {
+class PrivetDeviceLister;
+class PrivetHTTPAsynchronousFactory;
+class PrivetHTTPResolution;
+class ServiceDiscoveryHostClient;
+struct DeviceDescription;
+
// Contains logic related to notifications not tied actually displaying them.
class PrivetNotificationsListener : public PrivetInfoOperation::Delegate {
public:
@@ -72,8 +73,7 @@ class PrivetNotificationsListener : public PrivetInfoOperation::Delegate {
std::string human_readable_name;
std::string description;
scoped_ptr<PrivetInfoOperation> info_operation;
- scoped_ptr<PrivetHTTPAsynchronousFactory::Resolution>
- privet_http_resolution;
+ scoped_ptr<PrivetHTTPResolution> privet_http_resolution;
scoped_ptr<PrivetHTTPClient> privet_http;
};

Powered by Google App Engine
This is Rietveld 408576698