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

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

Issue 1923653002: Wire up process launch error codes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix debug and clang Created 4 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/public/browser/render_process_host_observer.h ('k') | content/public/common/sandbox_init.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/utility_process_host_client.h
diff --git a/content/public/browser/utility_process_host_client.h b/content/public/browser/utility_process_host_client.h
index bd7e89d62032e9bda6c2aeb97fe80ebff77d6261..cf546476ac09b4b091b8625b14d33db63ddb518f 100644
--- a/content/public/browser/utility_process_host_client.h
+++ b/content/public/browser/utility_process_host_client.h
@@ -23,8 +23,9 @@ class UtilityProcessHostClient
// Called when the process has crashed.
virtual void OnProcessCrashed(int exit_code) {}
- // Called when the process fails to launch, i.e. it has no exit code.
- virtual void OnProcessLaunchFailed() {}
+ // Called when the process fails to launch. |error_code| is one of
+ // LaunchResultCode or sandbox::ResultCode containing the error.
+ virtual void OnProcessLaunchFailed(int error_code) {}
// Allow the client to filter IPC messages.
virtual bool OnMessageReceived(const IPC::Message& message) = 0;
« no previous file with comments | « content/public/browser/render_process_host_observer.h ('k') | content/public/common/sandbox_init.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698