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

Unified Diff: chrome/common/extensions/manifest_handlers/content_scripts_handler.h

Issue 2227193002: Make UserScript non-copyable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: uplaod with base 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: chrome/common/extensions/manifest_handlers/content_scripts_handler.h
diff --git a/chrome/common/extensions/manifest_handlers/content_scripts_handler.h b/chrome/common/extensions/manifest_handlers/content_scripts_handler.h
index f633d63b899ae06c666c8fd716f0bcfcdd3a5f48..23188869d5e813b9373580104b76f9ca34140311 100644
--- a/chrome/common/extensions/manifest_handlers/content_scripts_handler.h
+++ b/chrome/common/extensions/manifest_handlers/content_scripts_handler.h
@@ -21,11 +21,12 @@ struct ContentScriptsInfo : public Extension::ManifestData {
~ContentScriptsInfo() override;
// Paths to the content scripts the extension contains (possibly empty).
- UserScriptList content_scripts;
+ ScriptMetadataList content_scripts;
// Returns the content scripts for the extension (if the extension has
// no content scripts, this returns an empty list).
- static const UserScriptList& GetContentScripts(const Extension* extension);
+ static const ScriptMetadataList& GetContentScripts(
+ const Extension* extension);
// Returns the list of hosts that this extension can run content scripts on.
static URLPatternSet GetScriptableHosts(const Extension* extension);

Powered by Google App Engine
This is Rietveld 408576698