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

Unified Diff: chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc

Issue 2318023002: //chrome/browser/chromeos: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Address comment and also remove non-trivial cases 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/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc
diff --git a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc
index 9c267472b1c51c2cc053861523188e01c846e478..6015a69e3fca3a4d06c8d2d9cf3d362d44e96a9c 100644
--- a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc
+++ b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc
@@ -169,34 +169,34 @@ void CreateCmdlineWallpapers(const base::ScopedTempDir& dir,
std::vector<std::string> options;
options.push_back(std::string("WM_Test_cmdline"));
const base::FilePath small_file =
- dir.path().Append(FILE_PATH_LITERAL("small.jpg"));
+ dir.GetPath().Append(FILE_PATH_LITERAL("small.jpg"));
options.push_back(std::string("--") +
chromeos::switches::kDefaultWallpaperSmall + "=" +
small_file.value());
const base::FilePath large_file =
- dir.path().Append(FILE_PATH_LITERAL("large.jpg"));
+ dir.GetPath().Append(FILE_PATH_LITERAL("large.jpg"));
options.push_back(std::string("--") +
chromeos::switches::kDefaultWallpaperLarge + "=" +
large_file.value());
const base::FilePath guest_small_file =
- dir.path().Append(FILE_PATH_LITERAL("guest_small.jpg"));
+ dir.GetPath().Append(FILE_PATH_LITERAL("guest_small.jpg"));
options.push_back(std::string("--") +
chromeos::switches::kGuestWallpaperSmall + "=" +
guest_small_file.value());
const base::FilePath guest_large_file =
- dir.path().Append(FILE_PATH_LITERAL("guest_large.jpg"));
+ dir.GetPath().Append(FILE_PATH_LITERAL("guest_large.jpg"));
options.push_back(std::string("--") +
chromeos::switches::kGuestWallpaperLarge + "=" +
guest_large_file.value());
const base::FilePath child_small_file =
- dir.path().Append(FILE_PATH_LITERAL("child_small.jpg"));
+ dir.GetPath().Append(FILE_PATH_LITERAL("child_small.jpg"));
options.push_back(std::string("--") +
chromeos::switches::kChildWallpaperSmall + "=" +
child_small_file.value());
const base::FilePath child_large_file =
- dir.path().Append(FILE_PATH_LITERAL("child_large.jpg"));
+ dir.GetPath().Append(FILE_PATH_LITERAL("child_large.jpg"));
options.push_back(std::string("--") +
chromeos::switches::kChildWallpaperLarge + "=" +
child_large_file.value());

Powered by Google App Engine
This is Rietveld 408576698