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

Unified Diff: extensions/renderer/user_script_set.cc

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: nits. 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.cc
diff --git a/extensions/renderer/user_script_set.cc b/extensions/renderer/user_script_set.cc
index df7c7c954d5249eed7dbabeceafaa27c080c4c68..f82465d6f1992e70edfedc53266935839c07b5ba 100644
--- a/extensions/renderer/user_script_set.cc
+++ b/extensions/renderer/user_script_set.cc
@@ -85,9 +85,8 @@ void UserScriptSet::GetInjections(
}
}
-bool UserScriptSet::UpdateUserScripts(
- base::SharedMemoryHandle shared_memory,
- const std::set<std::string>& changed_extensions) {
+bool UserScriptSet::UpdateUserScripts(base::SharedMemoryHandle shared_memory,
+ const std::set<HostID>& changed_hosts) {
bool only_inject_incognito =
ExtensionsRendererClient::Get()->IsIncognitoProcess();
@@ -146,7 +145,7 @@ bool UserScriptSet::UpdateUserScripts(
FOR_EACH_OBSERVER(Observer,
observers_,
- OnUserScriptsUpdated(changed_extensions, scripts_.get()));
+ OnUserScriptsUpdated(changed_hosts, scripts_.get()));
return true;
}

Powered by Google App Engine
This is Rietveld 408576698