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

Unified Diff: chrome/browser/renderer_host/download_throttling_resource_handler.h

Issue 5298008: net: Add namespace net to URLRequest and URLRequestJob classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: some chromeos fixes 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/download_throttling_resource_handler.h
diff --git a/chrome/browser/renderer_host/download_throttling_resource_handler.h b/chrome/browser/renderer_host/download_throttling_resource_handler.h
index 308792fd6b6715b7f647e18dfb4878518b520cca..22de040a50cb1e170459b2c7ed9ae7639480ac25 100644
--- a/chrome/browser/renderer_host/download_throttling_resource_handler.h
+++ b/chrome/browser/renderer_host/download_throttling_resource_handler.h
@@ -14,7 +14,10 @@
class DownloadResourceHandler;
class ResourceDispatcherHost;
+
+namespace net {
class URLRequest;
+} // namespace net
// DownloadThrottlingResourceHandler is used to determine if a download should
// be allowed. When a DownloadThrottlingResourceHandler is created it pauses the
@@ -29,7 +32,7 @@ class DownloadThrottlingResourceHandler
public DownloadRequestLimiter::Callback {
public:
DownloadThrottlingResourceHandler(ResourceDispatcherHost* host,
- URLRequest* request,
+ net::URLRequest* request,
const GURL& url,
int render_process_host_id,
int render_view_id,
@@ -63,7 +66,7 @@ class DownloadThrottlingResourceHandler
void CopyTmpBufferToDownloadHandler();
ResourceDispatcherHost* host_;
- URLRequest* request_;
+ net::URLRequest* request_;
GURL url_;
int render_process_host_id_;
int render_view_id_;

Powered by Google App Engine
This is Rietveld 408576698