| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_DEVICE_UMA_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DEVICE_UMA_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DEVICE_UMA_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DEVICE_UMA_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
| 9 #include "ui/events/platform/platform_event_observer.h" | 9 #include "ui/events/platform/platform_event_observer.h" |
| 10 | 10 |
| 11 namespace base { | 11 namespace base { |
| 12 template <typename T> struct DefaultSingletonTraits; | 12 template <typename T> struct DefaultSingletonTraits; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace chromeos { | 15 namespace chromeos { |
| 16 | 16 |
| 17 // A class to record devices' input event details via the UMA system | 17 // A class to record devices' input event details via the UMA system |
| 18 class DeviceUMA : public ui::PlatformEventObserver { | 18 class DeviceUMA : public ui::PlatformEventObserver { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 40 void CheckIncomingEvent(XEvent* event); | 40 void CheckIncomingEvent(XEvent* event); |
| 41 | 41 |
| 42 bool stopped_; | 42 bool stopped_; |
| 43 | 43 |
| 44 DISALLOW_COPY_AND_ASSIGN(DeviceUMA); | 44 DISALLOW_COPY_AND_ASSIGN(DeviceUMA); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace chromeos | 47 } // namespace chromeos |
| 48 | 48 |
| 49 #endif // CHROME_BROWSER_CHROMEOS_DEVICE_UMA_H_ | 49 #endif // CHROME_BROWSER_CHROMEOS_DEVICE_UMA_H_ |
| OLD | NEW |