summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-24 21:28:30 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-24 21:28:30 +0000
commit0e4f68db63e565201a6eaa2f600441c37b150d1b (patch)
treeb4cfc4f35e6d8ae7fa6266fd2c3faaed9e006adb /chrome/browser/importer
parenta86c97ccfe0038b1672d5a06d283561b7f294640 (diff)
downloadchromium_src-0e4f68db63e565201a6eaa2f600441c37b150d1b.zip
chromium_src-0e4f68db63e565201a6eaa2f600441c37b150d1b.tar.gz
chromium_src-0e4f68db63e565201a6eaa2f600441c37b150d1b.tar.bz2
Move PathComponents from file_util to FilePath, add FilePath::IsParent()
r=erikkay,mark Review URL: http://codereview.chromium.org/145026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19174 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer')
-rw-r--r--chrome/browser/importer/ie_importer.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/importer/ie_importer.cc b/chrome/browser/importer/ie_importer.cc
index 41039ff..9db6396 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".