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

Unified Diff: chrome/browser/ui/website_settings/permission_bubble_view.h

Issue 1865213004: Convert //chrome/browser/ui 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: chrome/browser/ui/website_settings/permission_bubble_view.h
diff --git a/chrome/browser/ui/website_settings/permission_bubble_view.h b/chrome/browser/ui/website_settings/permission_bubble_view.h
index dd0e23b0ed495ef5477cc2ef4920574e318cd1df..2c6cabd87a29c5a4f4d38966b6b9be05d03869df 100644
--- a/chrome/browser/ui/website_settings/permission_bubble_view.h
+++ b/chrome/browser/ui/website_settings/permission_bubble_view.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_UI_WEBSITE_SETTINGS_PERMISSION_BUBBLE_VIEW_H_
#define CHROME_BROWSER_UI_WEBSITE_SETTINGS_PERMISSION_BUBBLE_VIEW_H_
+#include <memory>
#include <vector>
#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/gfx/native_widget_types.h"
class Browser;
@@ -33,10 +33,11 @@ class PermissionBubbleView {
virtual void Closing() = 0;
};
- typedef base::Callback<scoped_ptr<PermissionBubbleView>(Browser*)> Factory;
+ typedef base::Callback<std::unique_ptr<PermissionBubbleView>(Browser*)>
+ Factory;
// Create a platform specific instance.
- static scoped_ptr<PermissionBubbleView> Create(Browser* browser);
+ static std::unique_ptr<PermissionBubbleView> Create(Browser* browser);
virtual ~PermissionBubbleView() {}
// Sets the delegate which will receive UI events forwarded from the bubble.

Powered by Google App Engine
This is Rietveld 408576698