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 4adcbd9e5be79c2543c07ef35abc6a8305f392a9..01008ae629792fcc886525527fe5615ab92c31ae 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 |
@@ -142,7 +142,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()); |
@@ -275,9 +275,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 |