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

Unified Diff: extensions/renderer/user_script_set.h

Issue 1140173003: Allow whitelisted content scripts to be injected in WebViews. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@document_has_focus
Patch Set: Remove some no-longer-needed WebViewGuestDelegate interfaces Created 5 years, 7 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/renderer/user_script_set.h
diff --git a/extensions/renderer/user_script_set.h b/extensions/renderer/user_script_set.h
index a371a94d730e34d75f746e578ce5eb26d6c1b329..5ce51527c928a96b3a0bc606149206aa6d3757e2 100644
--- a/extensions/renderer/user_script_set.h
+++ b/extensions/renderer/user_script_set.h
@@ -68,7 +68,8 @@ class UserScriptSet {
// Updates scripts given the shared memory region containing user scripts.
// Returns true if the scripts were successfully updated.
bool UpdateUserScripts(base::SharedMemoryHandle shared_memory,
- const std::set<HostID>& changed_hosts);
+ const std::set<HostID>& changed_hosts,
+ bool whitelisted_only);
const std::vector<UserScript*>& scripts() const { return scripts_.get(); }

Powered by Google App Engine
This is Rietveld 408576698