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

Unified Diff: content/browser/debugger/devtools_netlog_observer.h

Issue 8680036: Move ResourceResponse struct into the Content API, since it's used in Chrome. While at it, I also... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: add gypi changes Created 9 years, 1 month 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: content/browser/debugger/devtools_netlog_observer.h
===================================================================
--- content/browser/debugger/devtools_netlog_observer.h (revision 111374)
+++ content/browser/debugger/devtools_netlog_observer.h (working copy)
@@ -11,12 +11,14 @@
#include "net/base/net_log.h"
#include "webkit/glue/resource_loader_bridge.h"
+namespace content {
+struct ResourceResponse;
+}
+
namespace net {
class URLRequest;
} // namespace net
-struct ResourceResponse;
-
// DevToolsNetLogObserver watches the NetLog event stream and collects the
// stuff that may be of interest to DevTools. Currently, this only includes
// actual HTTP/SPDY headers sent and received over the network.
@@ -59,7 +61,8 @@
// Must be called on the IO thread. May return NULL if no observers
// are active.
static DevToolsNetLogObserver* GetInstance();
- static void PopulateResponseInfo(net::URLRequest*, ResourceResponse*);
+ static void PopulateResponseInfo(net::URLRequest*,
+ content::ResourceResponse*);
static int GetAndResetEncodedDataLength(net::URLRequest* request);
private:
« no previous file with comments | « chrome/browser/renderer_host/safe_browsing_resource_handler.cc ('k') | content/browser/debugger/devtools_netlog_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698