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

Unified Diff: base/command_line.h

Issue 3138001: CommandLine: remove PrefixedSwitchString(). (Closed)
Patch Set: works Created 10 years, 4 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 | « no previous file | base/command_line.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/command_line.h
diff --git a/base/command_line.h b/base/command_line.h
index ecfb1bdcc9ff84629cbb4ef079176ae864ecb6e2..10fbc9287c3b0ab55eae6a57c0cf9a8f69eb7765 100644
--- a/base/command_line.h
+++ b/base/command_line.h
@@ -79,9 +79,6 @@ class CommandLine {
// If Init is called only once, e.g. in main(), calling Reset() is not
// necessary.
static void Reset();
- // The same function snuck into this class under two different names;
- // this one remains for backwards compat with the older o3d build.
- static void Terminate() { Reset(); }
// Get the singleton CommandLine representing the current process's
// command line. Note: returned value is mutable, but not thread safe;
@@ -134,16 +131,6 @@ class CommandLine {
// Returns the program part of the command line string (the first item).
FilePath GetProgram() const;
- // Return a copy of the string prefixed with a switch prefix.
- // Used internally.
- static std::wstring PrefixedSwitchString(const std::string& switch_string);
-
- // Return a copy of the string prefixed with a switch prefix,
- // and appended with the given value. Used internally.
- static std::wstring PrefixedSwitchStringWithValue(
- const std::string& switch_string,
- const std::wstring& value_string);
-
// Append a switch to the command line.
void AppendSwitch(const std::string& switch_string);
« no previous file with comments | « no previous file | base/command_line.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698