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

Unified Diff: chrome/browser/extensions/extension_app_icon_loader.h

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header 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/browser/extensions/extension_app_icon_loader.h
diff --git a/chrome/browser/extensions/extension_app_icon_loader.h b/chrome/browser/extensions/extension_app_icon_loader.h
index 6ce5fb081c2bef2aa7e3a9893a92b53887771467..e0a2c9026559dfcc9f2f3ef3635546c931b645ad 100644
--- a/chrome/browser/extensions/extension_app_icon_loader.h
+++ b/chrome/browser/extensions/extension_app_icon_loader.h
@@ -6,10 +6,10 @@
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_APP_ICON_LOADER_H_
#include <map>
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/app_icon_loader.h"
#include "extensions/browser/extension_icon_image.h"
@@ -38,7 +38,7 @@ class ExtensionAppIconLoader : public AppIconLoader,
private:
using ExtensionIDToImageMap =
- std::map<std::string, scoped_ptr<extensions::IconImage>>;
+ std::map<std::string, std::unique_ptr<extensions::IconImage>>;
// Builds image for given |id| and |icon|.
void BuildImage(const std::string& id, const gfx::ImageSkia& icon);
« no previous file with comments | « chrome/browser/extensions/extension_apitest.cc ('k') | chrome/browser/extensions/extension_app_icon_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698