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

Unified Diff: chrome/browser/renderer_host/safe_browsing_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/renderer_host/safe_browsing_resource_handler.cc
===================================================================
--- chrome/browser/renderer_host/safe_browsing_resource_handler.cc (revision 111374)
+++ chrome/browser/renderer_host/safe_browsing_resource_handler.cc (working copy)
@@ -12,7 +12,7 @@
#include "content/browser/renderer_host/global_request_id.h"
#include "content/browser/renderer_host/resource_dispatcher_host.h"
#include "content/browser/renderer_host/resource_message_filter.h"
-#include "content/common/resource_response.h"
+#include "content/public/common/resource_response.h"
#include "net/base/io_buffer.h"
#include "net/base/load_flags.h"
#include "net/base/net_errors.h"
@@ -70,7 +70,7 @@
bool SafeBrowsingResourceHandler::OnRequestRedirected(
int request_id,
const GURL& new_url,
- ResourceResponse* response,
+ content::ResourceResponse* response,
bool* defer) {
CHECK(state_ == STATE_NONE);
CHECK(defer_state_ == DEFERRED_NONE);
@@ -98,7 +98,7 @@
}
bool SafeBrowsingResourceHandler::OnResponseStarted(
- int request_id, ResourceResponse* response) {
+ int request_id, content::ResourceResponse* response) {
CHECK(state_ == STATE_NONE);
CHECK(defer_state_ == DEFERRED_NONE);
return next_handler_->OnResponseStarted(request_id, response);
@@ -334,7 +334,7 @@
// Retrieve the details for the paused OnReceivedRedirect().
int request_id = deferred_request_id_;
GURL redirect_url = deferred_url_;
- scoped_refptr<ResourceResponse> redirect_response =
+ scoped_refptr<content::ResourceResponse> redirect_response =
deferred_redirect_response_;
ClearDeferredRequestInfo();
« no previous file with comments | « chrome/browser/renderer_host/safe_browsing_resource_handler.h ('k') | content/browser/debugger/devtools_netlog_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698