Index: components/metrics/metrics_service_client.h |
diff --git a/components/metrics/metrics_service_client.h b/components/metrics/metrics_service_client.h |
index 3671a68747dc7946ec05de4ad53eb19a728191ed..4cbebda48ce0bd332b501028a89a389ea7c3fdcf 100644 |
--- a/components/metrics/metrics_service_client.h |
+++ b/components/metrics/metrics_service_client.h |
@@ -15,26 +15,15 @@ |
#include "base/time/time.h" |
#include "components/metrics/proto/system_profile.pb.h" |
-namespace base { |
-class FilePath; |
-} |
- |
namespace metrics { |
class MetricsLogUploader; |
-class MetricsService; |
// An abstraction of operations that depend on the embedder's (e.g. Chrome) |
// environment. |
class MetricsServiceClient { |
public: |
virtual ~MetricsServiceClient() {} |
- |
- // Returns the MetricsService instance that this client is associated with. |
- // With the exception of testing contexts, the returned instance must be valid |
- // for the lifetime of this object (typically, the embedder's client |
- // implementation will own the MetricsService instance being returned). |
- virtual MetricsService* GetMetricsService() = 0; |
// Registers the client id with other services (e.g. crash reporting), called |
// when metrics recording gets enabled. |
@@ -90,9 +79,6 @@ |
// Returns the name of a key under HKEY_CURRENT_USER that can be used to store |
// backups of metrics data. Unused except on Windows. |
virtual base::string16 GetRegistryBackupKey(); |
- |
- // Called on plugin loading errors. |
- virtual void OnPluginLoadingError(const base::FilePath& plugin_path) {} |
}; |
} // namespace metrics |