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

Unified Diff: content/browser/utility_process_host_impl.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
Index: content/browser/utility_process_host_impl.h
diff --git a/content/browser/utility_process_host_impl.h b/content/browser/utility_process_host_impl.h
index e92d3f2969399df9e3ba09fa4b2fc73f473142b4..a24104dc29e1f38db194a20965277e9376ed3c09 100644
--- a/content/browser/utility_process_host_impl.h
+++ b/content/browser/utility_process_host_impl.h
@@ -75,15 +75,16 @@ class CONTENT_EXPORT UtilityProcessHostImpl
// BrowserChildProcessHost:
bool OnMessageReceived(const IPC::Message& message) override;
- void OnProcessLaunchFailed() override;
+ void OnProcessLaunchFailed(int error_code) override;
void OnProcessCrashed(int exit_code) override;
// Cleans up |this| as a result of a failed Start().
- void NotifyAndDelete();
+ void NotifyAndDelete(int error_code);
// Notifies the client that the launch failed and deletes |host|.
static void NotifyLaunchFailedAndDelete(
- base::WeakPtr<UtilityProcessHostImpl> host);
+ base::WeakPtr<UtilityProcessHostImpl> host,
+ int error_code);
// A pointer to our client interface, who will be informed of progress.
scoped_refptr<UtilityProcessHostClient> client_;
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698