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

Unified Diff: net/url_request/https_prober.cc

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 | « net/url_request/https_prober.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/https_prober.cc
diff --git a/net/url_request/https_prober.cc b/net/url_request/https_prober.cc
index 89d1d2085109f759b9b1bd0b6a777771c3810310..ecf33985145ee4f5960e51a965017f15022ae71f 100644
--- a/net/url_request/https_prober.cc
+++ b/net/url_request/https_prober.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -34,24 +34,24 @@ bool HTTPSProber::ProbeHost(const std::string& host, URLRequestContext* ctx,
GURL url("https://" + host);
DCHECK_EQ(url.host(), host);
- net::URLRequest* req = new net::URLRequest(url, this);
+ URLRequest* req = new URLRequest(url, this);
req->set_context(ctx);
req->Start();
return true;
}
-void HTTPSProber::OnAuthRequired(net::URLRequest* request,
- net::AuthChallengeInfo* auth_info) {
+void HTTPSProber::OnAuthRequired(URLRequest* request,
+ AuthChallengeInfo* auth_info) {
Success(request);
}
-void HTTPSProber::OnSSLCertificateError(net::URLRequest* request,
+void HTTPSProber::OnSSLCertificateError(URLRequest* request,
int cert_error,
- net::X509Certificate* cert) {
+ X509Certificate* cert) {
request->ContinueDespiteLastError();
}
-void HTTPSProber::OnResponseStarted(net::URLRequest* request) {
+void HTTPSProber::OnResponseStarted(URLRequest* request) {
if (request->status().status() == URLRequestStatus::SUCCESS) {
Success(request);
} else {
@@ -59,7 +59,7 @@ void HTTPSProber::OnResponseStarted(net::URLRequest* request) {
}
}
-void HTTPSProber::OnReadCompleted(net::URLRequest* request, int bytes_read) {
+void HTTPSProber::OnReadCompleted(URLRequest* request, int bytes_read) {
NOTREACHED();
}
@@ -69,15 +69,15 @@ HTTPSProber::HTTPSProber() {
HTTPSProber::~HTTPSProber() {
}
-void HTTPSProber::Success(net::URLRequest* request) {
+void HTTPSProber::Success(URLRequest* request) {
DoCallback(request, true);
}
-void HTTPSProber::Failure(net::URLRequest* request) {
+void HTTPSProber::Failure(URLRequest* request) {
DoCallback(request, false);
}
-void HTTPSProber::DoCallback(net::URLRequest* request, bool result) {
+void HTTPSProber::DoCallback(URLRequest* request, bool result) {
std::map<std::string, HTTPSProberDelegate*>::iterator i =
inflight_probes_.find(request->original_url().host());
DCHECK(i != inflight_probes_.end());
« no previous file with comments | « net/url_request/https_prober.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698