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

Unified Diff: content/public/browser/browser_main_runner.h

Issue 250723002: content: Terminate early if the toolkit initialization fails. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 | « content/browser/browser_main_runner.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_main_runner.h
diff --git a/content/public/browser/browser_main_runner.h b/content/public/browser/browser_main_runner.h
index 4340687796ec32a4c939cfd00ce8ba9b276202d4..dcde509e583aedd2bccb70e3ace8a0def853b09d 100644
--- a/content/public/browser/browser_main_runner.h
+++ b/content/public/browser/browser_main_runner.h
@@ -21,7 +21,8 @@ class CONTENT_EXPORT BrowserMainRunner {
static BrowserMainRunner* Create();
// Initialize all necessary browser state. The |parameters| values will be
- // copied.
+ // copied. Returning a non-negative value indicates that initialization
+ // failed, and the returned value is used as the exit code for the process.
virtual int Initialize(const content::MainFunctionParams& parameters) = 0;
// Perform the default run logic.
« no previous file with comments | « content/browser/browser_main_runner.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698