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

Unified Diff: extensions/common/extension_builder.cc

Issue 1908953003: Convert //extensions/{common,shell} 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
« no previous file with comments | « extensions/common/extension_builder.h ('k') | extensions/common/extension_l10n_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension_builder.cc
diff --git a/extensions/common/extension_builder.cc b/extensions/common/extension_builder.cc
index 905ba6b2dfa2edcc27f64bf6d21c822c17f60d42..e00db3cb3dbc4f1b01e4f4a86b1ac30b34915c68 100644
--- a/extensions/common/extension_builder.cc
+++ b/extensions/common/extension_builder.cc
@@ -56,13 +56,13 @@ ExtensionBuilder& ExtensionBuilder::SetLocation(Manifest::Location location) {
}
ExtensionBuilder& ExtensionBuilder::SetManifest(
- scoped_ptr<base::DictionaryValue> manifest) {
+ std::unique_ptr<base::DictionaryValue> manifest) {
manifest_ = std::move(manifest);
return *this;
}
ExtensionBuilder& ExtensionBuilder::MergeManifest(
- scoped_ptr<base::DictionaryValue> manifest) {
+ std::unique_ptr<base::DictionaryValue> manifest) {
manifest_->MergeDictionary(manifest.get());
return *this;
}
« no previous file with comments | « extensions/common/extension_builder.h ('k') | extensions/common/extension_l10n_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698