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

Unified Diff: chrome/browser/download/chrome_download_manager_delegate_unittest.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/download/chrome_download_manager_delegate_unittest.cc
diff --git a/chrome/browser/download/chrome_download_manager_delegate_unittest.cc b/chrome/browser/download/chrome_download_manager_delegate_unittest.cc
index b3d3b03f0176a0e7b24f33d38eabec548095dc32..d8cd37ffe9f47f841f9580c210ff66a6d0f4d446 100644
--- a/chrome/browser/download/chrome_download_manager_delegate_unittest.cc
+++ b/chrome/browser/download/chrome_download_manager_delegate_unittest.cc
@@ -209,7 +209,7 @@ void ChromeDownloadManagerDelegateTest::SetUp() {
web_contents()->SetDelegate(&web_contents_delegate_);
ASSERT_TRUE(test_download_dir_.CreateUniqueTempDir());
- SetDefaultDownloadPath(test_download_dir_.path());
+ SetDefaultDownloadPath(test_download_dir_.GetPath());
}
void ChromeDownloadManagerDelegateTest::TearDown() {
@@ -264,7 +264,7 @@ ChromeDownloadManagerDelegateTest::CreateActiveDownloadItem(int32_t id) {
base::FilePath ChromeDownloadManagerDelegateTest::GetPathInDownloadDir(
const char* relative_path) {
base::FilePath full_path =
- test_download_dir_.path().AppendASCII(relative_path);
+ test_download_dir_.GetPath().AppendASCII(relative_path);
return full_path.NormalizePathSeparators();
}
@@ -317,7 +317,7 @@ bool ChromeDownloadManagerDelegateTest::CheckForFileExistence(
const base::FilePath& ChromeDownloadManagerDelegateTest::default_download_path()
const {
- return test_download_dir_.path();
+ return test_download_dir_.GetPath();
}
TestChromeDownloadManagerDelegate*
« no previous file with comments | « chrome/browser/diagnostics/diagnostics_controller_unittest.cc ('k') | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698