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

Unified Diff: device/gamepad/gamepad_provider.h

Issue 2466073002: Movw GamepadService out of content/browser/ and into device/ (Closed)
Patch Set: Fixed everything but one unittest Created 4 years, 1 month 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/BUILD.gn ('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..d7cccffa572a01eb880a11885c1c4b813c5a87b9 100644
--- a/device/gamepad/gamepad_provider.h
+++ b/device/gamepad/gamepad_provider.h
@@ -42,12 +42,10 @@ class DEVICE_GAMEPAD_EXPORT GamepadProvider
public base::SystemMonitor::DevicesChangedObserver {
public:
explicit GamepadProvider(
- std::unique_ptr<GamepadSharedBuffer> buffer,
GamepadConnectionChangeClient* connection_change_client);
// Manually specifies the data fetcher. Used for testing.
explicit GamepadProvider(
- std::unique_ptr<GamepadSharedBuffer> buffer,
GamepadConnectionChangeClient* connection_change_client,
std::unique_ptr<GamepadDataFetcher> fetcher);
@@ -153,6 +151,7 @@ class DEVICE_GAMEPAD_EXPORT GamepadProvider
base::Lock shared_memory_lock_;
std::unique_ptr<GamepadSharedBuffer> gamepad_shared_buffer_;
+ base::SharedMemory* gamepad_shared_memory;
// Polling is done on this background thread.
std::unique_ptr<base::Thread> polling_thread_;
« no previous file with comments | « device/gamepad/BUILD.gn ('k') | device/gamepad/gamepad_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698