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

Unified Diff: chrome/browser/extensions/external_policy_loader_unittest.cc

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header 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
« no previous file with comments | « chrome/browser/extensions/external_loader.cc ('k') | chrome/browser/extensions/external_pref_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/external_policy_loader_unittest.cc
diff --git a/chrome/browser/extensions/external_policy_loader_unittest.cc b/chrome/browser/extensions/external_policy_loader_unittest.cc
index 3807ee7a50ad44e3fcf5decf03b7e8c8c7c43188..7fd52e00a4e2afb0c106eb37cc17e2a38d61b9dc 100644
--- a/chrome/browser/extensions/external_policy_loader_unittest.cc
+++ b/chrome/browser/extensions/external_policy_loader_unittest.cc
@@ -85,7 +85,7 @@ class MockExternalPolicyProviderVisitor
// Provider returns the correct location when asked.
Manifest::Location location1;
- scoped_ptr<Version> version1;
+ std::unique_ptr<Version> version1;
provider_->GetExtensionDetails(info.extension_id, &location1, &version1);
EXPECT_EQ(Manifest::EXTERNAL_POLICY_DOWNLOAD, location1);
EXPECT_FALSE(version1.get());
@@ -112,9 +112,9 @@ class MockExternalPolicyProviderVisitor
private:
std::set<std::string> expected_extensions_;
- scoped_ptr<TestingProfile> profile_;
+ std::unique_ptr<TestingProfile> profile_;
- scoped_ptr<ExternalProviderImpl> provider_;
+ std::unique_ptr<ExternalProviderImpl> provider_;
DISALLOW_COPY_AND_ASSIGN(MockExternalPolicyProviderVisitor);
};
« no previous file with comments | « chrome/browser/extensions/external_loader.cc ('k') | chrome/browser/extensions/external_pref_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698