+#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
+