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

Unified Diff: chrome/browser/chrome_process_singleton_unittest.cc

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_process_singleton.cc ('k') | chrome/browser/operation_output.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_process_singleton_unittest.cc
diff --git a/chrome/browser/chrome_process_singleton_unittest.cc b/chrome/browser/chrome_process_singleton_unittest.cc
index b06bc788ed157f9edbb5b9172c9eb9827bd57ddb..c79079fb45853b436c3cbb399e6f2fcc5f9a1cc8 100644
--- a/chrome/browser/chrome_process_singleton_unittest.cc
+++ b/chrome/browser/chrome_process_singleton_unittest.cc
@@ -9,19 +9,22 @@
#include "base/compiler_specific.h"
#include "base/files/file_path.h"
#include "base/files/scoped_temp_dir.h"
+#include "chrome/browser/operation_output.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
bool ServerCallback(int* callback_count,
const CommandLine& command_line,
- const base::FilePath& current_directory) {
+ const base::FilePath& current_directory,
+ scoped_ptr<OperationOutput> operation_output) {
++(*callback_count);
return true;
}
bool ClientCallback(const CommandLine& command_line,
- const base::FilePath& current_directory) {
+ const base::FilePath& current_directory,
+ scoped_ptr<OperationOutput> operation_output) {
ADD_FAILURE();
return false;
}
« no previous file with comments | « chrome/browser/chrome_process_singleton.cc ('k') | chrome/browser/operation_output.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698