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

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, 9 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
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 8e28784a60e6e390bf5002f8507c4345e7bcd7e3..2a22666dd6a451fc82430f1db51887e8a81308fb 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;
@@ -266,9 +269,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,

Powered by Google App Engine
This is Rietveld 408576698