Index: content/browser/gamepad/gamepad_provider.h |
diff --git a/content/browser/gamepad/gamepad_provider.h b/content/browser/gamepad/gamepad_provider.h |
index a81061a21f53c03be8251899b48e2b272d8fef75..ce9c11a8e0963e55d0ab1c73aee7507b741d6bf3 100644 |
--- a/content/browser/gamepad/gamepad_provider.h |
+++ b/content/browser/gamepad/gamepad_provider.h |
@@ -13,14 +13,13 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/shared_memory.h" |
#include "base/memory/weak_ptr.h" |
-#include "base/message_loop/message_loop_proxy.h" |
#include "base/synchronization/lock.h" |
#include "base/system_monitor/system_monitor.h" |
#include "content/common/content_export.h" |
#include "third_party/WebKit/public/platform/WebGamepads.h" |
namespace base { |
-class MessageLoopProxy; |
+class SingleThreadTaskRunner; |
class Thread; |
} |
@@ -105,11 +104,11 @@ class CONTENT_EXPORT GamepadProvider : |
base::Lock user_gesture_lock_; |
struct ClosureAndThread { |
ClosureAndThread(const base::Closure& c, |
- const scoped_refptr<base::MessageLoopProxy>& m); |
+ const scoped_refptr<base::SingleThreadTaskRunner>& m); |
~ClosureAndThread(); |
base::Closure closure; |
- scoped_refptr<base::MessageLoopProxy> message_loop; |
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner; |
}; |
typedef std::vector<ClosureAndThread> UserGestureObserverVector; |
UserGestureObserverVector user_gesture_observers_; |