Browse Source

Remove unused includes

Kevin Sawicki 8 years ago
parent
commit
bb4a61c7ff

+ 0 - 2
brightray/browser/brightray_paths.h

@@ -5,8 +5,6 @@
 #ifndef BROWSER_BRIGHTRAY_PATHS_H_
 #define BROWSER_BRIGHTRAY_PATHS_H_
 
-#include "base/compiler_specific.h"
-
 #if defined(OS_WIN)
 #include "base/base_paths_win.h"
 #elif defined(OS_MACOSX)

+ 0 - 2
brightray/browser/browser_client.h

@@ -6,12 +6,10 @@
 #define BRIGHTRAY_BROWSER_BROWSER_CLIENT_H_
 
 #include "browser/net_log.h"
-#include "content/public/browser/browser_context.h"
 #include "content/public/browser/content_browser_client.h"
 
 namespace brightray {
 
-class BrowserContext;
 class BrowserMainParts;
 class NotificationPresenter;
 class PlatformNotificationService;

+ 0 - 1
brightray/browser/browser_context.cc

@@ -9,7 +9,6 @@
 #include "browser/browser_client.h"
 #include "browser/inspectable_web_contents_impl.h"
 #include "browser/network_delegate.h"
-#include "browser/permission_manager.h"
 #include "browser/special_storage_policy.h"
 #include "browser/zoom_level_delegate.h"
 #include "common/application_info.h"

+ 1 - 1
brightray/browser/browser_main_parts.h

@@ -6,7 +6,7 @@
 #define BRIGHTRAY_BROWSER_BROWSER_MAIN_PARTS_H_
 
 #include "base/compiler_specific.h"
-#include "base/memory/ref_counted.h"
+#include "base/macros.h"
 #include "content/public/browser/browser_main_parts.h"
 
 #if defined(TOOLKIT_VIEWS)

+ 0 - 1
brightray/browser/devtools_contents_resizing_strategy.h

@@ -6,7 +6,6 @@
 #define BRIGHTRAY_BROWSER_DEVTOOLS_CONTENTS_RESIZING_STRATEGY_H_
 
 #include "base/macros.h"
-#include "ui/gfx/geometry/insets.h"
 #include "ui/gfx/geometry/rect.h"
 #include "ui/gfx/geometry/size.h"
 

+ 0 - 2
brightray/browser/devtools_file_system_indexer.cc

@@ -9,13 +9,11 @@
 #include <iterator>
 
 #include "base/bind.h"
-#include "base/callback.h"
 #include "base/files/file_enumerator.h"
 #include "base/files/file_util.h"
 #include "base/files/file_util_proxy.h"
 #include "base/lazy_instance.h"
 #include "base/logging.h"
-#include "base/macros.h"
 #include "base/stl_util.h"
 #include "base/strings/string_util.h"
 #include "base/strings/utf_string_conversions.h"

+ 0 - 1
brightray/browser/devtools_manager_delegate.h

@@ -7,7 +7,6 @@
 
 #include "base/macros.h"
 #include "base/compiler_specific.h"
-#include "content/browser/devtools/devtools_http_handler.h"
 #include "content/public/browser/devtools_manager_delegate.h"
 
 namespace brightray {

+ 0 - 4
brightray/browser/inspectable_web_contents_impl.h

@@ -22,10 +22,6 @@
 class PrefService;
 class PrefRegistrySimple;
 
-namespace content {
-class DevToolsAgentHost;
-}
-
 namespace brightray {
 
 class InspectableWebContentsDelegate;

+ 0 - 2
brightray/browser/media/media_capture_devices_dispatcher.h

@@ -5,10 +5,8 @@
 #ifndef BRIGHTRAY_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_
 #define BRIGHTRAY_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_
 
-#include "base/callback.h"
 #include "base/memory/singleton.h"
 #include "content/public/browser/media_observer.h"
-#include "content/public/browser/web_contents_delegate.h"
 #include "content/public/common/media_stream_request.h"
 
 namespace brightray {

+ 0 - 1
brightray/browser/media/media_device_id_salt.h

@@ -8,7 +8,6 @@
 #include <string>
 
 #include "base/macros.h"
-#include "base/memory/ref_counted.h"
 #include "components/prefs/pref_member.h"
 
 class PrefRegistrySimple;

+ 0 - 2
brightray/browser/media/media_stream_devices_controller.h

@@ -5,8 +5,6 @@
 #ifndef BRIGHTRAY_BROWSER_MEDIA_MEDIA_STREAM_DEVICES_CONTROLLER_H_
 #define BRIGHTRAY_BROWSER_MEDIA_MEDIA_STREAM_DEVICES_CONTROLLER_H_
 
-#include <string>
-
 #include "content/public/browser/web_contents_delegate.h"
 
 namespace brightray {

+ 0 - 4
brightray/browser/net/devtools_network_conditions.h

@@ -5,11 +5,7 @@
 #ifndef BROWSER_DEVTOOLS_NETWORK_CONDITIONS_H_
 #define BROWSER_DEVTOOLS_NETWORK_CONDITIONS_H_
 
-#include <string>
-#include <vector>
-
 #include "base/macros.h"
-#include "url/gurl.h"
 
 namespace brightray {
 

+ 0 - 1
brightray/browser/net/devtools_network_transaction.h

@@ -13,7 +13,6 @@
 #include "net/base/load_states.h"
 #include "net/base/request_priority.h"
 #include "net/http/http_transaction.h"
-#include "net/websockets/websocket_handshake_stream_base.h"
 
 namespace brightray {
 

+ 0 - 1
brightray/browser/net/devtools_network_upload_data_stream.h

@@ -10,7 +10,6 @@
 #include "base/macros.h"
 #include "base/memory/weak_ptr.h"
 #include "browser/net/devtools_network_interceptor.h"
-#include "net/base/completion_callback.h"
 #include "net/base/upload_data_stream.h"
 
 namespace brightray {

+ 0 - 1
brightray/browser/network_delegate.h

@@ -9,7 +9,6 @@
 #include <vector>
 
 #include "net/base/network_delegate.h"
-#include "net/proxy/proxy_server.h"
 
 namespace brightray {