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

Unified Diff: device/gamepad/gamepad_platform_data_fetcher_linux.h

Issue 2808093006: [Device Service] Move Gamepad Blink headers to be part of the Gamepad client library (Closed)
Patch Set: rebase and address comments Created 3 years, 8 months 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
Index: device/gamepad/gamepad_platform_data_fetcher_linux.h
diff --git a/device/gamepad/gamepad_platform_data_fetcher_linux.h b/device/gamepad/gamepad_platform_data_fetcher_linux.h
index da22ba3c60c8148fe0b3f7495d1a2a6583c9b3e3..0d51e279c0e530b5fc00bfe97b2ad5a419c0b479 100644
--- a/device/gamepad/gamepad_platform_data_fetcher_linux.h
+++ b/device/gamepad/gamepad_platform_data_fetcher_linux.h
@@ -13,6 +13,7 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "device/gamepad/gamepad_data_fetcher.h"
+#include "device/gamepad/public/cpp/gamepads.h"
extern "C" {
struct udev_device;
@@ -47,7 +48,7 @@ class DEVICE_GAMEPAD_EXPORT GamepadPlatformDataFetcherLinux
void ReadDeviceData(size_t index);
// File descriptor for the /dev/input/js* devices. -1 if not in use.
- int device_fd_[blink::WebGamepads::kItemsLengthCap];
+ int device_fd_[Gamepads::kItemsLengthCap];
std::unique_ptr<device::UdevLinux> udev_;
« no previous file with comments | « device/gamepad/gamepad_platform_data_fetcher_android.cc ('k') | device/gamepad/gamepad_platform_data_fetcher_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698