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

Unified Diff: chrome/browser/extensions/extension_error_controller.h

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/extension_error_controller.h
diff --git a/chrome/browser/extensions/extension_error_controller.h b/chrome/browser/extensions/extension_error_controller.h
index 784f78dd1e7c9102398137090ef8558c0869d3c2..356f6652b2aebb7477010d000bf69fa891520668 100644
--- a/chrome/browser/extensions/extension_error_controller.h
+++ b/chrome/browser/extensions/extension_error_controller.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_CONTROLLER_H_
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_CONTROLLER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/extensions/extension_error_ui.h"
#include "extensions/common/extension_set.h"
@@ -52,7 +53,7 @@ class ExtensionErrorController : public ExtensionErrorUI::Delegate {
ExtensionSet blacklisted_extensions_;
// The UI component of this controller.
- scoped_ptr<ExtensionErrorUI> error_ui_;
+ std::unique_ptr<ExtensionErrorUI> error_ui_;
// The BrowserContext with which we are associated.
content::BrowserContext* browser_context_;
« no previous file with comments | « chrome/browser/extensions/extension_disabled_ui_browsertest.cc ('k') | chrome/browser/extensions/extension_error_ui_default.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698