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

Unified Diff: content/public/child/request_peer.h

Issue 293353007: Move resource_response_info from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/content_common.gypi ('k') | content/public/common/resource_response.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/child/request_peer.h
diff --git a/content/public/child/request_peer.h b/content/public/child/request_peer.h
index 74148302529b288bcb492ea5a750d248b527df36..93143c5b4a8fcba45e00995df35c00ef523bf45f 100644
--- a/content/public/child/request_peer.h
+++ b/content/public/child/request_peer.h
@@ -16,12 +16,10 @@ namespace base {
class TimeTicks;
}
-namespace webkit_glue {
-struct ResourceResponseInfo;
-}
-
namespace content {
+struct ResourceResponseInfo;
+
// This is implemented by our custom resource loader within content. The Peer
// and it's bridge should have identical lifetimes as they represent each end of
// a communication channel.
@@ -40,15 +38,13 @@ class CONTENT_EXPORT RequestPeer {
// information about the redirect, and new_url is the URL that will be loaded
// if this method returns true. new_first_party_for_cookies is the new
// first-party URL for cookies should that have changed.
- virtual bool OnReceivedRedirect(
- const GURL& new_url,
- const GURL& new_first_party_for_cookies,
- const webkit_glue::ResourceResponseInfo& info) = 0;
+ virtual bool OnReceivedRedirect(const GURL& new_url,
+ const GURL& new_first_party_for_cookies,
+ const ResourceResponseInfo& info) = 0;
// Called when response headers are available (after all redirects have
// been followed).
- virtual void OnReceivedResponse(
- const webkit_glue::ResourceResponseInfo& info) = 0;
+ virtual void OnReceivedResponse(const ResourceResponseInfo& info) = 0;
// Called when a chunk of response data is downloaded. This method may be
// called multiple times or not at all if an error occurs. This method is
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/resource_response.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698