summaryrefslogtreecommitdiffstats
path: root/extensions/extensions.gyp
diff options
context:
space:
mode:
authorhanxi <hanxi@chromium.org>2015-01-27 15:38:46 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-27 23:40:18 +0000
commitb88fe3dc1072501bdd105fd95a8b3bc453fd2aa7 (patch)
treee4f8aecf3319c52d1b5e32d56ffe28191b45faf9 /extensions/extensions.gyp
parent86b7486d902f7e1389f8a3dad9ff42ee68134076 (diff)
downloadchromium_src-b88fe3dc1072501bdd105fd95a8b3bc453fd2aa7.zip
chromium_src-b88fe3dc1072501bdd105fd95a8b3bc453fd2aa7.tar.gz
chromium_src-b88fe3dc1072501bdd105fd95a8b3bc453fd2aa7.tar.bz2
Introduce HostID and de-couple Extensions from "script injection System" [browser side]
The major refactor includes: - Introduce HostID (a pair of |id, type|) to replace extension_id in browser side. - Abstract UserScriptLoader to be a base class, and introduces a derived class ExtensionUserScriptLoader which is responsible for loading user scripts for extensions. - In DeclarativeUserScriptManager, a master is created per extension/webUI. - DeclarativeUserScriptManager becomes an ExtensionRegistryObserver and is responsible for clearing scripts for master objects when receive OnExensionUnloaded event. BUG=437566 Review URL: https://codereview.chromium.org/822453002 Cr-Commit-Position: refs/heads/master@{#313402}
Diffstat (limited to 'extensions/extensions.gyp')
-rw-r--r--extensions/extensions.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/extensions.gyp b/extensions/extensions.gyp
index 1197c5c..0977c5d 100644
--- a/extensions/extensions.gyp
+++ b/extensions/extensions.gyp
@@ -88,6 +88,7 @@
'common/cast/cast_cert_validator.h',
'common/common_manifest_handlers.cc',
'common/common_manifest_handlers.h',
+ 'common/host_id.h',
'common/csp_validator.cc',
'common/csp_validator.h',
'common/dom_action_types.h',