| Index: content/public/browser/after_startup_task_poster.h
|
| diff --git a/content/public/browser/after_startup_task_poster.h b/content/public/browser/after_startup_task_poster.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9f76b9c25dab8bd77fcac3a097996428f6779bfb
|
| --- /dev/null
|
| +++ b/content/public/browser/after_startup_task_poster.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright (c) 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_PUBLIC_BROWSER_AFTER_STARTUP_TASK_POSTER_H_
|
| +#define CONTENT_PUBLIC_BROWSER_AFTER_STARTUP_TASK_POSTER_H_
|
| +
|
| +#include "base/bind.h"
|
| +#include "base/location.h"
|
| +#include "base/memory/ref_counted.h"
|
| +#include "base/task_runner.h"
|
| +#include "content/common/content_export.h"
|
| +
|
| +namespace content {
|
| +
|
| +class CONTENT_EXPORT AfterStartupTaskPoster {
|
| + public:
|
| + virtual void PostAfterStartup(
|
| + const tracked_objects::Location& from_here,
|
| + const scoped_refptr<base::TaskRunner>& task_runner,
|
| + const base::Closure& task) = 0;
|
| +
|
| + virtual void PostAfterStartupAndReply(
|
| + const tracked_objects::Location& from_here,
|
| + const scoped_refptr<base::TaskRunner>& task_runner,
|
| + const base::Closure& task,
|
| + const base::Closure& reply) = 0;
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_PUBLIC_BROWSER_AFTER_STARTUP_TASK_POSTER_H_
|
|
|