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

Unified Diff: extensions/common/manifest_handlers/kiosk_mode_info.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
Index: extensions/common/manifest_handlers/kiosk_mode_info.cc
diff --git a/extensions/common/manifest_handlers/kiosk_mode_info.cc b/extensions/common/manifest_handlers/kiosk_mode_info.cc
index d625bfd7d36daf17484b4737e5a4953178f51535..2dd0f9b1844e8f022431338e1a3e6f01eab52033 100644
--- a/extensions/common/manifest_handlers/kiosk_mode_info.cc
+++ b/extensions/common/manifest_handlers/kiosk_mode_info.cc
@@ -4,7 +4,8 @@
#include "extensions/common/manifest_handlers/kiosk_mode_info.h"
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "base/strings/string16.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
@@ -114,7 +115,7 @@ bool KioskModeHandler::Parse(Extension* extension, base::string16* error) {
}
for (const base::Value* value : *list) {
- scoped_ptr<KioskSecondaryAppsType> app =
+ std::unique_ptr<KioskSecondaryAppsType> app =
KioskSecondaryAppsType::FromValue(*value, error);
if (!app) {
*error = base::ASCIIToUTF16(
« no previous file with comments | « extensions/common/manifest_handlers/incognito_info.cc ('k') | extensions/common/manifest_handlers/launcher_page_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698