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

Unified Diff: chrome/browser/prefs/pref_functional_browsertest.cc

Issue 2317123002: c/browser, c/common, components O-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: chrome/browser/prefs/pref_functional_browsertest.cc
diff --git a/chrome/browser/prefs/pref_functional_browsertest.cc b/chrome/browser/prefs/pref_functional_browsertest.cc
index 87bbec16240cf32a9b5b5f27470631c3b5cfb7d7..4bb52fbc4f9272219df5f7df10597b071e70fc58 100644
--- a/chrome/browser/prefs/pref_functional_browsertest.cc
+++ b/chrome/browser/prefs/pref_functional_browsertest.cc
@@ -56,11 +56,11 @@ IN_PROC_BROWSER_TEST_F(PrefsFunctionalTest, TestDownloadDirPref) {
ASSERT_TRUE(new_download_dir.CreateUniqueTempDir());
base::FilePath downloaded_pkg =
- new_download_dir.path().AppendASCII("a_zip_file.zip");
+ new_download_dir.GetPath().AppendASCII("a_zip_file.zip");
// Set pref to download in new_download_dir.
browser()->profile()->GetPrefs()->SetFilePath(
- prefs::kDownloadDefaultDirectory, new_download_dir.path());
+ prefs::kDownloadDefaultDirectory, new_download_dir.GetPath());
// Create a downloads observer.
std::unique_ptr<content::DownloadTestObserver> downloads_observer(
« no previous file with comments | « chrome/browser/policy/test/local_policy_test_server.cc ('k') | chrome/browser/prefs/profile_pref_store_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698