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

Unified Diff: chrome/browser/chromeos/policy/device_local_account_browsertest.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/policy/device_local_account_browsertest.cc
diff --git a/chrome/browser/chromeos/policy/device_local_account_browsertest.cc b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc
index 939631f49a75516288642e511e44f95b36b27e2c..10a91f80dcbfefe715722df3f220483a41565bb5 100644
--- a/chrome/browser/chromeos/policy/device_local_account_browsertest.cc
+++ b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc
@@ -1267,7 +1267,7 @@ IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, ExtensionCacheImplTest) {
// Create and initialize local cache.
base::ScopedTempDir cache_dir;
EXPECT_TRUE(cache_dir.CreateUniqueTempDir());
- const base::FilePath impl_path = cache_dir.path();
+ const base::FilePath impl_path = cache_dir.GetPath();
EXPECT_TRUE(base::CreateDirectory(impl_path));
CreateFile(impl_path.Append(
extensions::LocalExtensionCache::kCacheReadyFlagFileName),
@@ -1282,7 +1282,7 @@ IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, ExtensionCacheImplTest) {
// Put extension in the local cache.
base::ScopedTempDir temp_dir;
EXPECT_TRUE(temp_dir.CreateUniqueTempDir());
- const base::FilePath temp_path = temp_dir.path();
+ const base::FilePath temp_path = temp_dir.GetPath();
EXPECT_TRUE(base::CreateDirectory(temp_path));
const base::FilePath temp_file =
GetCacheCRXFilePath(kGoodExtensionID, kGoodExtensionVersion, temp_path);

Powered by Google App Engine
This is Rietveld 408576698