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

Unified Diff: device/gamepad/gamepad_shared_buffer.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
« no previous file with comments | « device/gamepad/gamepad_service_unittest.cc ('k') | device/gamepad/gamepad_shared_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/gamepad/gamepad_shared_buffer.h
diff --git a/device/gamepad/gamepad_shared_buffer.h b/device/gamepad/gamepad_shared_buffer.h
index b98e9616b9269ae809b6e71d8314658e102b24d6..1eb7b933795c82bfcc5e3ba9b6f6b9d4cc0a748b 100644
--- a/device/gamepad/gamepad_shared_buffer.h
+++ b/device/gamepad/gamepad_shared_buffer.h
@@ -8,7 +8,7 @@
#include "base/memory/shared_memory.h"
#include "device/base/synchronization/shared_memory_seqlock_buffer.h"
#include "device/gamepad/gamepad_export.h"
-#include "third_party/WebKit/public/platform/WebGamepads.h"
+#include "device/gamepad/public/cpp/gamepads.h"
namespace device {
@@ -25,7 +25,7 @@ namespace device {
*/
-typedef SharedMemorySeqLockBuffer<blink::WebGamepads> GamepadHardwareBuffer;
+typedef SharedMemorySeqLockBuffer<Gamepads> GamepadHardwareBuffer;
class DEVICE_GAMEPAD_EXPORT GamepadSharedBuffer {
public:
@@ -33,7 +33,7 @@ class DEVICE_GAMEPAD_EXPORT GamepadSharedBuffer {
~GamepadSharedBuffer();
base::SharedMemory* shared_memory();
- blink::WebGamepads* buffer();
+ Gamepads* buffer();
GamepadHardwareBuffer* hardware_buffer();
void WriteBegin();
« no previous file with comments | « device/gamepad/gamepad_service_unittest.cc ('k') | device/gamepad/gamepad_shared_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698