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

Unified Diff: device/gamepad/gamepad_provider.h

Issue 2522843002: Convert Gamepad IPC messages into mojo interface. (Closed)
Patch Set: code rebase Created 4 years 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 | « content/renderer/gamepad_shared_memory_reader.cc ('k') | device/gamepad/gamepad_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/gamepad/gamepad_provider.h
diff --git a/device/gamepad/gamepad_provider.h b/device/gamepad/gamepad_provider.h
index faed53d5bc883a9c51f987f244f44e516b0ec794..6b24340ad0baa47e7f4b4fb9a0f90507f6a5b539 100644
--- a/device/gamepad/gamepad_provider.h
+++ b/device/gamepad/gamepad_provider.h
@@ -58,6 +58,11 @@ class DEVICE_GAMEPAD_EXPORT GamepadProvider
base::SharedMemoryHandle GetSharedMemoryHandleForProcess(
base::ProcessHandle renderer_process);
+ // TODO(heke) Change to mojo::ScopedSharedBufferHandle GetSharedBufferHandle()
+ // See crbug/671928 for details.
+ // Returns the shared memory handle of the gamepad data.
+ base::SharedMemoryHandle GetSharedMemoryHandle();
+
void AddGamepadDataFetcher(GamepadDataFetcher* fetcher);
void RemoveGamepadDataFetcher(GamepadDataFetcher* fetcher);
« no previous file with comments | « content/renderer/gamepad_shared_memory_reader.cc ('k') | device/gamepad/gamepad_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698