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

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

Issue 2227193002: Make UserScript non-copyable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync @tott Created 4 years, 4 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_content_script_manager.h
diff --git a/extensions/browser/guest_view/web_view/web_view_content_script_manager.h b/extensions/browser/guest_view/web_view/web_view_content_script_manager.h
index ace0cda6c2734a5e545f878f5f03f231f838bf30..7864d0bcc3c28a3a0fc1c629ec7b2bdab9a840ca 100644
--- a/extensions/browser/guest_view/web_view/web_view_content_script_manager.h
+++ b/extensions/browser/guest_view/web_view/web_view_content_script_manager.h
@@ -44,7 +44,7 @@ class WebViewContentScriptManager : public base::SupportsUserData::Data,
content::RenderFrameHost* render_frame_host,
int view_instance_id,
const HostID& host_id,
- const UserScriptList& user_scripts);
+ std::unique_ptr<UserScriptList> user_scripts);
// Removes all content scripts for the WebView identified by
// |embedder_process_id| and |view_instance_id|.

Powered by Google App Engine
This is Rietveld 408576698