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

Unified Diff: device/vibration/vibration_manager_impl_default.cc

Issue 826613003: Revert of Vibration API : migrate to device/vibration using mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/vibration/vibration_manager_impl_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vibration/vibration_manager_impl_default.cc
diff --git a/device/vibration/vibration_manager_impl_default.cc b/device/vibration/vibration_manager_impl_default.cc
deleted file mode 100644
index 09ff3cd786a90e2c9cb75d90801dcf82a233ac0a..0000000000000000000000000000000000000000
--- a/device/vibration/vibration_manager_impl_default.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "device/vibration/vibration_manager_impl.h"
-
-#include "base/basictypes.h"
-#include "base/bind.h"
-
-namespace device {
-
-namespace {
-
-class VibrationManagerEmptyImpl : public mojo::InterfaceImpl<VibrationManager> {
- public:
- static VibrationManagerEmptyImpl* Create() {
- return new VibrationManagerEmptyImpl();
- }
-
- void Vibrate(int64 milliseconds) override {}
- void Cancel() override {}
-
- private:
- VibrationManagerEmptyImpl() {}
- virtual ~VibrationManagerEmptyImpl() {}
-};
-
-} // namespace
-
-//static
-void VibrationManagerImpl::Create(
- mojo::InterfaceRequest<VibrationManager> request) {
- BindToRequest(VibrationManagerEmptyImpl::Create(), &request);
-}
-
-} // namespace device
« no previous file with comments | « device/vibration/vibration_manager_impl_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698