OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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.h" | 11 #include "base/callback_forward.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/task.h" | 13 #include "base/task.h" |
14 | 14 |
15 namespace tracked_objects { | 15 namespace tracked_objects { |
16 class Location; | 16 class Location; |
17 } // namespace tracked_objects | 17 } // namespace tracked_objects |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 | 20 |
21 struct MessageLoopProxyTraits; | 21 struct MessageLoopProxyTraits; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 148 |
149 struct MessageLoopProxyTraits { | 149 struct MessageLoopProxyTraits { |
150 static void Destruct(const MessageLoopProxy* proxy) { | 150 static void Destruct(const MessageLoopProxy* proxy) { |
151 proxy->OnDestruct(); | 151 proxy->OnDestruct(); |
152 } | 152 } |
153 }; | 153 }; |
154 | 154 |
155 } // namespace base | 155 } // namespace base |
156 | 156 |
157 #endif // BASE_MESSAGE_LOOP_PROXY_H_ | 157 #endif // BASE_MESSAGE_LOOP_PROXY_H_ |
OLD | NEW |