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

Unified Diff: chrome/browser/extensions/external_loader.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
Index: chrome/browser/extensions/external_loader.cc
diff --git a/chrome/browser/extensions/external_loader.cc b/chrome/browser/extensions/external_loader.cc
index 662cdebbd16acdbb7943261e043b127b0443965a..c35316bedc0883c128d0c473a7722792c5b54c0a 100644
--- a/chrome/browser/extensions/external_loader.cc
+++ b/chrome/browser/extensions/external_loader.cc
@@ -45,7 +45,7 @@ void ExternalLoader::LoadFinished() {
}
void ExternalLoader::OnUpdated(
- scoped_ptr<base::DictionaryValue> updated_prefs) {
+ std::unique_ptr<base::DictionaryValue> updated_prefs) {
CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
if (owner_)
owner_->UpdatePrefs(updated_prefs.release());
« no previous file with comments | « chrome/browser/extensions/external_loader.h ('k') | chrome/browser/extensions/external_policy_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698