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

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

Issue 10412050: Change most content::URLFetcher references to net::URLFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ChromeOS, address comments Created 8 years, 7 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/intranet_redirect_detector.cc ('k') | chrome/browser/net/gaia/gaia_oauth_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/metrics_service.cc
diff --git a/chrome/browser/metrics/metrics_service.cc b/chrome/browser/metrics/metrics_service.cc
index 6427496ba8499a1ad42951565d60ca11f650560a..13eea3a0a280f35cdc2377688aae280d53e7d4c2 100644
--- a/chrome/browser/metrics/metrics_service.cc
+++ b/chrome/browser/metrics/metrics_service.cc
@@ -241,7 +241,7 @@ const int kSaveStateIntervalMinutes = 5;
// Used to indicate that the response code is currently not set at all --
// RESPONSE_CODE_INVALID can sometimes be returned in response to a request if,
// e.g., the server is down.
-const int kNoResponseCode = content::URLFetcher::RESPONSE_CODE_INVALID - 1;
+const int kNoResponseCode = net::URLFetcher::RESPONSE_CODE_INVALID - 1;
enum ResponseStatus {
UNKNOWN_FAILURE,
@@ -1184,7 +1184,7 @@ void MetricsService::PrepareFetchWithStagedLog() {
// Prepare the XML version.
DCHECK(!current_fetch_xml_.get());
current_fetch_xml_.reset(content::URLFetcher::Create(
- GURL(server_url_xml_), content::URLFetcher::POST, this));
+ GURL(server_url_xml_), net::URLFetcher::POST, this));
current_fetch_xml_->SetRequestContext(
g_browser_process->system_request_context());
current_fetch_xml_->SetUploadData(kMimeTypeXml,
@@ -1198,7 +1198,7 @@ void MetricsService::PrepareFetchWithStagedLog() {
DCHECK(!current_fetch_proto_.get());
if (log_manager_.has_staged_log_proto()) {
current_fetch_proto_.reset(content::URLFetcher::Create(
- GURL(server_url_proto_), content::URLFetcher::POST, this));
+ GURL(server_url_proto_), net::URLFetcher::POST, this));
current_fetch_proto_->SetRequestContext(
g_browser_process->system_request_context());
current_fetch_proto_->SetUploadData(kMimeTypeProto,
« no previous file with comments | « chrome/browser/intranet_redirect_detector.cc ('k') | chrome/browser/net/gaia/gaia_oauth_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698