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

Side by Side Diff: base/message_loop_proxy.h

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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.h ('k') | base/message_loop_unittest.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_PROXY_H_ 5 #ifndef BASE_MESSAGE_LOOP_PROXY_H_
6 #define BASE_MESSAGE_LOOP_PROXY_H_ 6 #define BASE_MESSAGE_LOOP_PROXY_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/base_export.h" 9 #include "base/base_export.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/message_loop_helpers.h" 13 #include "base/message_loop_helpers.h"
14 #include "base/task.h"
15 14
16 namespace tracked_objects { 15 namespace tracked_objects {
17 class Location; 16 class Location;
18 } // namespace tracked_objects 17 } // namespace tracked_objects
19 18
20 namespace base { 19 namespace base {
21 20
22 struct MessageLoopProxyTraits; 21 struct MessageLoopProxyTraits;
23 22
24 // This class provides a thread-safe refcounted interface to the Post* methods 23 // This class provides a thread-safe refcounted interface to the Post* methods
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 141
143 struct MessageLoopProxyTraits { 142 struct MessageLoopProxyTraits {
144 static void Destruct(const MessageLoopProxy* proxy) { 143 static void Destruct(const MessageLoopProxy* proxy) {
145 proxy->OnDestruct(); 144 proxy->OnDestruct();
146 } 145 }
147 }; 146 };
148 147
149 } // namespace base 148 } // namespace base
150 149
151 #endif // BASE_MESSAGE_LOOP_PROXY_H_ 150 #endif // BASE_MESSAGE_LOOP_PROXY_H_
OLDNEW
« no previous file with comments | « base/message_loop.h ('k') | base/message_loop_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698