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

Unified Diff: net/url_request/https_prober.h

Issue 6730034: Remove all "net::" prefixes under net/url_request for code that's (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed indentation Created 9 years, 9 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
« no previous file with comments | « no previous file | net/url_request/https_prober.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/https_prober.h
diff --git a/net/url_request/https_prober.h b/net/url_request/https_prober.h
index 0e2d7250bf798038a819685c8649cf55e70e0501..b461fa82a894ecdbcf3fc4a8f1e952b979293f39 100644
--- a/net/url_request/https_prober.h
+++ b/net/url_request/https_prober.h
@@ -21,7 +21,7 @@ class URLRequestContext;
// This should be scoped inside HTTPSProber, but VC cannot compile
// HTTPProber::Delegate when HTTPSProber also inherits from
-// net::URLRequest::Delegate.
+// URLRequest::Delegate.
class HTTPSProberDelegate {
public:
virtual void ProbeComplete(bool result) = 0;
@@ -32,7 +32,7 @@ class HTTPSProberDelegate {
// HTTPSProber is a singleton object that manages HTTPS probes. A HTTPS probe
// determines if we can connect to a given host over HTTPS. It's used when
// transparently upgrading from HTTP to HTTPS (for example, for SPDY).
-class HTTPSProber : public net::URLRequest::Delegate {
+class HTTPSProber : public URLRequest::Delegate {
public:
// Returns the singleton instance.
static HTTPSProber* GetInstance();
@@ -53,14 +53,14 @@ class HTTPSProber : public net::URLRequest::Delegate {
bool ProbeHost(const std::string& host, URLRequestContext* ctx,
HTTPSProberDelegate* delegate);
- // Implementation of net::URLRequest::Delegate
- virtual void OnAuthRequired(net::URLRequest* request,
- net::AuthChallengeInfo* auth_info);
- virtual void OnSSLCertificateError(net::URLRequest* request,
+ // Implementation of URLRequest::Delegate
+ virtual void OnAuthRequired(URLRequest* request,
+ AuthChallengeInfo* auth_info);
+ virtual void OnSSLCertificateError(URLRequest* request,
int cert_error,
- net::X509Certificate* cert);
- virtual void OnResponseStarted(net::URLRequest* request);
- virtual void OnReadCompleted(net::URLRequest* request, int bytes_read);
+ X509Certificate* cert);
+ virtual void OnResponseStarted(URLRequest* request);
+ virtual void OnReadCompleted(URLRequest* request, int bytes_read);
private:
friend struct DefaultSingletonTraits<HTTPSProber>;
@@ -68,9 +68,9 @@ class HTTPSProber : public net::URLRequest::Delegate {
HTTPSProber();
~HTTPSProber();
- void Success(net::URLRequest* request);
- void Failure(net::URLRequest* request);
- void DoCallback(net::URLRequest* request, bool result);
+ void Success(URLRequest* request);
+ void Failure(URLRequest* request);
+ void DoCallback(URLRequest* request, bool result);
std::map<std::string, HTTPSProberDelegate*> inflight_probes_;
std::set<std::string> probed_;
« no previous file with comments | « no previous file | net/url_request/https_prober.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698