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

Unified Diff: chrome/browser/download/download_throttling_resource_handler.cc

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: chrome/browser/download/download_throttling_resource_handler.cc
===================================================================
--- chrome/browser/download/download_throttling_resource_handler.cc (revision 111374)
+++ chrome/browser/download/download_throttling_resource_handler.cc (working copy)
@@ -11,7 +11,7 @@
#include "content/browser/renderer_host/resource_dispatcher_host.h"
#include "content/browser/renderer_host/resource_dispatcher_host_request_info.h"
#include "content/browser/resource_context.h"
-#include "content/common/resource_response.h"
+#include "content/public/common/resource_response.h"
#include "net/base/io_buffer.h"
#include "net/base/mime_sniffer.h"
@@ -65,7 +65,7 @@
bool DownloadThrottlingResourceHandler::OnRequestRedirected(
int request_id,
const GURL& url,
- ResourceResponse* response,
+ content::ResourceResponse* response,
bool* defer) {
DCHECK(!request_closed_);
if (request_allowed_) {
@@ -77,7 +77,7 @@
bool DownloadThrottlingResourceHandler::OnResponseStarted(
int request_id,
- ResourceResponse* response) {
+ content::ResourceResponse* response) {
DCHECK(!request_closed_);
if (request_allowed_)
return next_handler_->OnResponseStarted(request_id, response);
« no previous file with comments | « chrome/browser/download/download_throttling_resource_handler.h ('k') | chrome/browser/net/load_timing_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698