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

Unified Diff: content/browser/devtools/protocol/network_handler.h

Issue 633413002: [DevTools] Move Network domain overrides to NetworkHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 years, 2 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
« no previous file with comments | « no previous file | content/browser/devtools/protocol/network_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/network_handler.h
diff --git a/content/browser/devtools/protocol/network_handler.h b/content/browser/devtools/protocol/network_handler.h
index 20ba23528aea9cae310bb200458f01a414108c2c..c045a86f2de97392002a0ac5c90acc28aaea1f67 100644
--- a/content/browser/devtools/protocol/network_handler.h
+++ b/content/browser/devtools/protocol/network_handler.h
@@ -8,6 +8,9 @@
#include "content/browser/devtools/protocol/devtools_protocol_handler_impl.h"
namespace content {
+
+class RenderViewHost;
+
namespace devtools {
namespace network {
@@ -18,6 +21,8 @@ class NetworkHandler {
NetworkHandler();
virtual ~NetworkHandler();
+ void SetRenderViewHost(RenderViewHost* host);
+
Response ClearBrowserCache();
Response ClearBrowserCookies();
Response CanEmulateNetworkConditions(bool* result);
@@ -28,6 +33,8 @@ class NetworkHandler {
double upload_throughput);
private:
+ RenderViewHost* host_;
+
DISALLOW_COPY_AND_ASSIGN(NetworkHandler);
};
« no previous file with comments | « no previous file | content/browser/devtools/protocol/network_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698