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

Unified Diff: chrome/browser/extensions/external_install_manager.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/external_install_manager.h
diff --git a/chrome/browser/extensions/external_install_manager.h b/chrome/browser/extensions/external_install_manager.h
index 82732fac825d2c4b6e6bb877110fdeb620242e5f..51f3a14721125a112e599e879c0c717394a208c0 100644
--- a/chrome/browser/extensions/external_install_manager.h
+++ b/chrome/browser/extensions/external_install_manager.h
@@ -6,9 +6,9 @@
#define CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_MANAGER_H_
#include <map>
+#include <memory>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/scoped_observer.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -95,7 +95,7 @@ class ExternalInstallManager : public ExtensionRegistryObserver,
ExtensionPrefs* extension_prefs_;
// The collection of ExternalInstallErrors.
- std::map<std::string, scoped_ptr<ExternalInstallError>> errors_;
+ std::map<std::string, std::unique_ptr<ExternalInstallError>> errors_;
std::set<std::string> shown_ids_;
« no previous file with comments | « chrome/browser/extensions/external_install_error.cc ('k') | chrome/browser/extensions/external_install_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698