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

Unified Diff: content/browser/gamepad/gamepad_service.h

Issue 2522843002: Convert Gamepad IPC messages into mojo interface. (Closed)
Patch Set: add GetSharedMemoryHandle() in GamepadService. 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
Index: content/browser/gamepad/gamepad_service.h
diff --git a/content/browser/gamepad/gamepad_service.h b/content/browser/gamepad/gamepad_service.h
index b32b42d93030512d76baf16a086a2c8f0f327b46..75d9cb7e05973dce06696eb9c6de369138849ad9 100644
--- a/content/browser/gamepad/gamepad_service.h
+++ b/content/browser/gamepad/gamepad_service.h
@@ -74,6 +74,9 @@ class CONTENT_EXPORT GamepadService
base::SharedMemoryHandle GetSharedMemoryHandleForProcess(
base::ProcessHandle handle);
+ // Returns the shared memory handle of the gamepad data.
+ base::SharedMemoryHandle GetSharedMemoryHandle();
blundell 2016/12/05 15:22:34 Ah, I just thought of something even better: This
ke.he 2016/12/06 09:51:27 Done.
+
// Stop/join with the background thread in GamepadProvider |provider_|.
void Terminate();

Powered by Google App Engine
This is Rietveld 408576698