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

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

Issue 145026: Move PathComponents from file_util to FilePath, add FilePath::IsParent() (Closed)
Patch Set: noop Created 11 years, 6 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 | « base/file_util_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/ie_importer.cc
diff --git a/chrome/browser/importer/ie_importer.cc b/chrome/browser/importer/ie_importer.cc
index 41039ff85a7b4f73b97e76d53b4bb95a12fe8791..9db63960ac016944ba4f505d48fc15ffafa53ae2 100644
--- a/chrome/browser/importer/ie_importer.cc
+++ b/chrome/browser/importer/ie_importer.cc
@@ -14,6 +14,7 @@
#include "app/l10n_util.h"
#include "app/win_util.h"
+#include "base/file_path.h"
#include "base/file_util.h"
#include "base/registry.h"
#include "base/string_util.h"
@@ -516,7 +517,7 @@ void IEImporter::ParseFavoritesFolder(const FavoritesInfo& info,
entry.url = url;
entry.creation_time = GetFileCreationTime(*it);
if (!relative_path.empty())
- file_util::PathComponents(relative_path, &entry.path);
+ relative_path.GetComponents(&entry.path);
// Flatten the bookmarks in Link folder onto bookmark toolbar. Otherwise,
// put it into "Other bookmarks".
« no previous file with comments | « base/file_util_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698