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

Unified Diff: chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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_policy_service_unittest.cc
diff --git a/chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc b/chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc
index 981ca7706f29736ec6109e3c309519855043b799..211ec96988a5414f9a4e559770861b32e85f0b2b 100644
--- a/chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc
+++ b/chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc
@@ -102,7 +102,7 @@ class DeviceLocalAccountPolicyServiceTestBase
MockDeviceManagementService mock_device_management_service_;
FakeAffiliatedInvalidationServiceProvider
affiliated_invalidation_service_provider_;
- scoped_ptr<DeviceLocalAccountPolicyService> service_;
+ std::unique_ptr<DeviceLocalAccountPolicyService> service_;
private:
DISALLOW_COPY_AND_ASSIGN(DeviceLocalAccountPolicyServiceTestBase);
@@ -507,7 +507,7 @@ class DeviceLocalAccountPolicyExtensionCacheTest
base::FilePath GetCacheDirectoryForAccountID(const std::string& account_id);
base::ScopedTempDir cache_root_dir_;
- scoped_ptr<base::ScopedPathOverride> cache_root_dir_override_;
+ std::unique_ptr<base::ScopedPathOverride> cache_root_dir_override_;
base::FilePath cache_dir_1_;
base::FilePath cache_dir_2_;
@@ -785,7 +785,7 @@ class DeviceLocalAccountPolicyProviderTest
void TearDown() override;
SchemaRegistry schema_registry_;
- scoped_ptr<DeviceLocalAccountPolicyProvider> provider_;
+ std::unique_ptr<DeviceLocalAccountPolicyProvider> provider_;
MockConfigurationPolicyObserver provider_observer_;
private:

Powered by Google App Engine
This is Rietveld 408576698