diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-02 12:55:12 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-02 12:55:12 +0000 |
commit | e8e902da45065c9562fc3b6582e919d6f3bf6f4a (patch) | |
tree | 6122362409033aaea2f7d20ac44ae7ae4061838c /base/synchronization | |
parent | cf956b98be25b8c06fb72a1bfa3c114281bbb9fc (diff) | |
download | chromium_src-e8e902da45065c9562fc3b6582e919d6f3bf6f4a.zip chromium_src-e8e902da45065c9562fc3b6582e919d6f3bf6f4a.tar.gz chromium_src-e8e902da45065c9562fc3b6582e919d6f3bf6f4a.tar.bz2 |
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
Diffstat (limited to 'base/synchronization')
-rw-r--r-- | base/synchronization/waitable_event_watcher.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/base/synchronization/waitable_event_watcher.h b/base/synchronization/waitable_event_watcher.h index 966a468..1512acc 100644 --- a/base/synchronization/waitable_event_watcher.h +++ b/base/synchronization/waitable_event_watcher.h @@ -6,6 +6,7 @@ #define BASE_SYNCHRONIZATION_WAITABLE_EVENT_WATCHER_H_ #pragma once +#include "base/base_export.h" #include "build/build_config.h" #if defined(OS_WIN) @@ -16,8 +17,6 @@ #include "base/synchronization/waitable_event.h" #endif -#include "base/base_export.h" - namespace base { class Flag; @@ -62,7 +61,7 @@ class WaitableEvent; // ----------------------------------------------------------------------------- class BASE_EXPORT WaitableEventWatcher -#if defined(OS_POSIX) +#if !defined(OS_WIN) : public MessageLoop::DestructionObserver #endif { |