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

Unified Diff: chrome/browser/importer/safari_importer_unittest.mm

Issue 193047: Fix to use FilePath version of PathService::Get.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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 | « chrome/browser/dom_ui/chrome_url_data_manager.cc ('k') | chrome/browser/process_singleton_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/safari_importer_unittest.mm
===================================================================
--- chrome/browser/importer/safari_importer_unittest.mm (revision 25670)
+++ chrome/browser/importer/safari_importer_unittest.mm (working copy)
@@ -17,12 +17,11 @@
// structure as ~/Library in the Chrome test data directory.
// This function returns the path to that directory.
FilePath GetTestSafariLibraryPath() {
- std::wstring test_dir_wstring;
- PathService::Get(chrome::DIR_TEST_DATA, &test_dir_wstring);
- FilePath test_dir = FilePath::FromWStringHack(test_dir_wstring);
+ FilePath test_dir;
+ PathService::Get(chrome::DIR_TEST_DATA, &test_dir);
// Our simulated ~/Library directory
- test_dir = test_dir.Append("safari_import");
+ test_dir = test_dir.AppendASCII("safari_import");
return test_dir;
}
« no previous file with comments | « chrome/browser/dom_ui/chrome_url_data_manager.cc ('k') | chrome/browser/process_singleton_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698