| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Define the default data fetcher that GamepadProvider will use if none is | 5 // Define the default data fetcher that GamepadProvider will use if none is |
| 6 // supplied. (GamepadPlatformDataFetcher). | 6 // supplied. (GamepadPlatformDataFetcher). |
| 7 | 7 |
| 8 #ifndef CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_H_ | 8 #ifndef CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_H_ |
| 9 #define CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_H_ | 9 #define CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_H_ |
| 10 | 10 |
| 11 #include "base/basictypes.h" | |
| 12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
| 13 #include "build/build_config.h" |
| 13 #include "content/browser/gamepad/gamepad_data_fetcher.h" | 14 #include "content/browser/gamepad/gamepad_data_fetcher.h" |
| 14 | 15 |
| 15 #if defined(OS_ANDROID) | 16 #if defined(OS_ANDROID) |
| 16 #include "content/browser/gamepad/gamepad_platform_data_fetcher_android.h" | 17 #include "content/browser/gamepad/gamepad_platform_data_fetcher_android.h" |
| 17 #elif defined(OS_WIN) | 18 #elif defined(OS_WIN) |
| 18 #include "content/browser/gamepad/gamepad_platform_data_fetcher_win.h" | 19 #include "content/browser/gamepad/gamepad_platform_data_fetcher_win.h" |
| 19 #elif defined(OS_MACOSX) | 20 #elif defined(OS_MACOSX) |
| 20 #include "content/browser/gamepad/gamepad_platform_data_fetcher_mac.h" | 21 #include "content/browser/gamepad/gamepad_platform_data_fetcher_mac.h" |
| 21 #elif defined(OS_LINUX) | 22 #elif defined(OS_LINUX) |
| 22 #include "content/browser/gamepad/gamepad_platform_data_fetcher_linux.h" | 23 #include "content/browser/gamepad/gamepad_platform_data_fetcher_linux.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 52 private: | 53 private: |
| 53 DISALLOW_COPY_AND_ASSIGN(GamepadDataFetcherEmpty); | 54 DISALLOW_COPY_AND_ASSIGN(GamepadDataFetcherEmpty); |
| 54 }; | 55 }; |
| 55 typedef GamepadDataFetcherEmpty GamepadPlatformDataFetcher; | 56 typedef GamepadDataFetcherEmpty GamepadPlatformDataFetcher; |
| 56 | 57 |
| 57 #endif | 58 #endif |
| 58 | 59 |
| 59 } // namespace content | 60 } // namespace content |
| 60 | 61 |
| 61 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_H_ | 62 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_H_ |
| OLD | NEW |