diff options
Diffstat (limited to 'remoting/client/plugin/pepper_view_proxy.h')
-rw-r--r-- | remoting/client/plugin/pepper_view_proxy.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/remoting/client/plugin/pepper_view_proxy.h b/remoting/client/plugin/pepper_view_proxy.h index b9053b3..4f65ce6 100644 --- a/remoting/client/plugin/pepper_view_proxy.h +++ b/remoting/client/plugin/pepper_view_proxy.h @@ -19,6 +19,10 @@ #include "base/memory/ref_counted.h" #include "remoting/client/plugin/pepper_view.h" +namespace base { +class MessageLoopProxy; +} // namespace base + namespace remoting { class ChromotingInstance; @@ -28,7 +32,8 @@ class PepperViewProxy : public base::RefCountedThreadSafe<PepperViewProxy>, public ChromotingView, public FrameConsumer { public: - PepperViewProxy(ChromotingInstance* instance, PepperView* view); + PepperViewProxy(ChromotingInstance* instance, PepperView* view, + base::MessageLoopProxy* plugin_message_loop); virtual ~PepperViewProxy(); // ChromotingView implementation. @@ -76,6 +81,8 @@ class PepperViewProxy : public base::RefCountedThreadSafe<PepperViewProxy>, // necessary. PepperView* view_; + scoped_refptr<base::MessageLoopProxy> plugin_message_loop_; + DISALLOW_COPY_AND_ASSIGN(PepperViewProxy); }; |