Simplify ChromeContentRulesRegistry rule representation and construction
commit4d4f5d76394e96a487908ad3b0635e9b7eeecd47
authorwittman <wittman@chromium.org>
Thu, 16 Jul 2015 21:51:09 +0000 (16 14:51 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 16 Jul 2015 21:51:56 +0000 (16 21:51 +0000)
tree3d18c14868f0b6c2a7b71a4c76fb26a4b754bac0
parent7d1f8acf75ecb5f212d4cbd5cd3445367f45c496
Simplify ChromeContentRulesRegistry rule representation and construction

Replaces vector of smart pointers with ScopedVector for conditions and
action representations. Removes separate factory functions for
conditions and actions, and moves rule representation into
ChromeContentRulesRegistry.

This is in support of step 5 in the associated bug. No functional change
is intended.

BUG=492946

Review URL: https://codereview.chromium.org/1240013002

Cr-Commit-Position: refs/heads/master@{#339133}
chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry.cc
chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry.h
chrome/browser/extensions/api/declarative_content/content_action.cc
chrome/browser/extensions/api/declarative_content/content_action.h
chrome/browser/extensions/api/declarative_content/content_action_unittest.cc
chrome/browser/extensions/api/declarative_content/declarative_content_rule.cc [deleted file]
chrome/browser/extensions/api/declarative_content/declarative_content_rule.h [deleted file]
chrome/chrome_browser_extensions.gypi