Chromium Code Reviews| Index: content/browser/vibration/vibration_service.cc |
| diff --git a/content/browser/vibration/vibration_service.cc b/content/browser/vibration/vibration_service.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1550b6863224f059d618a3609cef606aac4a8736 |
| --- /dev/null |
| +++ b/content/browser/vibration/vibration_service.cc |
| @@ -0,0 +1,22 @@ |
| +// Copyright (c) 2013 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 "content/browser/vibration/vibration_service.h" |
| + |
| +#include "build/build_config.h" |
| +#if defined(OS_ANDROID) |
| +#include "content/browser/vibration/vibration_service_impl_android.h" |
| +#endif |
| + |
| +namespace content { |
| + |
| +// static |
| +VibrationService* VibrationService::Create() { |
| +#if defined(OS_ANDROID) |
|
bulach
2013/06/20 14:21:04
probably better to #if !defined(OS_ANDROID) the wh
Michael van Ouwerkerk
2013/06/20 17:34:09
Done.
|
| + return new VibrationServiceImplAndroid(); |
| +#endif |
| + return 0; |
| +} |
| + |
| +} // namespace content |