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

Unified Diff: chrome/browser/chromeos/app_mode/kiosk_app_data.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/app_mode/kiosk_app_data.cc
diff --git a/chrome/browser/chromeos/app_mode/kiosk_app_data.cc b/chrome/browser/chromeos/app_mode/kiosk_app_data.cc
index 711f58597ab58d6e03294025d4233587ca1fc4d7..d0646bedab5c9149ca72cf12fd0d8929c9cbe966 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_app_data.cc
+++ b/chrome/browser/chromeos/app_mode/kiosk_app_data.cc
@@ -356,7 +356,7 @@ class KioskAppData::WebstoreDataParser
// Takes ownership of |parsed_manifest|.
extensions::Manifest manifest(
extensions::Manifest::INVALID_LOCATION,
- scoped_ptr<base::DictionaryValue>(parsed_manifest));
+ std::unique_ptr<base::DictionaryValue>(parsed_manifest));
if (!IsValidKioskAppManifest(manifest)) {
ReportFailure();
@@ -632,7 +632,7 @@ void KioskAppData::OnWebstoreRequestFailure() {
}
void KioskAppData::OnWebstoreResponseParseSuccess(
- scoped_ptr<base::DictionaryValue> webstore_data) {
+ std::unique_ptr<base::DictionaryValue> webstore_data) {
// Takes ownership of |webstore_data|.
webstore_fetcher_.reset();
« no previous file with comments | « chrome/browser/chromeos/app_mode/kiosk_app_data.h ('k') | chrome/browser/chromeos/app_mode/kiosk_app_external_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698