| Index: chrome/browser/metrics/metrics_service_unittest.cc
|
| diff --git a/chrome/browser/metrics/metrics_service_unittest.cc b/chrome/browser/metrics/metrics_service_unittest.cc
|
| index bb369c23b05b803dbf8a9763dc54c87a56507a15..f4ad9d1fe16d7dcfdec9b88b43a9172b5947bd61 100644
|
| --- a/chrome/browser/metrics/metrics_service_unittest.cc
|
| +++ b/chrome/browser/metrics/metrics_service_unittest.cc
|
| @@ -21,10 +21,6 @@
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "ui/gfx/size.h"
|
|
|
| -#if defined(OS_CHROMEOS)
|
| -#include "chrome/browser/metrics/metrics_log_chromeos.h"
|
| -#endif // OS_CHROMEOS
|
| -
|
| namespace {
|
|
|
| using metrics::MetricsLogManager;
|
| @@ -45,29 +41,10 @@ class TestMetricsService : public MetricsService {
|
| DISALLOW_COPY_AND_ASSIGN(TestMetricsService);
|
| };
|
|
|
| -#if defined(OS_CHROMEOS)
|
| -class TestMetricsLogChromeOS : public MetricsLogChromeOS {
|
| - public:
|
| - explicit TestMetricsLogChromeOS(
|
| - metrics::ChromeUserMetricsExtension* uma_proto)
|
| - : MetricsLogChromeOS(uma_proto) {
|
| - }
|
| -
|
| - protected:
|
| - // Don't touch bluetooth information, as it won't be correctly initialized.
|
| - virtual void WriteBluetoothProto() OVERRIDE {
|
| - }
|
| -};
|
| -#endif // OS_CHROMEOS
|
| -
|
| class TestMetricsLog : public MetricsLog {
|
| public:
|
| TestMetricsLog(const std::string& client_id, int session_id)
|
| : MetricsLog(client_id, session_id, MetricsLog::ONGOING_LOG) {
|
| -#if defined(OS_CHROMEOS)
|
| - metrics_log_chromeos_.reset(new TestMetricsLogChromeOS(
|
| - MetricsLog::uma_proto()));
|
| -#endif // OS_CHROMEOS
|
| }
|
| virtual ~TestMetricsLog() {}
|
|
|
|
|