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

Unified Diff: chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator_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/affiliated_cloud_policy_invalidator_unittest.cc
diff --git a/chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator_unittest.cc b/chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator_unittest.cc
index 5800d8410a5c9d00dc848650fb2597ff8c82e97e..274c1245d467a9fc63b874427b79b3c01d6af3a8 100644
--- a/chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator_unittest.cc
+++ b/chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator_unittest.cc
@@ -84,7 +84,7 @@ TEST(AffiliatedCloudPolicyInvalidatorTest, CreateUseDestroy) {
// Connect |core|. Expect it to send a registration request. Let the
// registration succeed.
- scoped_ptr<MockCloudPolicyClient> policy_client_owner(
+ std::unique_ptr<MockCloudPolicyClient> policy_client_owner(
new MockCloudPolicyClient);
MockCloudPolicyClient* policy_client = policy_client_owner.get();
EXPECT_CALL(*policy_client, SetupRegistration("token", "device-id"))

Powered by Google App Engine
This is Rietveld 408576698