Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index c4ab6f347f3c5b847083fb74bc89742f329f6716..87faab2ba6348044aeb481e9446a5dc02e8567ea 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -83,6 +83,7 @@ class FileSystemBackend; |
namespace content { |
class AccessTokenStore; |
+class AfterStartupTaskPoster; |
class BrowserChildProcessHost; |
class BrowserContext; |
class BrowserMainParts; |
@@ -141,6 +142,11 @@ class CONTENT_EXPORT ContentBrowserClient { |
virtual BrowserMainParts* CreateBrowserMainParts( |
const MainFunctionParams& parameters); |
+ // Allows the embedder to defer the posting of non-critical tasks until |
+ // after the "startup" is complete. The default implementation does no |
+ // deferral. |
+ virtual AfterStartupTaskPoster* GetAfterStartupTaskPoster(); |
+ |
// If content creates the WebContentsView implementation, it will ask the |
// embedder to return an (optional) delegate to customize it. The view will |
// own the delegate. |