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

Unified Diff: net/url_request/url_request.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: net/url_request/url_request.h
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index 01df25be44e3c5571bf0a912e3e9eff478401d89..fb81500e97471670b0bfc2c304a0c25d39fb4512 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -33,18 +33,19 @@ class CookieOptions;
class IOBuffer;
class SSLCertRequestInfo;
class UploadData;
+class URLRequestJob;
class X509Certificate;
} // namespace net
class FilePath;
class URLRequestContext;
-class URLRequestJob;
// This stores the values of the Set-Cookie headers received during the request.
// Each item in the vector corresponds to a Set-Cookie: line received,
// excluding the "Set-Cookie:" part.
typedef std::vector<std::string> ResponseCookies;
wtc 2010/11/30 01:51:53 It seems that we should also move FilePath, URLReq
+namespace net {
//-----------------------------------------------------------------------------
// A class representing the asynchronous load of a data stream from an URL.
//
@@ -643,4 +644,8 @@ class URLRequest : public NonThreadSafe {
DISALLOW_COPY_AND_ASSIGN(URLRequest);
};
+} // namespace net
+
+typedef net::URLRequest URLRequest;
+
#endif // NET_URL_REQUEST_URL_REQUEST_H_

Powered by Google App Engine
This is Rietveld 408576698