OLD | NEW |
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 #include "base/sequenced_task_runner.h" | 5 #include "base/sequenced_task_runner.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 | 8 |
9 namespace base { | 9 namespace base { |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 } | 22 } |
23 | 23 |
24 bool SequencedTaskRunner::ReleaseSoonInternal( | 24 bool SequencedTaskRunner::ReleaseSoonInternal( |
25 const tracked_objects::Location& from_here, | 25 const tracked_objects::Location& from_here, |
26 void(*releaser)(const void*), | 26 void(*releaser)(const void*), |
27 const void* object) { | 27 const void* object) { |
28 return PostNonNestableTask(from_here, Bind(releaser, object)); | 28 return PostNonNestableTask(from_here, Bind(releaser, object)); |
29 } | 29 } |
30 | 30 |
31 } // namespace base | 31 } // namespace base |
OLD | NEW |