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

Unified Diff: extensions/browser/guest_view/web_view/web_view_guest.h

Issue 1909773002: Convert //extensions/browser from scoped_ptr 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: extensions/browser/guest_view/web_view/web_view_guest.h
diff --git a/extensions/browser/guest_view/web_view/web_view_guest.h b/extensions/browser/guest_view/web_view/web_view_guest.h
index 19391ac966eb166011a8fe1df29fd5df3036092b..88d0f103d3c70b174c376c4ea2c5c3eb00b8d1eb 100644
--- a/extensions/browser/guest_view/web_view/web_view_guest.h
+++ b/extensions/browser/guest_view/web_view/web_view_guest.h
@@ -328,7 +328,7 @@ class WebViewGuest : public guest_view::GuestView<WebViewGuest>,
WebViewFindHelper find_helper_;
base::ObserverList<ScriptExecutionObserver> script_observers_;
- scoped_ptr<ScriptExecutor> script_executor_;
+ std::unique_ptr<ScriptExecutor> script_executor_;
content::NotificationRegistrar notification_registrar_;
@@ -348,9 +348,9 @@ class WebViewGuest : public guest_view::GuestView<WebViewGuest>,
JavaScriptDialogHelper javascript_dialog_helper_;
// Handles permission requests.
- scoped_ptr<WebViewPermissionHelper> web_view_permission_helper_;
+ std::unique_ptr<WebViewPermissionHelper> web_view_permission_helper_;
- scoped_ptr<WebViewGuestDelegate> web_view_guest_delegate_;
+ std::unique_ptr<WebViewGuestDelegate> web_view_guest_delegate_;
// Tracks the name, and target URL of the new window. Once the first
// navigation commits, we no longer track this information.

Powered by Google App Engine
This is Rietveld 408576698