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

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

Issue 10392192: Remove content::URLFetcherDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cleanup 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.h ('k') | chrome/browser/metrics/metrics_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.h
diff --git a/chrome/browser/metrics/metrics_service.h b/chrome/browser/metrics/metrics_service.h
index 82c89cf8047bbe49cc34c2ad2c061e3de9feec4a..05420644e4cbf4f3c864dad0d92607904ccd3f26 100644
--- a/chrome/browser/metrics/metrics_service.h
+++ b/chrome/browser/metrics/metrics_service.h
@@ -24,7 +24,7 @@
#include "chrome/installer/util/google_update_settings.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
-#include "content/public/common/url_fetcher_delegate.h"
+#include "net/url_request/url_fetcher_delegate.h"
#if defined(OS_CHROMEOS)
#include "chrome/browser/chromeos/external_metrics.h"
@@ -50,6 +50,10 @@ namespace extensions {
class ExtensionDownloader;
}
+namespace net {
+class URLFetcher;
+}
+
namespace prerender {
bool IsOmniboxEnabled(Profile* profile);
}
@@ -65,7 +69,7 @@ struct WebPluginInfo;
class MetricsService
: public chrome_browser_metrics::TrackingSynchronizerObserver,
public content::NotificationObserver,
- public content::URLFetcherDelegate,
+ public net::URLFetcherDelegate,
public MetricsServiceBase {
public:
MetricsService();
@@ -270,7 +274,7 @@ class MetricsService
// copy of the staged log.
void PrepareFetchWithStagedLog();
- // Implementation of content::URLFetcherDelegate. Called after transmission
+ // Implementation of net::URLFetcherDelegate. Called after transmission
// completes (either successfully or with failure).
virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
@@ -377,8 +381,8 @@ class MetricsService
scoped_ptr<MetricsLog> initial_log_;
// The outstanding transmission appears as a URL Fetch operation.
- scoped_ptr<content::URLFetcher> current_fetch_xml_;
- scoped_ptr<content::URLFetcher> current_fetch_proto_;
+ scoped_ptr<net::URLFetcher> current_fetch_xml_;
+ scoped_ptr<net::URLFetcher> current_fetch_proto_;
// Cached responses from the XML request while we wait for a response to the
// protubuf request.
« no previous file with comments | « chrome/browser/intranet_redirect_detector.h ('k') | chrome/browser/metrics/metrics_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698