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

Unified Diff: extensions/browser/error_map.h

Issue 1909773002: Convert //extensions/browser 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 | « extensions/browser/declarative_user_script_master.h ('k') | extensions/browser/error_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/error_map.h
diff --git a/extensions/browser/error_map.h b/extensions/browser/error_map.h
index 929335ab48dbe62a2683089dcd398f433ab016af..c4c7f102c21b34b4269052003d0a8a0c9633ba3f 100644
--- a/extensions/browser/error_map.h
+++ b/extensions/browser/error_map.h
@@ -9,11 +9,11 @@
#include <deque>
#include <map>
+#include <memory>
#include <set>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "extensions/browser/extension_error.h"
namespace extensions {
@@ -61,7 +61,7 @@ class ErrorMap {
const ErrorList& GetErrorsForExtension(const std::string& extension_id) const;
// Add the |error| to the ErrorMap.
- const ExtensionError* AddError(scoped_ptr<ExtensionError> error);
+ const ExtensionError* AddError(std::unique_ptr<ExtensionError> error);
// Removes errors that match the given |filter| from the map. If non-null,
// |affected_ids| will be populated with the set of extension ids that were
« no previous file with comments | « extensions/browser/declarative_user_script_master.h ('k') | extensions/browser/error_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698