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

Unified Diff: components/metrics_services_manager/metrics_services_manager.h

Issue 1412113002: Componentize MetricsServicesManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor_metrics_services_manager
Patch Set: Rebase Created 5 years, 2 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: components/metrics_services_manager/metrics_services_manager.h
diff --git a/chrome/browser/metrics/metrics_services_manager.h b/components/metrics_services_manager/metrics_services_manager.h
similarity index 91%
rename from chrome/browser/metrics/metrics_services_manager.h
rename to components/metrics_services_manager/metrics_services_manager.h
index d11a3c9706492e1d345d6a5ca1cd848076ae4333..8634005dc84b60044902af71437998cab8f72f9b 100644
--- a/chrome/browser/metrics/metrics_services_manager.h
+++ b/components/metrics_services_manager/metrics_services_manager.h
@@ -2,15 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_METRICS_METRICS_SERVICES_MANAGER_H_
-#define CHROME_BROWSER_METRICS_METRICS_SERVICES_MANAGER_H_
+#ifndef COMPONENTS_METRICS_SERVICES_MANAGER_METRICS_SERVICES_MANAGER_H_
+#define COMPONENTS_METRICS_SERVICES_MANAGER_METRICS_SERVICES_MANAGER_H_
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "base/threading/thread_checker.h"
-class MetricsServicesManagerClient;
-
namespace base {
class FilePath;
}
@@ -29,6 +27,10 @@ namespace variations {
class VariationsService;
}
+namespace metrics_services_manager {
+
+class MetricsServicesManagerClient;
+
// MetricsServicesManager is a helper class for embedders that use the various
// metrics-related services in a Chrome-like fashion: MetricsService (via its
// client), RapporService and VariationsService.
@@ -97,4 +99,6 @@ class MetricsServicesManager {
DISALLOW_COPY_AND_ASSIGN(MetricsServicesManager);
};
-#endif // CHROME_BROWSER_METRICS_METRICS_SERVICES_MANAGER_H_
+} // namespace metrics_services_manager
+
+#endif // COMPONENTS_METRICS_SERVICES_MANAGER_METRICS_SERVICES_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698