Index: extensions/renderer/user_script_set_manager.cc |
diff --git a/extensions/renderer/user_script_set_manager.cc b/extensions/renderer/user_script_set_manager.cc |
index 5a317a14d61f59ef8461bfa7f37f6f42d76c4bf0..1c8f72d47c1fe1b8061b40e1b7a53511dd927588 100644 |
--- a/extensions/renderer/user_script_set_manager.cc |
+++ b/extensions/renderer/user_script_set_manager.cc |
@@ -96,7 +96,8 @@ UserScriptSet* UserScriptSetManager::GetProgrammaticScriptsByHostID( |
void UserScriptSetManager::OnUpdateUserScripts( |
base::SharedMemoryHandle shared_memory, |
const HostID& host_id, |
- const std::set<HostID>& changed_hosts) { |
+ const std::set<HostID>& changed_hosts, |
+ bool whitelisted_only) { |
if (!base::SharedMemory::IsHandleValid(shared_memory)) { |
NOTREACHED() << "Bad scripts handle"; |
return; |
@@ -147,7 +148,9 @@ void UserScriptSetManager::OnUpdateUserScripts( |
effective_hosts = &all_hosts; |
} |
- if (scripts->UpdateUserScripts(shared_memory, *effective_hosts)) { |
+ if (scripts->UpdateUserScripts(shared_memory, |
+ *effective_hosts, |
+ whitelisted_only)) { |
FOR_EACH_OBSERVER( |
Observer, |
observers_, |