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

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

Issue 603173003: Revert of Remove unneeded Friend from chrome_metrics_service_accessor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/chrome_metrics_service_accessor.h
diff --git a/chrome/browser/metrics/chrome_metrics_service_accessor.h b/chrome/browser/metrics/chrome_metrics_service_accessor.h
index a0af99423e8ff114e2a15c52d08cd2013e7f0996..975765b9aa5ed01aa316e1dcb00ff9b9798c9e4d 100644
--- a/chrome/browser/metrics/chrome_metrics_service_accessor.h
+++ b/chrome/browser/metrics/chrome_metrics_service_accessor.h
@@ -14,11 +14,18 @@
#include "chrome/browser/metrics/metrics_service_accessor.h"
class ChromeExtensionDownloaderFactory;
+class PrefService;
class Profile;
namespace {
class CrashesDOMHandler;
class FlashDOMHandler;
+}
+
+namespace component_updater {
+class ComponentUpdateService;
+void RegisterSwReporterComponent(ComponentUpdateService* cus,
+ PrefService* prefs);
}
namespace extensions {
@@ -42,6 +49,9 @@
// as a 'friend' below.
class ChromeMetricsServiceAccessor : public MetricsServiceAccessor {
private:
+ friend void component_updater::RegisterSwReporterComponent(
+ component_updater::ComponentUpdateService* cus,
+ PrefService* prefs);
friend bool prerender::IsOmniboxEnabled(Profile* profile);
friend class ChromeExtensionDownloaderFactory;
friend class ChromeRenderMessageFilter;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698