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

Side by Side Diff: device/vibration/vibration_manager_impl.h

Issue 2774783003: [DeviceService] Add service tests for VibrationManager. (Closed)
Patch Set: Address comments from blundell@ Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 DEVICE_VIBRATION_VIBRATION_MANAGER_IMPL_H_ 5 #ifndef DEVICE_VIBRATION_VIBRATION_MANAGER_IMPL_H_
6 #define DEVICE_VIBRATION_VIBRATION_MANAGER_IMPL_H_ 6 #define DEVICE_VIBRATION_VIBRATION_MANAGER_IMPL_H_
7 7
8 #include "device/vibration/vibration_export.h" 8 #include "device/vibration/vibration_export.h"
9 #include "device/vibration/vibration_manager.mojom.h" 9 #include "device/vibration/vibration_manager.mojom.h"
10 10
11 namespace device { 11 namespace device {
12 12
13 class VibrationManagerImpl { 13 class VibrationManagerImpl {
14 public: 14 public:
15 DEVICE_VIBRATION_EXPORT static void Create( 15 DEVICE_VIBRATION_EXPORT static void Create(
16 mojo::InterfaceRequest<mojom::VibrationManager> request); 16 mojo::InterfaceRequest<mojom::VibrationManager> request);
17
18 DEVICE_VIBRATION_EXPORT static int64_t milli_seconds_for_testing_;
19 DEVICE_VIBRATION_EXPORT static bool cancelled_for_testing_;
17 }; 20 };
18 21
19 } // namespace device 22 } // namespace device
20 23
21 #endif // DEVICE_VIBRATION_VIBRATION_MANAGER_IMPL_H_ 24 #endif // DEVICE_VIBRATION_VIBRATION_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698