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

Unified Diff: content/browser/download/download_browsertest.cc

Issue 2316043002: //content: 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: content/browser/download/download_browsertest.cc
diff --git a/content/browser/download/download_browsertest.cc b/content/browser/download/download_browsertest.cc
index 673d71cb4aebed95afc91c286eda4fcf40635ff7..a4cea828ff8f7e9454606fb21391c6b4f0825657 100644
--- a/content/browser/download/download_browsertest.cc
+++ b/content/browser/download/download_browsertest.cc
@@ -559,7 +559,8 @@ class DownloadContentTest : public ContentBrowserTest {
ASSERT_TRUE(downloads_directory_.CreateUniqueTempDir());
test_delegate_.reset(new TestShellDownloadManagerDelegate());
- test_delegate_->SetDownloadBehaviorForTesting(downloads_directory_.path());
+ test_delegate_->SetDownloadBehaviorForTesting(
+ downloads_directory_.GetPath());
DownloadManager* manager = DownloadManagerForShell(shell());
manager->GetDelegate()->Shutdown();
manager->SetDelegate(test_delegate_.get());
@@ -585,7 +586,7 @@ class DownloadContentTest : public ContentBrowserTest {
}
const base::FilePath& GetDownloadDirectory() const {
- return downloads_directory_.path();
+ return downloads_directory_.GetPath();
}
// Create a DownloadTestObserverTerminal that will wait for the
« no previous file with comments | « content/browser/download/base_file_unittest.cc ('k') | content/browser/download/drag_download_file_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698