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

Unified Diff: extensions/renderer/user_script_set.h

Issue 988633003: Refactoring: de-couple Extensions from "script injection System" [render side]:4 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Devlin's comments. Created 5 years, 9 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 ab2b585bdf3be9ccd8475b7e77089838cd79132d..a371a94d730e34d75f746e578ce5eb26d6c1b329 100644
--- a/extensions/renderer/user_script_set.h
+++ b/extensions/renderer/user_script_set.h
@@ -35,7 +35,7 @@ class UserScriptSet {
class Observer {
public:
virtual void OnUserScriptsUpdated(
- const std::set<std::string>& changed_extensions,
+ const std::set<HostID>& changed_hosts,
const std::vector<UserScript*>& scripts) = 0;
};
@@ -68,7 +68,7 @@ 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<std::string>& changed_extensions);
+ const std::set<HostID>& changed_hosts);
const std::vector<UserScript*>& scripts() const { return scripts_.get(); }

Powered by Google App Engine
This is Rietveld 408576698