summaryrefslogtreecommitdiffstats
path: root/net/base/net_util.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-18 03:29:07 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-18 03:29:07 +0000
commit8ec5cf2ac8e296fcd264599f4a72cb108d40764a (patch)
treee7b091d8a3e9e0539c355f31b0d83849d9b382e5 /net/base/net_util.cc
parentfc894173575bd106e5820f4b4678264e0bd575c2 (diff)
downloadchromium_src-8ec5cf2ac8e296fcd264599f4a72cb108d40764a.zip
chromium_src-8ec5cf2ac8e296fcd264599f4a72cb108d40764a.tar.gz
chromium_src-8ec5cf2ac8e296fcd264599f4a72cb108d40764a.tar.bz2
net/base: remove some wstrings
Review URL: http://codereview.chromium.org/9221030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118024 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/net_util.cc')
-rw-r--r--net/base/net_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/net_util.cc b/net/base/net_util.cc
index 12190d6..9417c1a 100644
--- a/net/base/net_util.cc
+++ b/net/base/net_util.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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.
@@ -1518,7 +1518,7 @@ string16 GetSuggestedFilename(const GURL& url,
// whitespace to prevent file extension obfuscation on trusted websites
// e.g. Gmail might think evil.exe. is safe, so we don't want it to become
// evil.exe when we download it
- std::wstring::size_type path_length_before_trim = path.length();
+ string16::size_type path_length_before_trim = path.length();
TrimWhitespace(path, TRIM_TRAILING, &path);
trimmed_trailing_character_count += path_length_before_trim - path.length();
file_util::ReplaceIllegalCharactersInPath(&path, '-');