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

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: address comments from Devlin 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
Index: extensions/renderer/user_script_injector.h
diff --git a/extensions/renderer/user_script_injector.h b/extensions/renderer/user_script_injector.h
index b62995a107a8a6fe543c3b235fa6b35dda104064..ab22e89278482b1090f9188ba2a5a3ca91e5984d 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;

Powered by Google App Engine
This is Rietveld 408576698