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

Unified Diff: components/error_page/common/localized_error.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
« no previous file with comments | « components/error_page/common/error_page_params.h ('k') | components/error_page/common/localized_error.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/error_page/common/localized_error.h
diff --git a/components/error_page/common/localized_error.h b/components/error_page/common/localized_error.h
index cbe57f281f9bde4f9087aff2843a63ae2b168bd4..e4c26d35488735e50969a9a196ad0cc6966f10cc 100644
--- a/components/error_page/common/localized_error.h
+++ b/components/error_page/common/localized_error.h
@@ -5,10 +5,10 @@
#ifndef COMPONENTS_ERROR_PAGE_COMMON_LOCALIZED_ERROR_H_
#define COMPONENTS_ERROR_PAGE_COMMON_LOCALIZED_ERROR_H_
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "url/gurl.h"
@@ -32,7 +32,7 @@ class LocalizedError {
bool can_show_network_diagnostics_dialog,
bool has_offline_pages,
const std::string& locale,
- scoped_ptr<error_page::ErrorPageParams> params,
+ std::unique_ptr<error_page::ErrorPageParams> params,
base::DictionaryValue* strings);
// Returns a description of the encountered error.
« no previous file with comments | « components/error_page/common/error_page_params.h ('k') | components/error_page/common/localized_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698