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

Unified Diff: extensions/renderer/user_script_injector.h

Issue 2227193002: Make UserScript non-copyable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync @tott Created 4 years, 4 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
« no previous file with comments | « extensions/common/user_script_unittest.cc ('k') | extensions/renderer/user_script_injector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/user_script_injector.h
diff --git a/extensions/renderer/user_script_injector.h b/extensions/renderer/user_script_injector.h
index 413831c488f0e1a7d6a1949e6062225529e258f3..91716559c3a7f27ba44b1afda3f7abf114fd2691 100644
--- a/extensions/renderer/user_script_injector.h
+++ b/extensions/renderer/user_script_injector.h
@@ -33,9 +33,8 @@ class UserScriptInjector : public ScriptInjector,
private:
// UserScriptSet::Observer implementation.
- void OnUserScriptsUpdated(
- const std::set<HostID>& changed_hosts,
- const std::vector<std::unique_ptr<UserScript>>& scripts) override;
+ void OnUserScriptsUpdated(const std::set<HostID>& changed_hosts,
+ const UserScriptList& scripts) override;
// ScriptInjector implementation.
UserScript::InjectionType script_type() const override;
« no previous file with comments | « extensions/common/user_script_unittest.cc ('k') | extensions/renderer/user_script_injector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698