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

Unified Diff: extensions/common/manifest.h

Issue 1908953003: Convert //extensions/{common,shell} from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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/common/file_util_unittest.cc ('k') | extensions/common/manifest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/manifest.h
diff --git a/extensions/common/manifest.h b/extensions/common/manifest.h
index 4ae38d3e2477678e1d5ac8c7e16431286cf75f30..5455cc6a7acb900c838d29bf844ce7b1fbca9869 100644
--- a/extensions/common/manifest.h
+++ b/extensions/common/manifest.h
@@ -6,11 +6,11 @@
#define EXTENSIONS_COMMON_MANIFEST_H_
#include <map>
+#include <memory>
#include <set>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "base/values.h"
@@ -116,7 +116,7 @@ class Manifest {
return IsUnpackedLocation(location);
}
- Manifest(Location location, scoped_ptr<base::DictionaryValue> value);
+ Manifest(Location location, std::unique_ptr<base::DictionaryValue> value);
virtual ~Manifest();
const std::string& extension_id() const { return extension_id_; }
@@ -191,7 +191,7 @@ class Manifest {
Location location_;
// The underlying dictionary representation of the manifest.
- scoped_ptr<base::DictionaryValue> value_;
+ std::unique_ptr<base::DictionaryValue> value_;
Type type_;
« no previous file with comments | « extensions/common/file_util_unittest.cc ('k') | extensions/common/manifest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698