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..3ca56ef35eb0b571caeff356699c1b66c937e4de 100644 |
--- a/content/browser/gamepad/gamepad_service.h |
+++ b/content/browser/gamepad/gamepad_service.h |
@@ -15,6 +15,7 @@ |
#include "base/threading/thread_checker.h" |
#include "content/common/content_export.h" |
#include "device/gamepad/gamepad_provider.h" |
+#include "mojo/public/cpp/system/buffer.h" |
namespace blink { |
class WebGamepad; |
@@ -74,6 +75,9 @@ class CONTENT_EXPORT GamepadService |
base::SharedMemoryHandle GetSharedMemoryHandleForProcess( |
base::ProcessHandle handle); |
+ // Returns the mojo::ScopedSharedBuffer handle of the gamepad data. |
blundell
2016/12/06 12:26:50
nit: s/Returns the/Returns a new
ke.he
2016/12/07 08:05:10
Done.
|
+ mojo::ScopedSharedBufferHandle GetSharedBufferHandle(); |
+ |
// Stop/join with the background thread in GamepadProvider |provider_|. |
void Terminate(); |