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

Side by Side Diff: win8/delegate_execute/delegate_execute_util.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef WIN8_DELEGATE_EXECUTE_DELEGATE_EXECUTE_UTIL_H_ 5 #ifndef WIN8_DELEGATE_EXECUTE_DELEGATE_EXECUTE_UTIL_H_
6 #define WIN8_DELEGATE_EXECUTE_DELEGATE_EXECUTE_UTIL_H_ 6 #define WIN8_DELEGATE_EXECUTE_DELEGATE_EXECUTE_UTIL_H_
7 7
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 10
11 namespace base {
11 class FilePath; 12 class FilePath;
13 }
12 14
13 namespace delegate_execute { 15 namespace delegate_execute {
14 16
15 // Returns a CommandLine with an empty program parsed from |params|. 17 // Returns a CommandLine with an empty program parsed from |params|.
16 CommandLine CommandLineFromParameters(const wchar_t* params); 18 CommandLine CommandLineFromParameters(const wchar_t* params);
17 19
18 // Returns a CommandLine to launch |chrome_exe| with all switches and arguments 20 // Returns a CommandLine to launch |chrome_exe| with all switches and arguments
19 // from |params| plus an optional |argument|. 21 // from |params| plus an optional |argument|.
20 CommandLine MakeChromeCommandLine(const FilePath& chrome_exe, 22 CommandLine MakeChromeCommandLine(const base::FilePath& chrome_exe,
21 const CommandLine& params, 23 const CommandLine& params,
22 const string16& argument); 24 const string16& argument);
23 25
24 // Returns a properly quoted command-line string less the program (argv[0]) 26 // Returns a properly quoted command-line string less the program (argv[0])
25 // containing |switch|. 27 // containing |switch|.
26 string16 ParametersFromSwitch(const char* a_switch); 28 string16 ParametersFromSwitch(const char* a_switch);
27 29
28 } // namespace delegate_execute 30 } // namespace delegate_execute
29 31
30 #endif // WIN8_DELEGATE_EXECUTE_DELEGATE_EXECUTE_UTIL_H_ 32 #endif // WIN8_DELEGATE_EXECUTE_DELEGATE_EXECUTE_UTIL_H_
OLDNEW
« no previous file with comments | « win8/delegate_execute/delegate_execute_operation.cc ('k') | win8/delegate_execute/delegate_execute_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698