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

Unified Diff: chrome/common/extensions/manifest_handlers/ui_overrides_handler.h

Issue 1880143002: Convert chrome/common 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
Index: chrome/common/extensions/manifest_handlers/ui_overrides_handler.h
diff --git a/chrome/common/extensions/manifest_handlers/ui_overrides_handler.h b/chrome/common/extensions/manifest_handlers/ui_overrides_handler.h
index 9af93a1b4cdbcc617f0b65856948a4b9338de50e..5b524283a6b6f6d0be6d51e6f703b56ba28bc0ad 100644
--- a/chrome/common/extensions/manifest_handlers/ui_overrides_handler.h
+++ b/chrome/common/extensions/manifest_handlers/ui_overrides_handler.h
@@ -5,6 +5,8 @@
#ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_UI_OVERRIDES_HANDLER_H_
#define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_UI_OVERRIDES_HANDLER_H_
+#include <memory>
+
#include "base/macros.h"
#include "chrome/common/extensions/api/manifest_types.h"
#include "extensions/common/extension.h"
@@ -27,9 +29,10 @@ struct UIOverrides : public Extension::ManifestData {
static bool RemovesBookmarkShortcut(const Extension* extension);
static bool RemovesBookmarkOpenPagesShortcut(const Extension* extension);
- scoped_ptr<api::manifest_types::ChromeUIOverrides::Bookmarks_ui> bookmarks_ui;
+ std::unique_ptr<api::manifest_types::ChromeUIOverrides::Bookmarks_ui>
+ bookmarks_ui;
- scoped_ptr<ManifestPermission> manifest_permission;
+ std::unique_ptr<ManifestPermission> manifest_permission;
private:
DISALLOW_COPY_AND_ASSIGN(UIOverrides);

Powered by Google App Engine
This is Rietveld 408576698