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

Unified Diff: trunk/src/extensions/renderer/user_script_slave.h

Issue 307933008: Revert 273866 "Block content scripts from executing until user g..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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: trunk/src/extensions/renderer/user_script_slave.h
===================================================================
--- trunk/src/extensions/renderer/user_script_slave.h (revision 274101)
+++ trunk/src/extensions/renderer/user_script_slave.h (working copy)
@@ -46,11 +46,7 @@
const Extension* GetExtension(const std::string& extension_id);
// Update the parsed scripts from shared memory.
- // If |changed_extensions| is not empty, only those extensions will be
- // updated.
- // Otherwise, all extensions will be updated.
- bool UpdateScripts(base::SharedMemoryHandle shared_memory,
- const std::set<std::string>& changed_extensions);
+ bool UpdateScripts(base::SharedMemoryHandle shared_memory);
// Gets the isolated world ID to use for the given |extension| in the given
// |frame|. If no isolated world has been created for that extension,
@@ -70,14 +66,6 @@
// testability.
void InjectScripts(blink::WebFrame* frame, UserScript::RunLocation location);
- // Allow an extension to inject scripts that were previously delayed for user
- // approval.
- void OnContentScriptGrantedPermission(
- content::RenderView* render_view, int request_id);
-
- // Notify the UserScriptSlave that the |frame| is detached, and about to die.
- void FrameDetached(blink::WebFrame* frame);
-
private:
// Log the data from scripts being run, including doing UMA and notifying the
// browser.
« no previous file with comments | « trunk/src/extensions/renderer/script_injection.cc ('k') | trunk/src/extensions/renderer/user_script_slave.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698