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

Unified Diff: trunk/src/chrome/browser/extensions/user_script_master.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/chrome/browser/extensions/user_script_master.h
===================================================================
--- trunk/src/chrome/browser/extensions/user_script_master.h (revision 274101)
+++ trunk/src/chrome/browser/extensions/user_script_master.h (working copy)
@@ -149,13 +149,9 @@
const Extension* extension,
UnloadedExtensionInfo::Reason reason) OVERRIDE;
- // Sends the renderer process a new set of user scripts. If
- // |changed_extensions| is not empty, this signals that only the scripts from
- // those extensions should be updated. Otherwise, all extensions will be
- // updated.
+ // Sends the renderer process a new set of user scripts.
void SendUpdate(content::RenderProcessHost* process,
- base::SharedMemory* shared_memory,
- const std::set<std::string>& changed_extensions);
+ base::SharedMemory* shared_memory);
// Manages our notification registrations.
content::NotificationRegistrar registrar_;
@@ -172,10 +168,6 @@
// Maps extension info needed for localization to an extension ID.
ExtensionsInfo extensions_info_;
- // The IDs of the extensions which have changed since the last update sent to
- // the renderer.
- std::set<std::string> changed_extensions_;
-
// If the extensions service has finished loading its initial set of
// extensions.
bool extensions_service_ready_;

Powered by Google App Engine
This is Rietveld 408576698