Index: chrome/browser/importer/ie_importer_browsertest_win.cc |
diff --git a/chrome/browser/importer/ie_importer_browsertest_win.cc b/chrome/browser/importer/ie_importer_browsertest_win.cc |
index 36df8d0e57c4d16f67f5c4cf8583c51b7ee33486..eb52807f503ce4c9fc3d243a15d2538971abfbf3 100644 |
--- a/chrome/browser/importer/ie_importer_browsertest_win.cc |
+++ b/chrome/browser/importer/ie_importer_browsertest_win.cc |
@@ -444,7 +444,7 @@ class IEImporterBrowserTest : public InProcessBrowserTest { |
IN_PROC_BROWSER_TEST_F(IEImporterBrowserTest, IEImporter) { |
// Sets up a favorites folder. |
- base::FilePath path = temp_dir_.path().AppendASCII("Favorites"); |
+ base::FilePath path = temp_dir_.GetPath().AppendASCII("Favorites"); |
CreateDirectory(path.value().c_str(), NULL); |
CreateDirectory(path.AppendASCII("SubFolder").value().c_str(), NULL); |
base::FilePath links_path = path.AppendASCII("Links"); |
@@ -515,7 +515,7 @@ IN_PROC_BROWSER_TEST_F(IEImporterBrowserTest, IEImporter) { |
importer::SourceProfile source_profile; |
source_profile.importer_type = importer::TYPE_IE; |
- source_profile.source_path = temp_dir_.path(); |
+ source_profile.source_path = temp_dir_.GetPath(); |
host->StartImportSettings( |
source_profile, |
@@ -533,7 +533,7 @@ IN_PROC_BROWSER_TEST_F(IEImporterBrowserTest, IEImporter) { |
IN_PROC_BROWSER_TEST_F(IEImporterBrowserTest, |
IEImporterMalformedFavoritesRegistry) { |
// Sets up a favorites folder. |
- base::FilePath path = temp_dir_.path().AppendASCII("Favorites"); |
+ base::FilePath path = temp_dir_.GetPath().AppendASCII("Favorites"); |
CreateDirectory(path.value().c_str(), NULL); |
CreateDirectory(path.AppendASCII("b").value().c_str(), NULL); |
ASSERT_TRUE(CreateUrlFile(path.AppendASCII("a.url"), |
@@ -593,7 +593,7 @@ IN_PROC_BROWSER_TEST_F(IEImporterBrowserTest, |
importer::SourceProfile source_profile; |
source_profile.importer_type = importer::TYPE_IE; |
- source_profile.source_path = temp_dir_.path(); |
+ source_profile.source_path = temp_dir_.GetPath(); |
host->StartImportSettings( |
source_profile, |
@@ -620,7 +620,7 @@ IN_PROC_BROWSER_TEST_F(IEImporterBrowserTest, IE7ImporterPasswordsTest) { |
importer::SourceProfile source_profile; |
source_profile.importer_type = importer::TYPE_IE; |
- source_profile.source_path = temp_dir_.path(); |
+ source_profile.source_path = temp_dir_.GetPath(); |
host->StartImportSettings( |
source_profile, |
@@ -646,7 +646,7 @@ IN_PROC_BROWSER_TEST_F(IEImporterBrowserTest, IEImporterHomePageTest) { |
importer::SourceProfile source_profile; |
source_profile.importer_type = importer::TYPE_IE; |
- source_profile.source_path = temp_dir_.path(); |
+ source_profile.source_path = temp_dir_.GetPath(); |
host->StartImportSettings( |
source_profile, |