summaryrefslogtreecommitdiffstats
path: root/base/run_loop.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/run_loop.h')
-rw-r--r--base/run_loop.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/base/run_loop.h b/base/run_loop.h
index 0dce634..112bb79 100644
--- a/base/run_loop.h
+++ b/base/run_loop.h
@@ -27,14 +27,12 @@ class MessagePumpUIApplication;
class BASE_EXPORT RunLoop {
public:
RunLoop();
-#if !defined(OS_MACOSX) && !defined(OS_ANDROID) && \
- !defined(USE_GTK_MESSAGE_PUMP)
+#if defined(USE_AURA)
explicit RunLoop(MessageLoop::Dispatcher* dispatcher);
#endif
~RunLoop();
-#if !defined(OS_MACOSX) && !defined(OS_ANDROID) && \
- !defined(USE_GTK_MESSAGE_PUMP)
+#if defined(USE_AURA)
void set_dispatcher(MessageLoop::Dispatcher* dispatcher) {
dispatcher_ = dispatcher;
}
@@ -97,8 +95,7 @@ class BASE_EXPORT RunLoop {
// Parent RunLoop or NULL if this is the top-most RunLoop.
RunLoop* previous_run_loop_;
-#if !defined(OS_MACOSX) && !defined(OS_ANDROID) && \
- !defined(USE_GTK_MESSAGE_PUMP)
+#if defined(USE_AURA)
MessageLoop::Dispatcher* dispatcher_;
#endif