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

Side by Side Diff: base/message_loop/message_pump_default.h

Issue 17078005: Move message_pump to base/message_loop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « base/message_loop/message_pump_aurax11.cc ('k') | base/message_loop/message_pump_default.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 BASE_MESSAGE_PUMP_DEFAULT_H_ 5 #ifndef BASE_MESSAGE_LOOP_MESSAGE_PUMP_DEFAULT_H_
6 #define BASE_MESSAGE_PUMP_DEFAULT_H_ 6 #define BASE_MESSAGE_LOOP_MESSAGE_PUMP_DEFAULT_H_
7 7
8 #include "base/message_pump.h" 8 #include "base/message_loop/message_pump.h"
9 #include "base/synchronization/waitable_event.h"
9 #include "base/time.h" 10 #include "base/time.h"
10 #include "base/synchronization/waitable_event.h"
11 11
12 namespace base { 12 namespace base {
13 13
14 class MessagePumpDefault : public MessagePump { 14 class MessagePumpDefault : public MessagePump {
15 public: 15 public:
16 MessagePumpDefault(); 16 MessagePumpDefault();
17 17
18 // MessagePump methods: 18 // MessagePump methods:
19 virtual void Run(Delegate* delegate) OVERRIDE; 19 virtual void Run(Delegate* delegate) OVERRIDE;
20 virtual void Quit() OVERRIDE; 20 virtual void Quit() OVERRIDE;
(...skipping 11 matching lines...) Expand all
32 WaitableEvent event_; 32 WaitableEvent event_;
33 33
34 // The time at which we should call DoDelayedWork. 34 // The time at which we should call DoDelayedWork.
35 TimeTicks delayed_work_time_; 35 TimeTicks delayed_work_time_;
36 36
37 DISALLOW_COPY_AND_ASSIGN(MessagePumpDefault); 37 DISALLOW_COPY_AND_ASSIGN(MessagePumpDefault);
38 }; 38 };
39 39
40 } // namespace base 40 } // namespace base
41 41
42 #endif // BASE_MESSAGE_PUMP_DEFAULT_H_ 42 #endif // BASE__MESSAGE_LOOPMESSAGE_PUMP_DEFAULT_H_
OLDNEW
« no previous file with comments | « base/message_loop/message_pump_aurax11.cc ('k') | base/message_loop/message_pump_default.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698