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
3 // found in the LICENSE file.
5 #include "device/vibration/vibration_manager_impl.h"
7 #include "base/basictypes.h"
14 class VibrationManagerEmptyImpl
: public mojo::InterfaceImpl
<VibrationManager
> {
16 static VibrationManagerEmptyImpl
* Create() {
17 return new VibrationManagerEmptyImpl();
20 void Vibrate(int64 milliseconds
) override
{}
21 void Cancel() override
{}
24 VibrationManagerEmptyImpl() {}
25 ~VibrationManagerEmptyImpl() override
{}
31 void VibrationManagerImpl::Create(
32 mojo::InterfaceRequest
<VibrationManager
> request
) {
33 BindToRequest(VibrationManagerEmptyImpl::Create(), &request
);