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_PUBLIC_BROWSER_AFTER_STARTUP_TASK_POSTER_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_AFTER_STARTUP_TASK_POSTER_H_ |
| 7 |
| 8 #include "base/bind.h" |
| 9 #include "base/location.h" |
| 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/task_runner.h" |
| 12 #include "content/common/content_export.h" |
| 13 |
| 14 namespace content { |
| 15 |
| 16 class CONTENT_EXPORT AfterStartupTaskPoster { |
| 17 public: |
| 18 virtual void PostAfterStartup( |
| 19 const tracked_objects::Location& from_here, |
| 20 const scoped_refptr<base::TaskRunner>& task_runner, |
| 21 const base::Closure& task) = 0; |
| 22 |
| 23 virtual void PostAfterStartupAndReply( |
| 24 const tracked_objects::Location& from_here, |
| 25 const scoped_refptr<base::TaskRunner>& task_runner, |
| 26 const base::Closure& task, |
| 27 const base::Closure& reply) = 0; |
| 28 }; |
| 29 |
| 30 } // namespace content |
| 31 |
| 32 #endif // CONTENT_PUBLIC_BROWSER_AFTER_STARTUP_TASK_POSTER_H_ |
OLD | NEW |