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

Unified Diff: chrome/browser/extensions/api/tabs/ash_panel_contents.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/api/tabs/ash_panel_contents.h
diff --git a/chrome/browser/extensions/api/tabs/ash_panel_contents.h b/chrome/browser/extensions/api/tabs/ash_panel_contents.h
index e789e501327e7a1c0fa10c3d5e63ddde4c249eb2..442051dc7847a1dea355799f65c6376fbeef0a39 100644
--- a/chrome/browser/extensions/api/tabs/ash_panel_contents.h
+++ b/chrome/browser/extensions/api/tabs/ash_panel_contents.h
@@ -7,10 +7,10 @@
#include <stdint.h>
+#include <memory>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/ash/launcher/launcher_favicon_loader.h"
#include "extensions/browser/app_window/app_window.h"
@@ -59,8 +59,8 @@ class AshPanelContents
private:
extensions::AppWindow* host_;
GURL url_;
- scoped_ptr<content::WebContents> web_contents_;
- scoped_ptr<LauncherFaviconLoader> launcher_favicon_loader_;
+ std::unique_ptr<content::WebContents> web_contents_;
+ std::unique_ptr<LauncherFaviconLoader> launcher_favicon_loader_;
DISALLOW_COPY_AND_ASSIGN(AshPanelContents);
};
« no previous file with comments | « chrome/browser/extensions/api/tabs/app_window_controller.cc ('k') | chrome/browser/extensions/api/tabs/tabs_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698