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

Unified Diff: content/renderer/manifest/manifest_parser.h

Issue 1851933002: Convert //url to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU fixup 7 Created 4 years, 9 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 | « content/public/browser/navigation_controller.h ('k') | content/renderer/manifest/manifest_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/manifest/manifest_parser.h
diff --git a/content/renderer/manifest/manifest_parser.h b/content/renderer/manifest/manifest_parser.h
index 5f683a0e6348392cecfac660073553f1a6bc2dbd..86f24a5145083f729b32ad6cbd6cebcea0d1a228 100644
--- a/content/renderer/manifest/manifest_parser.h
+++ b/content/renderer/manifest/manifest_parser.h
@@ -7,6 +7,8 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
#include "base/strings/nullable_string16.h"
#include "base/strings/string_piece.h"
@@ -46,7 +48,7 @@ class CONTENT_EXPORT ManifestParser {
void Parse();
const Manifest& manifest() const;
- const std::vector<scoped_ptr<ErrorInfo>>& errors() const;
+ const std::vector<std::unique_ptr<ErrorInfo>>& errors() const;
bool failed() const;
private:
@@ -203,7 +205,7 @@ class CONTENT_EXPORT ManifestParser {
bool failed_;
Manifest manifest_;
- std::vector<scoped_ptr<ErrorInfo>> errors_;
+ std::vector<std::unique_ptr<ErrorInfo>> errors_;
DISALLOW_COPY_AND_ASSIGN(ManifestParser);
};
« no previous file with comments | « content/public/browser/navigation_controller.h ('k') | content/renderer/manifest/manifest_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698