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

Unified Diff: components/policy/core/common/cloud/user_info_fetcher_unittest.cc

Issue 1902633006: Convert //components/policy from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments and use namespace alias 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: components/policy/core/common/cloud/user_info_fetcher_unittest.cc
diff --git a/components/policy/core/common/cloud/user_info_fetcher_unittest.cc b/components/policy/core/common/cloud/user_info_fetcher_unittest.cc
index c43e6dbc4abed91612ee26e780cd9caeca7c025e..2edfdf66cfcb71fe8f2bd9318d76a126acc206f5 100644
--- a/components/policy/core/common/cloud/user_info_fetcher_unittest.cc
+++ b/components/policy/core/common/cloud/user_info_fetcher_unittest.cc
@@ -63,7 +63,7 @@ TEST_F(UserInfoFetcherTest, SuccessfulFetch) {
// Generate what we expect our result will look like (should match
// parsed kUserInfoResponse).
- scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
+ std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
dict->SetString("email", "test_user@test.com");
dict->SetBoolean("verified_email", true);
dict->SetString("hd", "test.com");
« no previous file with comments | « components/policy/core/common/cloud/user_info_fetcher.cc ('k') | components/policy/core/common/config_dir_policy_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698