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

Unified Diff: chrome/browser/captive_portal/captive_portal_service.cc

Issue 10554008: Move content::URLFetcher static functions to net::URLFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win link error Created 8 years, 6 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 | « chrome/browser/autofill/autofill_download.cc ('k') | chrome/browser/chrome_to_mobile_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/captive_portal/captive_portal_service.cc
diff --git a/chrome/browser/captive_portal/captive_portal_service.cc b/chrome/browser/captive_portal/captive_portal_service.cc
index 498cdf93dea6498e00aa80a71b06fac6ecc3395f..e48ef44e17735febebc58aca2993ea4031135088 100644
--- a/chrome/browser/captive_portal/captive_portal_service.cc
+++ b/chrome/browser/captive_portal/captive_portal_service.cc
@@ -16,9 +16,9 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "content/public/browser/notification_service.h"
-#include "content/public/common/url_fetcher.h"
#include "net/base/load_flags.h"
#include "net/http/http_response_headers.h"
+#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_request_status.h"
namespace captive_portal {
@@ -198,10 +198,10 @@ void CaptivePortalService::DetectCaptivePortalInternal() {
}
// The first 0 means this can use a TestURLFetcherFactory in unit tests.
- url_fetcher_.reset(content::URLFetcher::Create(0,
- test_url_,
- net::URLFetcher::GET,
- this));
+ url_fetcher_.reset(net::URLFetcher::Create(0,
+ test_url_,
+ net::URLFetcher::GET,
+ this));
url_fetcher_->SetAutomaticallyRetryOn5xx(false);
url_fetcher_->SetRequestContext(profile_->GetRequestContext());
// Can't safely use net::LOAD_DISABLE_CERT_REVOCATION_CHECKING here,
« no previous file with comments | « chrome/browser/autofill/autofill_download.cc ('k') | chrome/browser/chrome_to_mobile_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698