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

Unified Diff: chrome/browser/chrome_select_file_dialog_factory_win.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 | « no previous file | chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_select_file_dialog_factory_win.cc
diff --git a/chrome/browser/chrome_select_file_dialog_factory_win.cc b/chrome/browser/chrome_select_file_dialog_factory_win.cc
index 41a3b0a33e4da1140c7e93e726b46f23693dd6b3..4fa88922e28dbdd0b154722e07c805a8cb24f5c4 100644
--- a/chrome/browser/chrome_select_file_dialog_factory_win.cc
+++ b/chrome/browser/chrome_select_file_dialog_factory_win.cc
@@ -50,7 +50,7 @@ class GetOpenFileNameClient : public content::UtilityProcessHostClient {
// UtilityProcessHostClient implementation
void OnProcessCrashed(int exit_code) override;
- void OnProcessLaunchFailed() override;
+ void OnProcessLaunchFailed(int error_code) override;
bool OnMessageReceived(const IPC::Message& message) override;
protected:
@@ -79,7 +79,7 @@ void GetOpenFileNameClient::OnProcessCrashed(int exit_code) {
event_.Signal();
}
-void GetOpenFileNameClient::OnProcessLaunchFailed() {
+void GetOpenFileNameClient::OnProcessLaunchFailed(int error_code) {
event_.Signal();
}
@@ -180,7 +180,7 @@ class GetSaveFileNameClient : public content::UtilityProcessHostClient {
// UtilityProcessHostClient implementation
void OnProcessCrashed(int exit_code) override;
- void OnProcessLaunchFailed() override;
+ void OnProcessLaunchFailed(int error_code) override;
bool OnMessageReceived(const IPC::Message& message) override;
protected:
@@ -209,7 +209,7 @@ void GetSaveFileNameClient::OnProcessCrashed(int exit_code) {
event_.Signal();
}
-void GetSaveFileNameClient::OnProcessLaunchFailed() {
+void GetSaveFileNameClient::OnProcessLaunchFailed(int error_code) {
event_.Signal();
}
« no previous file with comments | « no previous file | chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698