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

Unified Diff: chrome/browser/metrics/variations_service.cc

Issue 10554008: Move content::URLFetcher static functions to net::URLFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move URLFetcher back 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
Index: chrome/browser/metrics/variations_service.cc
diff --git a/chrome/browser/metrics/variations_service.cc b/chrome/browser/metrics/variations_service.cc
index 9af57186a72631528484b3d05cfc8cfad4580dad..606e6588d9a4617bfaba2b515f53288a6ba734ae 100644
--- a/chrome/browser/metrics/variations_service.cc
+++ b/chrome/browser/metrics/variations_service.cc
@@ -16,11 +16,11 @@
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/common/metrics/experiments_helper.h"
#include "chrome/common/pref_names.h"
-#include "content/public/common/url_fetcher.h"
#include "googleurl/src/gurl.h"
#include "net/base/load_flags.h"
#include "net/base/network_change_notifier.h"
#include "net/http/http_response_headers.h"
+#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_request_status.h"
namespace {
@@ -107,7 +107,7 @@ void VariationsService::StartFetchingVariationsSeed() {
if (net::NetworkChangeNotifier::IsOffline())
return;
- pending_seed_request_.reset(content::URLFetcher::Create(
+ pending_seed_request_.reset(net::URLFetcher::Create(
GURL(kDefaultVariationsServer), net::URLFetcher::GET, this));
pending_seed_request_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES |
net::LOAD_DO_NOT_SAVE_COOKIES);

Powered by Google App Engine
This is Rietveld 408576698