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

Unified Diff: chrome/browser/renderer_host/sync_resource_handler.cc

Issue 5384002: net: Remove typedef net::URLRequest URLRequest; (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 10 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/sync_resource_handler.cc
diff --git a/chrome/browser/renderer_host/sync_resource_handler.cc b/chrome/browser/renderer_host/sync_resource_handler.cc
index db5ec9a071c8c1524b58d0a09c4b13ebcd731de5..6743e8619d88bd08e498ca3abfa359f81c546306 100644
--- a/chrome/browser/renderer_host/sync_resource_handler.cc
+++ b/chrome/browser/renderer_host/sync_resource_handler.cc
@@ -39,7 +39,7 @@ bool SyncResourceHandler::OnRequestRedirected(int request_id,
const GURL& new_url,
ResourceResponse* response,
bool* defer) {
- URLRequest* request = rdh_->GetURLRequest(
+ net::URLRequest* request = rdh_->GetURLRequest(
GlobalRequestID(process_id_, request_id));
LoadTimingObserver::PopulateTimingInfo(request, response);
DevToolsNetLogObserver::PopulateResponseInfo(request, response);
@@ -56,7 +56,7 @@ bool SyncResourceHandler::OnRequestRedirected(int request_id,
bool SyncResourceHandler::OnResponseStarted(int request_id,
ResourceResponse* response) {
- URLRequest* request = rdh_->GetURLRequest(
+ net::URLRequest* request = rdh_->GetURLRequest(
GlobalRequestID(process_id_, request_id));
LoadTimingObserver::PopulateTimingInfo(request, response);
DevToolsNetLogObserver::PopulateResponseInfo(request, response);
@@ -114,5 +114,5 @@ void SyncResourceHandler::OnRequestClosed() {
result_message_->set_reply_error();
receiver_->Send(result_message_);
- receiver_ = NULL; // URLRequest is gone, and perhaps also the receiver.
+ receiver_ = NULL; // net::URLRequest is gone, and perhaps also the receiver.
}

Powered by Google App Engine
This is Rietveld 408576698