Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 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. | |
| 4 | |
| 5 #include "content/browser/vibration/vibration_service.h" | |
| 6 | |
| 7 #include "build/build_config.h" | |
| 8 #if defined(OS_ANDROID) | |
| 9 #include "content/browser/vibration/vibration_service_impl_android.h" | |
| 10 #endif | |
| 11 | |
| 12 namespace content { | |
| 13 | |
| 14 // static | |
| 15 VibrationService* VibrationService::Create() { | |
| 16 #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.
| |
| 17 return new VibrationServiceImplAndroid(); | |
| 18 #endif | |
| 19 return 0; | |
| 20 } | |
| 21 | |
| 22 } // namespace content | |
| OLD | NEW |