OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | |
cmumford
2015/03/27 21:59:58
Nit: No "(c)"
| |
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 CHROME_BROWSER_AFTER_STARTUP_TASK_H_ | |
6 #define CHROME_BROWSER_AFTER_STARTUP_TASK_H_ | |
7 | |
8 #include "base/basictypes.h" | |
9 #include "base/bind.h" | |
10 #include "base/memory/ref_counted.h" | |
11 | |
12 namespace base { | |
13 class TaskRunner; | |
14 } | |
15 namespace tracked_objects { | |
16 class Location; | |
17 }; | |
18 | |
19 // Observes startup and when complete runs tasks that have accrued. | |
cmumford
2015/03/27 21:59:58
Nit: double space.
michaeln
2015/04/03 19:51:37
Done.
| |
20 void StartMonitoringStartup(); | |
21 | |
22 // Used to augment the behavior or content::BrowserThread::PostAfterStartupTask | |
23 // for chrome. Tasks are queued until startup is complete. | |
24 // Note: see browser_thread.h | |
25 void PostAfterStartupTask( | |
26 const tracked_objects::Location& from_here, | |
27 const scoped_refptr<base::TaskRunner>& task_runner, | |
28 const base::Closure& task); | |
29 | |
30 #endif // CHROME_BROWSER_AFTER_STARTUP_TASK_H_ | |
OLD | NEW |