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

Unified Diff: chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc

Issue 2318023002: //chrome/browser/chromeos: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Fix FileManagerBrowsertest 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/extensions/device_local_account_external_policy_loader_unittest.cc
diff --git a/chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc b/chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc
index f4a3f46d7d149eebb186ecf07752eb2a444114f4..d692939231f2798265ecb249bff022b6671631ba 100644
--- a/chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc
+++ b/chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc
@@ -141,7 +141,7 @@ DeviceLocalAccountExternalPolicyLoaderTest::
void DeviceLocalAccountExternalPolicyLoaderTest::SetUp() {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
- cache_dir_ = temp_dir_.path().Append(kCacheDir);
+ cache_dir_ = temp_dir_.GetPath().Append(kCacheDir);
ASSERT_TRUE(base::CreateDirectoryAndGetError(cache_dir_, NULL));
request_context_getter_ =
new net::TestURLRequestContextGetter(base::ThreadTaskRunnerHandle::Get());
@@ -274,9 +274,9 @@ TEST_F(DeviceLocalAccountExternalPolicyLoaderTest, ForceInstallListSet) {
// Create a temporary CRX file and return its path to the downloader.
EXPECT_TRUE(base::CopyFile(
test_dir_.Append(kExtensionCRXSourceDir).Append(kExtensionCRXFile),
- temp_dir_.path().Append(kExtensionCRXFile)));
+ temp_dir_.GetPath().Append(kExtensionCRXFile)));
fetcher->set_response_code(200);
- fetcher->SetResponseFilePath(temp_dir_.path().Append(kExtensionCRXFile));
+ fetcher->SetResponseFilePath(temp_dir_.GetPath().Append(kExtensionCRXFile));
fetcher->delegate()->OnURLFetchComplete(fetcher);
// Spin the loop. Verify that the loader announces the presence of a new CRX

Powered by Google App Engine
This is Rietveld 408576698