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

Unified Diff: components/error_page/common/error_page_params.h

Issue 1921973002: Convert //components/[a-e]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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: components/error_page/common/error_page_params.h
diff --git a/components/error_page/common/error_page_params.h b/components/error_page/common/error_page_params.h
index c0b2203b9011a07ab8b40a09cf3a1ba183349ba8..6aa9e1745c9bd4bdd6cd7520733abfcd52ca9972 100644
--- a/components/error_page/common/error_page_params.h
+++ b/components/error_page/common/error_page_params.h
@@ -5,9 +5,9 @@
#ifndef COMPONENTS_NET_ERROR_COMMON_ERROR_PAGE_PARAMS_H_
#define COMPONENTS_NET_ERROR_COMMON_ERROR_PAGE_PARAMS_H_
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "url/gurl.h"
namespace base {
@@ -29,7 +29,7 @@ struct ErrorPageParams {
// contains a "header" entry. A "body" entry may optionally be specified.
// JSTemplate evaluation will be applied when added to the DOM. If NULL, the
// default suggestions will be used.
- scoped_ptr<base::ListValue> override_suggestions;
+ std::unique_ptr<base::ListValue> override_suggestions;
// Prefix to prepend to search terms. Search box is only shown if this is
// a valid url. The search terms will be appended to the end of this URL to
« no previous file with comments | « components/devtools_http_handler/devtools_http_handler_unittest.cc ('k') | components/error_page/common/localized_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698