Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / mojo / common / handle_watcher.h
index f40ae88..dfcb145 100644 (file)
@@ -48,10 +48,12 @@ class MOJO_COMMON_EXPORT HandleWatcher {
   void Stop();
 
  private:
-  class State;
+  class StateBase;
+  class SameThreadWatchingState;
+  class SecondaryThreadWatchingState;
 
   // If non-NULL Start() has been invoked.
-  scoped_ptr<State> state_;
+  scoped_ptr<StateBase> state_;
 
   DISALLOW_COPY_AND_ASSIGN(HandleWatcher);
 };