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

Side by Side Diff: base/message_loop/message_pump_win.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_ozone.cc ('k') | base/message_loop/message_pump_win.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_WIN_H_ 5 #ifndef BASE_MESSAGE_LOOP_MESSAGE_PUMP_WIN_H_
6 #define BASE_MESSAGE_PUMP_WIN_H_ 6 #define BASE_MESSAGE_LOOP_MESSAGE_PUMP_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <list> 10 #include <list>
11 11
12 #include "base/base_export.h" 12 #include "base/base_export.h"
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/message_pump.h" 15 #include "base/message_loop/message_pump.h"
16 #include "base/message_pump_dispatcher.h" 16 #include "base/message_loop/message_pump_dispatcher.h"
17 #include "base/message_pump_observer.h" 17 #include "base/message_loop/message_pump_observer.h"
18 #include "base/observer_list.h" 18 #include "base/observer_list.h"
19 #include "base/time.h" 19 #include "base/time.h"
20 #include "base/win/scoped_handle.h" 20 #include "base/win/scoped_handle.h"
21 21
22 namespace base { 22 namespace base {
23 23
24 // MessagePumpWin serves as the base for specialized versions of the MessagePump 24 // MessagePumpWin serves as the base for specialized versions of the MessagePump
25 // for Windows. It provides basic functionality like handling of observers and 25 // for Windows. It provides basic functionality like handling of observers and
26 // controlling the lifetime of the message pump. 26 // controlling the lifetime of the message pump.
27 class BASE_EXPORT MessagePumpWin : public MessagePump { 27 class BASE_EXPORT MessagePumpWin : public MessagePump {
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 win::ScopedHandle port_; 386 win::ScopedHandle port_;
387 // This list will be empty almost always. It stores IO completions that have 387 // This list will be empty almost always. It stores IO completions that have
388 // not been delivered yet because somebody was doing cleanup. 388 // not been delivered yet because somebody was doing cleanup.
389 std::list<IOItem> completed_io_; 389 std::list<IOItem> completed_io_;
390 390
391 ObserverList<IOObserver> io_observers_; 391 ObserverList<IOObserver> io_observers_;
392 }; 392 };
393 393
394 } // namespace base 394 } // namespace base
395 395
396 #endif // BASE_MESSAGE_PUMP_WIN_H_ 396 #endif // BASE_MESSAGE_LOOP_MESSAGE_PUMP_WIN_H_
OLDNEW
« no previous file with comments | « base/message_loop/message_pump_ozone.cc ('k') | base/message_loop/message_pump_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698