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

Side by Side Diff: chrome/browser/modal_dialog_lock.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: Line endings. Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/modal_dialog_lock.h" 5 #include "chrome/browser/modal_dialog_lock.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <Windows.h> 8 #include <Windows.h>
9 #endif 9 #endif
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 #if !defined(OS_WIN) || defined(USE_AURA) 45 #if !defined(OS_WIN) || defined(USE_AURA)
46 NOTREACHED(); 46 NOTREACHED();
47 #else 47 #else
48 ::SetForegroundWindow(active_dialog_); 48 ::SetForegroundWindow(active_dialog_);
49 #endif 49 #endif
50 return true; 50 return true;
51 } else { 51 } else {
52 return original_callback_.Run(command_line, current_directory); 52 return original_callback_.Run(command_line, current_directory);
53 } 53 }
54 } 54 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698