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

Side by Side Diff: base/message_loop.h

Issue 46039: Removed unneeded includes of base/scoped_ptr.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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/logging.h ('k') | base/message_pump_glib.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_LOOP_H_ 5 #ifndef BASE_MESSAGE_LOOP_H_
6 #define BASE_MESSAGE_LOOP_H_ 6 #define BASE_MESSAGE_LOOP_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/histogram.h" 13 #include "base/histogram.h"
14 #include "base/message_pump.h" 14 #include "base/message_pump.h"
15 #include "base/observer_list.h" 15 #include "base/observer_list.h"
16 #include "base/ref_counted.h" 16 #include "base/ref_counted.h"
17 #include "base/scoped_ptr.h"
17 #include "base/task.h" 18 #include "base/task.h"
18 #include "base/timer.h" 19 #include "base/timer.h"
19 20
20 #if defined(OS_WIN) 21 #if defined(OS_WIN)
21 // We need this to declare base::MessagePumpWin::Dispatcher, which we should 22 // We need this to declare base::MessagePumpWin::Dispatcher, which we should
22 // really just eliminate. 23 // really just eliminate.
23 #include "base/message_pump_win.h" 24 #include "base/message_pump_win.h"
24 #elif defined(OS_POSIX) 25 #elif defined(OS_POSIX)
25 #include "base/message_pump_libevent.h" 26 #include "base/message_pump_libevent.h"
26 #endif 27 #endif
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 #endif // defined(OS_POSIX) 492 #endif // defined(OS_POSIX)
492 }; 493 };
493 494
494 // Do not add any member variables to MessageLoopForIO! This is important b/c 495 // Do not add any member variables to MessageLoopForIO! This is important b/c
495 // MessageLoopForIO is often allocated via MessageLoop(TYPE_IO). Any extra 496 // MessageLoopForIO is often allocated via MessageLoop(TYPE_IO). Any extra
496 // data that you need should be stored on the MessageLoop's pump_ instance. 497 // data that you need should be stored on the MessageLoop's pump_ instance.
497 COMPILE_ASSERT(sizeof(MessageLoop) == sizeof(MessageLoopForIO), 498 COMPILE_ASSERT(sizeof(MessageLoop) == sizeof(MessageLoopForIO),
498 MessageLoopForIO_should_not_have_extra_member_variables); 499 MessageLoopForIO_should_not_have_extra_member_variables);
499 500
500 #endif // BASE_MESSAGE_LOOP_H_ 501 #endif // BASE_MESSAGE_LOOP_H_
OLDNEW
« no previous file with comments | « base/logging.h ('k') | base/message_pump_glib.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698