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

Unified Diff: chrome/browser/chrome_process_singleton.h

Issue 12674028: Report text output and exit code for command-line operations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Forgotten review responses. Created 7 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 | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chrome_process_singleton.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_process_singleton.h
diff --git a/chrome/browser/chrome_process_singleton.h b/chrome/browser/chrome_process_singleton.h
index c4ca2c90c802525033768317b55bf81193a40779..db46d37123f322c65d93b7320b06417c680b6ccc 100644
--- a/chrome/browser/chrome_process_singleton.h
+++ b/chrome/browser/chrome_process_singleton.h
@@ -28,13 +28,18 @@
// flashed (using ::SetForegroundWindow on Windows).
class ChromeProcessSingleton {
public:
+ typedef base::Callback<bool(const CommandLine& command_line,
+ const base::FilePath& current_directory,
+ scoped_ptr<OperationOutput> operation_output)>
+ NotificationCallback;
+
ChromeProcessSingleton(
const base::FilePath& user_data_dir,
- const ProcessSingleton::NotificationCallback& notification_callback);
+ const NotificationCallback& notification_callback);
ChromeProcessSingleton(
const base::FilePath& user_data_dir,
- const ProcessSingleton::NotificationCallback& notification_callback,
+ const NotificationCallback& notification_callback,
const ProcessSingletonModalDialogLock::SetForegroundWindowHandler&
set_foreground_window_handler);
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chrome_process_singleton.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698