OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_BROWSER_AFTER_STARTUP_TASK_POSTER_IMPL_H_ |
| 6 #define CONTENT_BROWSER_AFTER_STARTUP_TASK_POSTER_IMPL_H_ |
| 7 |
| 8 #include "content/public/browser/after_startup_task_poster.h" |
| 9 |
| 10 namespace content { |
| 11 |
| 12 class DefaultAfterStartupTaskPoster : public AfterStartupTaskPoster { |
| 13 public: |
| 14 void PostAfterStartup( |
| 15 const tracked_objects::Location& from_here, |
| 16 const scoped_refptr<base::TaskRunner>& task_runner, |
| 17 const base::Closure& task) override; |
| 18 |
| 19 void PostAfterStartupAndReply( |
| 20 const tracked_objects::Location& from_here, |
| 21 const scoped_refptr<base::TaskRunner>& task_runner, |
| 22 const base::Closure& task, |
| 23 const base::Closure& reply) override; |
| 24 }; |
| 25 |
| 26 |
| 27 AfterStartupTaskPoster& GetAfterStartupTaskPoster(); |
| 28 void SetAfterStartupTaskPoster(AfterStartupTaskPoster* task_poster); |
| 29 |
| 30 } // namespace content |
| 31 |
| 32 #endif // CONTENT_BROWSER_AFTER_STARTUP_TASK_POSTER_IMPL_H_ |
OLD | NEW |