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

Unified Diff: content/browser/child_process_launcher_browsertest.cc

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/browser/child_process_launcher.cc ('k') | content/browser/gpu/gpu_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/child_process_launcher_browsertest.cc
diff --git a/content/browser/child_process_launcher_browsertest.cc b/content/browser/child_process_launcher_browsertest.cc
index 9ef655c6fc6ef22dd3bdb12d12e67f58135872d6..f48279b765741e163688ff516c2f3f196f0e8cd7 100644
--- a/content/browser/child_process_launcher_browsertest.cc
+++ b/content/browser/child_process_launcher_browsertest.cc
@@ -23,11 +23,14 @@ class MockChildProcessLauncherClient
void OnProcessLaunched() override {
if (simulate_failure_)
- client_->OnProcessLaunchFailed();
+ client_->OnProcessLaunchFailed(content::LAUNCH_RESULT_FAILURE);
else
client_->OnProcessLaunched();
};
- void OnProcessLaunchFailed() override { client_->OnProcessLaunchFailed(); };
+
+ void OnProcessLaunchFailed(int error_code) override {
+ client_->OnProcessLaunchFailed(error_code);
+ };
content::ChildProcessLauncher::Client* client_;
bool simulate_failure_;
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/browser/gpu/gpu_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698