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_; |