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

Unified Diff: content/browser/renderer_host/pepper/pepper_gamepad_host.h

Issue 2563483006: Move gamepad_service out of content/ and into device/ (Closed)
Patch Set: addressed Blundell's review comments 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/renderer_host/pepper/pepper_gamepad_host.h
diff --git a/content/browser/renderer_host/pepper/pepper_gamepad_host.h b/content/browser/renderer_host/pepper/pepper_gamepad_host.h
index 0da28d93f5c13d4d03f35d9e35296c1120ddf0ab..6cc24229dbb373f88db70ee23d77479879d712f2 100644
--- a/content/browser/renderer_host/pepper/pepper_gamepad_host.h
+++ b/content/browser/renderer_host/pepper/pepper_gamepad_host.h
@@ -14,6 +14,10 @@
#include "device/gamepad/gamepad_consumer.h"
#include "ppapi/host/resource_host.h"
+namespace device {
+class GamepadService;
+}
+
namespace ppapi {
namespace host {
struct ReplyMessageContext;
@@ -23,7 +27,6 @@ struct ReplyMessageContext;
namespace content {
class BrowserPpapiHost;
-class GamepadService;
class CONTENT_EXPORT PepperGamepadHost :
public ppapi::host::ResourceHost,
@@ -35,7 +38,7 @@ class CONTENT_EXPORT PepperGamepadHost :
// Allows tests to specify a gamepad service to use rather than the global
// singleton. The caller owns the gamepad_service pointer.
- PepperGamepadHost(GamepadService* gamepad_service,
+ PepperGamepadHost(device::GamepadService* gamepad_service,
BrowserPpapiHost* host,
PP_Instance instance,
PP_Resource resource);
@@ -59,7 +62,7 @@ class CONTENT_EXPORT PepperGamepadHost :
BrowserPpapiHost* browser_ppapi_host_;
- GamepadService* gamepad_service_;
+ device::GamepadService* gamepad_service_;
bool is_started_;
« no previous file with comments | « content/browser/renderer_host/gamepad_monitor.cc ('k') | content/browser/renderer_host/pepper/pepper_gamepad_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698