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

Unified Diff: content/child/child_thread.h

Issue 207603003: Extract RequestInfo struct from ResourceLoaderBridge. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 6 years, 9 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 | « content/child/blink_platform_unittest.cc ('k') | content/child/child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_thread.h
diff --git a/content/child/child_thread.h b/content/child/child_thread.h
index 233e9c8cf1a0e32133e15bc24d695293e6492ebd..f8d9bf4367773d8cbaf85adb820ca479a53d9f7a 100644
--- a/content/child/child_thread.h
+++ b/content/child/child_thread.h
@@ -16,7 +16,6 @@
#include "content/common/content_export.h"
#include "content/common/message_router.h"
#include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED.
-#include "webkit/child/resource_loader_bridge.h"
namespace base {
class MessageLoop;
@@ -35,6 +34,10 @@ namespace blink {
class WebFrame;
} // namespace blink
+namespace webkit_glue {
+class ResourceLoaderBridge;
+} // namespace webkit_glue
+
namespace content {
class ChildHistogramMessageFilter;
class ChildResourceMessageFilter;
@@ -48,6 +51,7 @@ class ResourceDispatcher;
class SocketStreamDispatcher;
class ThreadSafeSender;
class WebSocketDispatcher;
+struct RequestInfo;
// The main thread of a child process derives from this class.
class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
@@ -74,7 +78,7 @@ class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
// Creates a ResourceLoaderBridge.
// Tests can override this method if they want a custom loading behavior.
virtual webkit_glue::ResourceLoaderBridge* CreateBridge(
- const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info);
+ const RequestInfo& request_info);
// Allocates a block of shared memory of the given size and
// maps in into the address space. Returns NULL of failure.
« no previous file with comments | « content/child/blink_platform_unittest.cc ('k') | content/child/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698