Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Side by Side Diff: mojo/message_pump/message_pump_mojo.h

Issue 1262173005: Straightens outs DEPS in mojo/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add dep on system_for_component Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/message_pump/handle_watcher_unittest.cc ('k') | mojo/message_pump/message_pump_mojo.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_COMMON_MESSAGE_PUMP_MOJO_H_ 5 #ifndef MOJO_MESSAGE_PUMP_MESSAGE_PUMP_MOJO_H_
6 #define MOJO_COMMON_MESSAGE_PUMP_MOJO_H_ 6 #define MOJO_MESSAGE_PUMP_MESSAGE_PUMP_MOJO_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/message_loop/message_pump.h" 12 #include "base/message_loop/message_pump.h"
13 #include "base/observer_list.h" 13 #include "base/observer_list.h"
14 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
15 #include "base/time/time.h" 15 #include "base/time/time.h"
16 #include "mojo/common/mojo_common_export.h" 16 #include "mojo/message_pump/mojo_message_pump_export.h"
17 #include "third_party/mojo/src/mojo/public/cpp/system/core.h" 17 #include "third_party/mojo/src/mojo/public/cpp/system/core.h"
18 18
19 namespace mojo { 19 namespace mojo {
20 namespace common { 20 namespace common {
21 21
22 class MessagePumpMojoHandler; 22 class MessagePumpMojoHandler;
23 23
24 // Mojo implementation of MessagePump. 24 // Mojo implementation of MessagePump.
25 class MOJO_COMMON_EXPORT MessagePumpMojo : public base::MessagePump { 25 class MOJO_MESSAGE_PUMP_EXPORT MessagePumpMojo : public base::MessagePump {
26 public: 26 public:
27 class Observer { 27 class MOJO_MESSAGE_PUMP_EXPORT Observer {
28 public: 28 public:
29 Observer() {} 29 Observer() {}
30 30
31 virtual void WillSignalHandler() = 0; 31 virtual void WillSignalHandler() = 0;
32 virtual void DidSignalHandler() = 0; 32 virtual void DidSignalHandler() = 0;
33 33
34 protected: 34 protected:
35 virtual ~Observer() {} 35 virtual ~Observer() {}
36 }; 36 };
37 37
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 int next_handler_id_; 126 int next_handler_id_;
127 127
128 base::ObserverList<Observer> observers_; 128 base::ObserverList<Observer> observers_;
129 129
130 DISALLOW_COPY_AND_ASSIGN(MessagePumpMojo); 130 DISALLOW_COPY_AND_ASSIGN(MessagePumpMojo);
131 }; 131 };
132 132
133 } // namespace common 133 } // namespace common
134 } // namespace mojo 134 } // namespace mojo
135 135
136 #endif // MOJO_COMMON_MESSAGE_PUMP_MOJO_H_ 136 #endif // MOJO_MESSAGE_PUMP_MESSAGE_PUMP_MOJO_H_
OLDNEW
« no previous file with comments | « mojo/message_pump/handle_watcher_unittest.cc ('k') | mojo/message_pump/message_pump_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698