OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 BackgroundTaskRunner_h | 5 #ifndef BackgroundTaskRunner_h |
6 #define BackgroundTaskRunner_h | 6 #define BackgroundTaskRunner_h |
7 | 7 |
8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
9 #include "platform/wtf/Functional.h" | 9 #include "platform/wtf/Functional.h" |
10 #include "public/platform/WebTraceLocation.h" | 10 #include "public/platform/WebTraceLocation.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 namespace BackgroundTaskRunner { | 14 namespace BackgroundTaskRunner { |
15 | 15 |
16 PLATFORM_EXPORT void PostOnBackgroundThread( | 16 PLATFORM_EXPORT void PostOnBackgroundThread( |
17 const WebTraceLocation&, | 17 const WebTraceLocation&, |
18 std::unique_ptr<CrossThreadClosure>); | 18 std::unique_ptr<CrossThreadClosure>); |
19 | 19 |
20 } // BackgroundTaskRunner | 20 } // namespace BackgroundTaskRunner |
21 | 21 |
22 } // namespace blink | 22 } // namespace blink |
23 | 23 |
24 #endif | 24 #endif |
OLD | NEW |