| Index: chrome/browser/importer/edge_importer_browsertest_win.cc
|
| diff --git a/chrome/browser/importer/edge_importer_browsertest_win.cc b/chrome/browser/importer/edge_importer_browsertest_win.cc
|
| index 9ade2ac8e28294eb143cf39d2cbd8233b7d2e756..1f7bcace83ae8f473ba2ef6988ab2420ca957f53 100644
|
| --- a/chrome/browser/importer/edge_importer_browsertest_win.cc
|
| +++ b/chrome/browser/importer/edge_importer_browsertest_win.cc
|
| @@ -202,7 +202,7 @@ IN_PROC_BROWSER_TEST_F(EdgeImporterBrowserTest, EdgeImporter) {
|
| ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &data_path));
|
| data_path = data_path.AppendASCII("edge_profile");
|
|
|
| - base::FilePath temp_path = temp_dir_.path();
|
| + base::FilePath temp_path = temp_dir_.GetPath();
|
| ASSERT_TRUE(base::CopyDirectory(data_path, temp_path, true));
|
| ASSERT_TRUE(DecompressDatabase(temp_path.AppendASCII("edge_profile")));
|
|
|
| @@ -243,7 +243,7 @@ IN_PROC_BROWSER_TEST_F(EdgeImporterBrowserTest, EdgeImporterLegacyFallback) {
|
| ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &data_path));
|
| data_path = data_path.AppendASCII("edge_profile");
|
|
|
| - ASSERT_TRUE(base::CopyDirectory(data_path, temp_dir_.path(), true));
|
| + ASSERT_TRUE(base::CopyDirectory(data_path, temp_dir_.GetPath(), true));
|
| ASSERT_TRUE(importer::IsEdgeFavoritesLegacyMode());
|
|
|
| // Starts to import the above settings.
|
| @@ -255,7 +255,7 @@ IN_PROC_BROWSER_TEST_F(EdgeImporterBrowserTest, EdgeImporterLegacyFallback) {
|
|
|
| importer::SourceProfile source_profile;
|
| source_profile.importer_type = importer::TYPE_EDGE;
|
| - base::FilePath source_path = temp_dir_.path().AppendASCII("edge_profile");
|
| + base::FilePath source_path = temp_dir_.GetPath().AppendASCII("edge_profile");
|
| ASSERT_NE(-1,
|
| base::WriteFile(
|
| source_path.AppendASCII("Favorites\\Google.url:favicon:$DATA"),
|
| @@ -291,7 +291,7 @@ IN_PROC_BROWSER_TEST_F(EdgeImporterBrowserTest, EdgeImporterNoDatabase) {
|
|
|
| importer::SourceProfile source_profile;
|
| source_profile.importer_type = importer::TYPE_EDGE;
|
| - source_profile.source_path = temp_dir_.path();
|
| + source_profile.source_path = temp_dir_.GetPath();
|
|
|
| host->StartImportSettings(source_profile, browser()->profile(),
|
| importer::FAVORITES, observer.get());
|
|
|