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

Unified Diff: chrome/browser/importer/ie_importer.cc

Issue 12893: Get rid of kPathSeparator on windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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
Index: chrome/browser/importer/ie_importer.cc
===================================================================
--- chrome/browser/importer/ie_importer.cc (revision 6271)
+++ chrome/browser/importer/ie_importer.cc (working copy)
@@ -495,7 +495,7 @@
entry.url = url;
entry.creation_time = GetFileCreationTime(*it);
if (!relative_path.empty())
- SplitString(relative_path, file_util::kPathSeparator, &entry.path);
+ file_util::PathComponents(relative_path, &entry.path);
// Flatten the bookmarks in Link folder onto bookmark toolbar. Otherwise,
// put it into "Other bookmarks".
« no previous file with comments | « chrome/browser/history/visit_database_unittest.cc ('k') | chrome/browser/safe_browsing/database_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698