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

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

Issue 15682017: Move message_loop to the message_loop directory. (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.cc ('k') | base/message_loop/message_loop.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_LOOP_H_ 5 #ifndef BASE_MESSAGE_LOOP_MESSAGE_LOOP_H_
6 #define BASE_MESSAGE_LOOP_H_ 6 #define BASE_MESSAGE_LOOP_MESSAGE_LOOP_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <string> 9 #include <string>
10 10
11 #include "base/base_export.h" 11 #include "base/base_export.h"
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/callback_forward.h" 13 #include "base/callback_forward.h"
14 #include "base/location.h" 14 #include "base/location.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/message_loop/message_loop_proxy.h" 16 #include "base/message_loop/message_loop_proxy.h"
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 }; 723 };
724 724
725 // Do not add any member variables to MessageLoopForIO! This is important b/c 725 // Do not add any member variables to MessageLoopForIO! This is important b/c
726 // MessageLoopForIO is often allocated via MessageLoop(TYPE_IO). Any extra 726 // MessageLoopForIO is often allocated via MessageLoop(TYPE_IO). Any extra
727 // data that you need should be stored on the MessageLoop's pump_ instance. 727 // data that you need should be stored on the MessageLoop's pump_ instance.
728 COMPILE_ASSERT(sizeof(MessageLoop) == sizeof(MessageLoopForIO), 728 COMPILE_ASSERT(sizeof(MessageLoop) == sizeof(MessageLoopForIO),
729 MessageLoopForIO_should_not_have_extra_member_variables); 729 MessageLoopForIO_should_not_have_extra_member_variables);
730 730
731 } // namespace base 731 } // namespace base
732 732
733 #endif // BASE_MESSAGE_LOOP_H_ 733 #endif // BASE_MESSAGE_LOOP_MESSAGE_LOOP_H_
OLDNEW
« no previous file with comments | « base/message_loop.cc ('k') | base/message_loop/message_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698