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

Unified Diff: extensions/common/manifest_handlers/webview_info.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
Index: extensions/common/manifest_handlers/webview_info.h
diff --git a/extensions/common/manifest_handlers/webview_info.h b/extensions/common/manifest_handlers/webview_info.h
index 887394d2dd7db664d7379da3aac2cf0bf2fdcf49..117354ff9dcc29fedfa9bc4deb6e8dca889c2eca 100644
--- a/extensions/common/manifest_handlers/webview_info.h
+++ b/extensions/common/manifest_handlers/webview_info.h
@@ -5,11 +5,11 @@
#ifndef EXTENSIONS_COMMON_MANIFEST_HANDLERS_WEBVIEW_INFO_H_
#define EXTENSIONS_COMMON_MANIFEST_HANDLERS_WEBVIEW_INFO_H_
+#include <memory>
#include <string>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "extensions/common/extension.h"
#include "extensions/common/manifest_handler.h"
@@ -32,11 +32,11 @@ class WebviewInfo : public Extension::ManifestData {
WebviewInfo(const std::string& extension_id);
~WebviewInfo() override;
- void AddPartitionItem(scoped_ptr<PartitionItem> item);
+ void AddPartitionItem(std::unique_ptr<PartitionItem> item);
private:
std::string extension_id_;
- std::vector<scoped_ptr<PartitionItem>> partition_items_;
+ std::vector<std::unique_ptr<PartitionItem>> partition_items_;
DISALLOW_COPY_AND_ASSIGN(WebviewInfo);
};

Powered by Google App Engine
This is Rietveld 408576698