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

Unified Diff: components/metrics_services_manager/metrics_services_manager_client.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_client.h
diff --git a/chrome/browser/metrics/metrics_services_manager_client.h b/components/metrics_services_manager/metrics_services_manager_client.h
similarity index 85%
rename from chrome/browser/metrics/metrics_services_manager_client.h
rename to components/metrics_services_manager/metrics_services_manager_client.h
index 9c926188425487336ede789e5b63a8d0a1c7a6a3..48b12087e4e29090e467ae5c8e443b3ab45a71ad 100644
--- a/chrome/browser/metrics/metrics_services_manager_client.h
+++ b/components/metrics_services_manager/metrics_services_manager_client.h
@@ -2,8 +2,8 @@
// 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_CLIENT_H_
-#define CHROME_BROWSER_METRICS_METRICS_SERVICES_MANAGER_CLIENT_H_
+#ifndef COMPONENTS_METRICS_SERVICES_MANAGER_METRICS_SERVICES_MANAGER_CLIENT_H_
+#define COMPONENTS_METRICS_SERVICES_MANAGER_METRICS_SERVICES_MANAGER_CLIENT_H_
#include "base/basictypes.h"
#include "base/callback.h"
@@ -27,6 +27,8 @@ namespace variations {
class VariationsService;
}
+namespace metrics_services_manager {
+
// MetricsServicesManagerClient is an interface that allows
// MetricsServicesManager to interact with its embedder.
class MetricsServicesManagerClient {
@@ -59,4 +61,6 @@ class MetricsServicesManagerClient {
virtual bool OnlyDoMetricsRecording() = 0;
};
-#endif // CHROME_BROWSER_METRICS_METRICS_SERVICES_MANAGER_CLIENT_H_
+} // namespace metrics_services_manager
+
+#endif // COMPONENTS_METRICS_SERVICES_MANAGER_METRICS_SERVICES_MANAGER_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698