Index: chrome/common/child_process.h |
diff --git a/chrome/common/child_process.h b/chrome/common/child_process.h |
index a74205a824b167f4be019ba027b8190ddd508d23..4a63efbd43a44a7349c95e47338635cab2526c1c 100644 |
--- a/chrome/common/child_process.h |
+++ b/chrome/common/child_process.h |
@@ -10,6 +10,9 @@ |
#include "base/basictypes.h" |
#include "base/message_loop.h" |
+namespace base { |
+ class WaitableEvent; |
+}; |
class ChildProcess; |
@@ -53,7 +56,7 @@ class ChildProcess { |
// up waiting. |
// For example, see the renderer code used to implement |
// webkit_glue::GetCookies. |
- static HANDLE GetShutDownEvent(); |
+ static base::WaitableEvent* GetShutDownEvent(); |
// You must call Init after creating this object before it will be valid |
ChildProcess(); |
@@ -80,7 +83,7 @@ class ChildProcess { |
// Derived classes can override this to handle any cleanup, called by |
// GlobalCleanup. |
virtual void Cleanup() {} |
- static HANDLE shutdown_event_; |
+ static base::WaitableEvent* shutdown_event_; |
DISALLOW_EVIL_CONSTRUCTORS(ChildProcess); |
}; |