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

Unified Diff: chrome/browser/browser_process.h

Issue 308433004: Reduce plugin_metrics_provider_ usage in MetricsService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review Created 6 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
Index: chrome/browser/browser_process.h
diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h
index 8e46d93b16c2b7c35bc7d782e60cff54be826441..cda9e23d9a77584f3499b99306faa3b347feccfb 100644
--- a/chrome/browser/browser_process.h
+++ b/chrome/browser/browser_process.h
@@ -29,6 +29,7 @@ class IntranetRedirectDetector;
class IOThread;
class MediaFileSystemRegistry;
class MetricsService;
+class MetricsServicesManager;
class NetworkTimeTracker;
class NotificationUIManager;
class PrefRegistrySimple;
@@ -102,6 +103,10 @@ class BrowserProcess {
// continue shutdown.
virtual void EndSession() = 0;
+ // Gets the manager for the various metrics-related services, constructing it
+ // if necessary.
+ virtual MetricsServicesManager* GetMetricsServicesManager() = 0;
+
// Services: any of these getters may return NULL
virtual MetricsService* metrics_service() = 0;
virtual rappor::RapporService* rappor_service() = 0;
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | chrome/browser/metrics/metrics_services_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698