diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-08 00:55:04 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-08 00:55:04 +0000 |
commit | 84a299b229369f8c6833afcd5e49fb4c94e94186 (patch) | |
tree | 7dd07ef982691ff974da55d0ca32b6157f253f63 /chrome | |
parent | 656ca93e4b6c2e6bd2885c5daf72058a36d05eaa (diff) | |
download | chromium_src-84a299b229369f8c6833afcd5e49fb4c94e94186.zip chromium_src-84a299b229369f8c6833afcd5e49fb4c94e94186.tar.gz chromium_src-84a299b229369f8c6833afcd5e49fb4c94e94186.tar.bz2 |
Remove usage of deprecated functions AppendToPath and ToWStringHack in importer_unittest.cc
BUG=None
TEST=trybots
Review URL: http://codereview.chromium.org/6147003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70817 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/importer/importer_unittest.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/importer/importer_unittest.cc b/chrome/browser/importer/importer_unittest.cc index d47e9e9..595a3d7 100644 --- a/chrome/browser/importer/importer_unittest.cc +++ b/chrome/browser/importer/importer_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -358,8 +358,7 @@ void WritePStore(IPStore* pstore, const GUID* type, const GUID* subtype) { TEST_F(ImporterTest, IEImporter) { // Sets up a favorites folder. app::win::ScopedCOMInitializer com_init; - std::wstring path = test_path_.ToWStringHack(); - file_util::AppendToPath(&path, L"Favorites"); + std::wstring path = test_path_.AppendASCII("Favorites").value(); CreateDirectory(path.c_str(), NULL); CreateDirectory((path + L"\\SubFolder").c_str(), NULL); CreateDirectory((path + L"\\Links").c_str(), NULL); |