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

Unified Diff: extensions/renderer/user_script_injector.h

Issue 2193093002: [UserScript cleanup] Remove use of ScopedVector from UserScriptSet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/renderer/script_injection_manager.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 4b83d7c505e74055ed26352dceb84e1a53d275b0..2c6c74b9e5b56e2ae721223ed8f82e682004c77f 100644
--- a/extensions/renderer/user_script_injector.h
+++ b/extensions/renderer/user_script_injector.h
@@ -33,8 +33,9 @@ class UserScriptInjector : public ScriptInjector,
private:
// UserScriptSet::Observer implementation.
- void OnUserScriptsUpdated(const std::set<HostID>& changed_hosts,
- const std::vector<UserScript*>& scripts) override;
+ void OnUserScriptsUpdated(
+ const std::set<HostID>& changed_hosts,
+ const std::vector<std::unique_ptr<UserScript>>& scripts) override;
// ScriptInjector implementation.
UserScript::InjectionType script_type() const override;
« no previous file with comments | « extensions/renderer/script_injection_manager.cc ('k') | extensions/renderer/user_script_injector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698