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

Unified Diff: chrome/browser/chromeos/system/automatic_reboot_manager_unittest.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/system/automatic_reboot_manager_unittest.cc
diff --git a/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc b/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
index ad1661329ae947e05636a375ea0f2f4bd72803e4..fc0d65d8d4e46963b18cb91a39382f63804f6b82 100644
--- a/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
+++ b/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
@@ -316,7 +316,7 @@ AutomaticRebootManagerBasicTest::~AutomaticRebootManagerBasicTest() {
void AutomaticRebootManagerBasicTest::SetUp() {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
- const base::FilePath& temp_dir = temp_dir_.path();
+ const base::FilePath& temp_dir = temp_dir_.GetPath();
const base::FilePath uptime_file = temp_dir.Append("uptime");
uptime_provider()->set_uptime_file_path(uptime_file);
ASSERT_FALSE(base::WriteFile(uptime_file, NULL, 0));

Powered by Google App Engine
This is Rietveld 408576698