Commit e8e902da authored by joi@chromium.org's avatar joi@chromium.org

Fix a possible mismatch in OS-specific code in WaitableEventWatcher.

Also, sort headers to the extent possible.

BUG=none


Review URL: http://codereview.chromium.org/8776008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112678 0039d316-1c4b-4281-b951-d872f2087c98
parent cf956b98
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#define BASE_SYNCHRONIZATION_WAITABLE_EVENT_WATCHER_H_ #define BASE_SYNCHRONIZATION_WAITABLE_EVENT_WATCHER_H_
#pragma once #pragma once
#include "base/base_export.h"
#include "build/build_config.h" #include "build/build_config.h"
#if defined(OS_WIN) #if defined(OS_WIN)
...@@ -16,8 +17,6 @@ ...@@ -16,8 +17,6 @@
#include "base/synchronization/waitable_event.h" #include "base/synchronization/waitable_event.h"
#endif #endif
#include "base/base_export.h"
namespace base { namespace base {
class Flag; class Flag;
...@@ -62,7 +61,7 @@ class WaitableEvent; ...@@ -62,7 +61,7 @@ class WaitableEvent;
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
class BASE_EXPORT WaitableEventWatcher class BASE_EXPORT WaitableEventWatcher
#if defined(OS_POSIX) #if !defined(OS_WIN)
: public MessageLoop::DestructionObserver : public MessageLoop::DestructionObserver
#endif #endif
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment