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

Unified Diff: chrome/browser/metrics/metrics_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/io_thread.cc ('k') | chrome/browser/metrics/variations_service.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 82f061e01be7bcc43367d5d9f3787316b597f204..38fbb4b6532b2ccc1c0b23aaa506197da7f8f2ae 100644
--- a/chrome/browser/metrics/metrics_service.cc
+++ b/chrome/browser/metrics/metrics_service.cc
@@ -147,9 +147,9 @@
#include <algorithm>
#include "base/bind.h"
-#include "base/guid.h"
#include "base/callback.h"
#include "base/command_line.h"
+#include "base/guid.h"
#include "base/md5.h"
#include "base/metrics/histogram.h"
#include "base/rand_util.h"
@@ -191,8 +191,8 @@
#include "content/public/browser/notification_service.h"
#include "content/public/browser/plugin_service.h"
#include "content/public/browser/render_process_host.h"
-#include "content/public/common/url_fetcher.h"
#include "net/base/load_flags.h"
+#include "net/url_request/url_fetcher.h"
#include "webkit/plugins/webplugininfo.h"
// TODO(port): port browser_distribution.h.
@@ -1291,7 +1291,7 @@ void MetricsService::PrepareFetchWithStagedLog() {
// Prepare the XML version.
DCHECK(!current_fetch_xml_.get());
if (log_manager_.has_staged_log_xml()) {
- current_fetch_xml_.reset(content::URLFetcher::Create(
+ current_fetch_xml_.reset(net::URLFetcher::Create(
GURL(server_url_xml_), net::URLFetcher::POST, this));
current_fetch_xml_->SetRequestContext(
g_browser_process->system_request_context());
@@ -1306,7 +1306,7 @@ void MetricsService::PrepareFetchWithStagedLog() {
// Prepare the protobuf version.
DCHECK(!current_fetch_proto_.get());
if (log_manager_.has_staged_log_proto()) {
- current_fetch_proto_.reset(content::URLFetcher::Create(
+ current_fetch_proto_.reset(net::URLFetcher::Create(
GURL(server_url_proto_), net::URLFetcher::POST, this));
current_fetch_proto_->SetRequestContext(
g_browser_process->system_request_context());
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/metrics/variations_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698