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

Unified Diff: apps/app_restore_service_browsertest.cc

Issue 2322573002: misc files A-P: 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: apps/app_restore_service_browsertest.cc
diff --git a/apps/app_restore_service_browsertest.cc b/apps/app_restore_service_browsertest.cc
index 8e383f1603f22f58e626a3d7966b5337780aa92c..111b45d3b9f39dba1f021798f343f8d65718082e 100644
--- a/apps/app_restore_service_browsertest.cc
+++ b/apps/app_restore_service_browsertest.cc
@@ -117,13 +117,13 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, FileAccessIsSavedToPrefs) {
base::ScopedTempDir temp_directory;
ASSERT_TRUE(temp_directory.CreateUniqueTempDir());
base::FilePath temp_file;
- ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_directory.path(),
- &temp_file));
+ ASSERT_TRUE(
+ base::CreateTemporaryFileInDir(temp_directory.GetPath(), &temp_file));
FileSystemChooseEntryFunction::SkipPickerAndAlwaysSelectPathForTest(
&temp_file);
FileSystemChooseEntryFunction::RegisterTempExternalFileSystemForTest(
- "temp", temp_directory.path());
+ "temp", temp_directory.GetPath());
const Extension* extension = LoadAndLaunchPlatformApp(
"file_access_saved_to_prefs_test", "fileWritten");
@@ -157,13 +157,13 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, MAYBE_FileAccessIsRestored) {
base::ScopedTempDir temp_directory;
ASSERT_TRUE(temp_directory.CreateUniqueTempDir());
base::FilePath temp_file;
- ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_directory.path(),
- &temp_file));
+ ASSERT_TRUE(
+ base::CreateTemporaryFileInDir(temp_directory.GetPath(), &temp_file));
FileSystemChooseEntryFunction::SkipPickerAndAlwaysSelectPathForTest(
&temp_file);
FileSystemChooseEntryFunction::RegisterTempExternalFileSystemForTest(
- "temp", temp_directory.path());
+ "temp", temp_directory.GetPath());
ExtensionTestMessageListener access_ok_listener(
"restartedFileAccessOK", false);
« no previous file with comments | « android_webview/browser/aw_form_database_service_unittest.cc ('k') | blimp/engine/app/blimp_engine_config_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698