summaryrefslogtreecommitdiffstats
path: root/base/command_line_unittest.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 23:05:28 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 23:05:28 +0000
commitf16339329dd06c7bc6fa409af73907253efad8dc (patch)
tree8303b6a935379ac9a68379f5fd896a6e84d7e5ea /base/command_line_unittest.cc
parent681d27566707595006c468b17c27f8341d176b45 (diff)
downloadchromium_src-f16339329dd06c7bc6fa409af73907253efad8dc.zip
chromium_src-f16339329dd06c7bc6fa409af73907253efad8dc.tar.gz
chromium_src-f16339329dd06c7bc6fa409af73907253efad8dc.tar.bz2
Header cleanup in base.
This makes uses of StringPrintf and friends use the base namespace and include stringprintf.h explicitly. This also removes a bunch of unnecessary string_util includes (which exposed a few other errors like people forgetting to include <vector>. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3119022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/command_line_unittest.cc')
-rw-r--r--base/command_line_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/command_line_unittest.cc b/base/command_line_unittest.cc
index 8c8803c..a34cf43 100644
--- a/base/command_line_unittest.cc
+++ b/base/command_line_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,7 +8,7 @@
#include "base/command_line.h"
#include "base/basictypes.h"
#include "base/file_path.h"
-#include "base/string_util.h"
+#include "base/utf_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
// To test Windows quoting behavior, we use a string that has some backslashes
@@ -123,7 +123,7 @@ TEST(CommandLineTest, AppendSwitches) {
std::string switch4 = "switch4";
std::string value4 = "\"a value with quotes\"";
std::string switch5 = "quotes";
- std::string value5 = WideToASCII(TRICKY);
+ std::string value5 = WideToUTF8(TRICKY);
CommandLine cl(FilePath(FILE_PATH_LITERAL("Program")));