summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request_job.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-28 13:11:52 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-28 13:11:52 +0000
commitedfe7faba2f8685eb84b1821ba6fa054297e71fc (patch)
treeb818efe30d5c178c8358cf75baffe371b5374109 /net/url_request/url_request_job.h
parentc0528f5013e9039d699dba6682bce248672d3937 (diff)
downloadchromium_src-edfe7faba2f8685eb84b1821ba6fa054297e71fc.zip
chromium_src-edfe7faba2f8685eb84b1821ba6fa054297e71fc.tar.gz
chromium_src-edfe7faba2f8685eb84b1821ba6fa054297e71fc.tar.bz2
net: Add namespace net to URLRequest and URLRequestJob classes.
BUG=64263 TEST=compiled locally and trybots Review URL: http://codereview.chromium.org/5298008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67497 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request_job.h')
-rw-r--r--net/url_request/url_request_job.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h
index 56496ed..239f5e9 100644
--- a/net/url_request/url_request_job.h
+++ b/net/url_request/url_request_job.h
@@ -23,13 +23,15 @@ class HttpRequestHeaders;
class HttpResponseInfo;
class IOBuffer;
class UploadData;
+class URLRequest;
class X509Certificate;
-}
+} // namespace net
-class URLRequest;
class URLRequestStatus;
class URLRequestJobMetrics;
+namespace net {
+
class URLRequestJob : public base::RefCounted<URLRequestJob>,
public FilterContext {
public:
@@ -40,11 +42,11 @@ class URLRequestJob : public base::RefCounted<URLRequestJob>,
// congestion window on stalling of transmissions.
static const size_t kSdchPacketHistogramCount = 5;
- explicit URLRequestJob(URLRequest* request);
+ explicit URLRequestJob(net::URLRequest* request);
// Returns the request that owns this job. THIS POINTER MAY BE NULL if the
// request was destroyed.
- URLRequest* request() const {
+ net::URLRequest* request() const {
return request_;
}
@@ -278,7 +280,7 @@ class URLRequestJob : public base::RefCounted<URLRequestJob>,
// The request that initiated this job. This value MAY BE NULL if the
// request was released by DetachRequest().
- URLRequest* request_;
+ net::URLRequest* request_;
// The status of the job.
const URLRequestStatus GetStatus();
@@ -420,4 +422,8 @@ class URLRequestJob : public base::RefCounted<URLRequestJob>,
DISALLOW_COPY_AND_ASSIGN(URLRequestJob);
};
+} // namespace net
+
+typedef net::URLRequestJob URLRequestJob;
+
#endif // NET_URL_REQUEST_URL_REQUEST_JOB_H_