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

Unified Diff: chrome/browser/apps/app_browsertest.cc

Issue 2317993003: //chrome/browser and //components A-E: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Just rebased Created 4 years, 3 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
Index: chrome/browser/apps/app_browsertest.cc
diff --git a/chrome/browser/apps/app_browsertest.cc b/chrome/browser/apps/app_browsertest.cc
index b2ac59e89001dca55bce48ba263f4b1d8997f78a..035d22ed4e63222dc017863d6a56e1875877e3a7 100644
--- a/chrome/browser/apps/app_browsertest.cc
+++ b/chrome/browser/apps/app_browsertest.cc
@@ -614,11 +614,9 @@ IN_PROC_BROWSER_TEST_F(PlatformAppWithFileBrowserTest,
base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
base::FilePath test_file;
- ASSERT_TRUE(CopyTestDataAndGetTestFilePath(
- test_data_dir_.AppendASCII(kTestFilePath),
- temp_dir.path(),
- "test.",
- &test_file));
+ ASSERT_TRUE(
+ CopyTestDataAndGetTestFilePath(test_data_dir_.AppendASCII(kTestFilePath),
+ temp_dir.GetPath(), "test.", &test_file));
ASSERT_TRUE(RunPlatformAppTestWithFile(
"platform_apps/launch_file_with_no_extension", test_file)) << message_;
}
@@ -630,11 +628,9 @@ IN_PROC_BROWSER_TEST_F(PlatformAppWithFileBrowserTest,
base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
base::FilePath test_file;
- ASSERT_TRUE(CopyTestDataAndGetTestFilePath(
- test_data_dir_.AppendASCII(kTestFilePath),
- temp_dir.path(),
- "test.",
- &test_file));
+ ASSERT_TRUE(
+ CopyTestDataAndGetTestFilePath(test_data_dir_.AppendASCII(kTestFilePath),
+ temp_dir.GetPath(), "test.", &test_file));
ASSERT_TRUE(RunPlatformAppTestWithFile(
"platform_apps/launch_file_with_any_extension", test_file)) << message_;
}
@@ -741,7 +737,8 @@ IN_PROC_BROWSER_TEST_F(PlatformAppWithFileBrowserTest, LaunchNewFile) {
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
ASSERT_TRUE(RunPlatformAppTestWithFile(
"platform_apps/launch_new_file",
- temp_dir.path().AppendASCII("new_file.txt"))) << message_;
+ temp_dir.GetPath().AppendASCII("new_file.txt")))
+ << message_;
}
#endif // !defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698