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

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

Issue 183853011: Move TrimWhitespace to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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) 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 #include "win8/delegate_execute/delegate_execute_util.h" 5 #include "win8/delegate_execute/delegate_execute_util.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 9
10 namespace delegate_execute { 10 namespace delegate_execute {
(...skipping 25 matching lines...) Expand all
36 36
37 base::string16 ParametersFromSwitch(const char* a_switch) { 37 base::string16 ParametersFromSwitch(const char* a_switch) {
38 if (!a_switch) 38 if (!a_switch)
39 return base::string16(); 39 return base::string16();
40 40
41 CommandLine cmd_line(CommandLine::NO_PROGRAM); 41 CommandLine cmd_line(CommandLine::NO_PROGRAM);
42 42
43 cmd_line.AppendSwitch(a_switch); 43 cmd_line.AppendSwitch(a_switch);
44 44
45 base::string16 command_string(cmd_line.GetCommandLineString()); 45 base::string16 command_string(cmd_line.GetCommandLineString());
46 TrimWhitespace(command_string, TRIM_ALL, &command_string); 46 base::TrimWhitespace(command_string, base::TRIM_ALL, &command_string);
47 return command_string; 47 return command_string;
48 } 48 }
49 49
50 } // namespace delegate_execute 50 } // namespace delegate_execute
viettrungluu 2014/02/28 23:44:14 I can't believe I reached the last file.
OLDNEW
« base/strings/string_split.cc ('K') | « ui/views/corewm/tooltip_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698