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

Unified Diff: chrome/common/extensions/manifest_handlers/theme_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/theme_handler.h
diff --git a/chrome/common/extensions/manifest_handlers/theme_handler.h b/chrome/common/extensions/manifest_handlers/theme_handler.h
index da601e19f6700f54f5ef188b12f576d8a8ba09f7..d625876fa5e6a05c58525ba407c89f6496c902c7 100644
--- a/chrome/common/extensions/manifest_handlers/theme_handler.h
+++ b/chrome/common/extensions/manifest_handlers/theme_handler.h
@@ -5,6 +5,8 @@
#ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_THEME_HANDLER_H_
#define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_THEME_HANDLER_H_
+#include <memory>
+
#include "base/macros.h"
#include "extensions/common/extension.h"
#include "extensions/common/manifest_handler.h"
@@ -28,16 +30,16 @@ struct ThemeInfo : public Extension::ManifestData {
const Extension* extension);
// A map of resource id's to relative file paths.
- scoped_ptr<base::DictionaryValue> theme_images_;
+ std::unique_ptr<base::DictionaryValue> theme_images_;
// A map of color names to colors.
- scoped_ptr<base::DictionaryValue> theme_colors_;
+ std::unique_ptr<base::DictionaryValue> theme_colors_;
// A map of color names to colors.
- scoped_ptr<base::DictionaryValue> theme_tints_;
+ std::unique_ptr<base::DictionaryValue> theme_tints_;
// A map of display properties.
- scoped_ptr<base::DictionaryValue> theme_display_properties_;
+ std::unique_ptr<base::DictionaryValue> theme_display_properties_;
};
// Parses the "theme" manifest key.

Powered by Google App Engine
This is Rietveld 408576698