diff options
author | wittman <wittman@chromium.org> | 2015-07-01 17:10:37 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-02 00:11:32 +0000 |
commit | 7d8fbe8b8353f307e1aa747df65aad2896ae58be (patch) | |
tree | 38a50618103cdcf61d27856edd9d28256f8b0029 /chrome/chrome_browser_extensions.gypi | |
parent | d1ab24715976e5d9ea47788ef22ed4f0c5014835 (diff) | |
download | chromium_src-7d8fbe8b8353f307e1aa747df65aad2896ae58be.zip chromium_src-7d8fbe8b8353f307e1aa747df65aad2896ae58be.tar.gz chromium_src-7d8fbe8b8353f307e1aa747df65aad2896ae58be.tar.bz2 |
Construct ChromeContentRulesRegistry rules locally and clean up rule code
Moves DeclarativeContentRule, DeclarativeContentConditionSet, and
DeclarativeContentActionSet construction into ChromeContentRulesRegistry
code to faciliate refactoring.
Also, performs the following cleanups on the rule code:
- eliminate unnecessary DeclarativeContentActionSet class
- move behavior from DeclarativeContentRule to
ChromeContentRulesRegistry and make it a struct
- refer to extensions via const Extension* rather than id
- remove redundant bad_message parameter from ContentAction
- remove unnecessary subclass tag enum from ContentAction
- remove unused extension install time parameters
This corresponds roughly to step 5 in the associated bug, although there
is more work to be done there. No functional change is intended.
BUG=492946
Review URL: https://codereview.chromium.org/1220823003
Cr-Commit-Position: refs/heads/master@{#337141}
Diffstat (limited to 'chrome/chrome_browser_extensions.gypi')
-rw-r--r-- | chrome/chrome_browser_extensions.gypi | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/chrome_browser_extensions.gypi b/chrome/chrome_browser_extensions.gypi index 7848f9d..c0e549c 100644 --- a/chrome/chrome_browser_extensions.gypi +++ b/chrome/chrome_browser_extensions.gypi @@ -215,8 +215,6 @@ 'browser/extensions/api/declarative_content/content_condition.h', 'browser/extensions/api/declarative_content/content_constants.cc', 'browser/extensions/api/declarative_content/content_constants.h', - 'browser/extensions/api/declarative_content/declarative_content_action_set.cc', - 'browser/extensions/api/declarative_content/declarative_content_action_set.h', 'browser/extensions/api/declarative_content/declarative_content_condition_set.cc', 'browser/extensions/api/declarative_content/declarative_content_condition_set.h', 'browser/extensions/api/declarative_content/declarative_content_condition_tracker_delegate.cc', |