Don't add extra app list launcher page webviews.
[chromium-blink-merge.git] / device / vibration / vibration_manager_impl_default.cc
blobc82a9591803c53b10c78f6966c2d642cc920bc40
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"
8 #include "base/bind.h"
10 namespace device {
12 namespace {
14 class VibrationManagerEmptyImpl : public mojo::InterfaceImpl<VibrationManager> {
15 public:
16 static VibrationManagerEmptyImpl* Create() {
17 return new VibrationManagerEmptyImpl();
20 void Vibrate(int64 milliseconds) override {}
21 void Cancel() override {}
23 private:
24 VibrationManagerEmptyImpl() {}
25 ~VibrationManagerEmptyImpl() override {}
28 } // namespace
30 //static
31 void VibrationManagerImpl::Create(
32 mojo::InterfaceRequest<VibrationManager> request) {
33 BindToRequest(VibrationManagerEmptyImpl::Create(), &request);
36 } // namespace device