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

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

Issue 6338002: net: Remove typedef net::URLRequestContext URLRequestContext; (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for real Created 9 years, 11 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
Index: chrome/browser/renderer_host/resource_dispatcher_host.cc
diff --git a/chrome/browser/renderer_host/resource_dispatcher_host.cc b/chrome/browser/renderer_host/resource_dispatcher_host.cc
index dc3427ab46d69664217d8acec37d8c7f2e61802e..ef9ec9c4e36e8d16eb3f8fdbee50aeda6191b61b 100644
--- a/chrome/browser/renderer_host/resource_dispatcher_host.cc
+++ b/chrome/browser/renderer_host/resource_dispatcher_host.cc
@@ -203,7 +203,7 @@ std::vector<int> GetAllNetErrorCodes() {
// Temporary experiment to help track down http://crbug.com/68766.
// This should crash if called with an invalid ChromeURLRequestContext.
// TODO(eroman): Delete this when experiment is complete.
-void CheckContextForBug68766(URLRequestContext* context) {
+void CheckContextForBug68766(net::URLRequestContext* context) {
if (context)
static_cast<ChromeURLRequestContext*>(context)->IsExternal();
}
@@ -692,7 +692,7 @@ void ResourceDispatcherHost::BeginDownload(
bool prompt_for_save_location,
int child_id,
int route_id,
- URLRequestContext* request_context) {
+ net::URLRequestContext* request_context) {
if (is_shutdown_)
return;
@@ -749,11 +749,12 @@ void ResourceDispatcherHost::BeginDownload(
}
// This function is only used for saving feature.
-void ResourceDispatcherHost::BeginSaveFile(const GURL& url,
- const GURL& referrer,
- int child_id,
- int route_id,
- URLRequestContext* request_context) {
+void ResourceDispatcherHost::BeginSaveFile(
+ const GURL& url,
+ const GURL& referrer,
+ int child_id,
+ int route_id,
+ net::URLRequestContext* request_context) {
if (is_shutdown_)
return;

Powered by Google App Engine
This is Rietveld 408576698