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 c5c3942d749cc211489a01c8b1d6f7f22e961cd5..39431f8d5941d2dfd83742779256b80ad87e9d32 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -141,6 +141,14 @@ class CONTENT_EXPORT ContentBrowserClient { |
virtual BrowserMainParts* CreateBrowserMainParts( |
const MainFunctionParams& parameters); |
+ // Allows the embedder to defer the posting of non-critical tasks until |
+ // after "startup" is complete for whatever definition of startup the |
+ // embedder has. The default implementation does no deferral. |
+ virtual void PostAfterStartupTask( |
+ const tracked_objects::Location& from_here, |
+ const scoped_refptr<base::TaskRunner>& task_runner, |
+ const base::Closure& task); |
+ |
// 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. |