Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(791)

Unified Diff: chrome/browser/chrome_content_browser_client.h

Issue 949293002: Implement a poor man's PostAfterStartupTask() function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.h
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
index 6af499c3ae677e53299592079bf14ddefd40fd40..2f23b384539fa4bd417f45aff09f87a1ddf2bf67 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -50,6 +50,9 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
content::BrowserMainParts* CreateBrowserMainParts(
const content::MainFunctionParams& parameters) override;
+ void PostAfterStartupTask(const tracked_objects::Location& from_here,
+ const scoped_refptr<base::TaskRunner>& task_runner,
+ const base::Closure& task) override;
std::string GetStoragePartitionIdForSite(
content::BrowserContext* browser_context,
const GURL& site) override;
@@ -241,9 +244,8 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
content::FileDescriptorInfo* mappings) override;
#endif
#if defined(OS_WIN)
- virtual const wchar_t* GetResourceDllName() override;
- virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy,
- bool* success) override;
+ const wchar_t* GetResourceDllName() override;
+ void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override;
#endif
bool CheckMediaAccessPermission(content::BrowserContext* browser_context,
const GURL& security_origin,
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698