Evaluate declarativeContent API rules on add/remove
commitb6780cb55862276ac886d6acfc6193f885d93f2e
authorwittman <wittman@chromium.org>
Sat, 9 May 2015 18:10:22 +0000 (9 11:10 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 9 May 2015 18:10:49 +0000 (9 18:10 +0000)
tree9b8a6c84df7a4574b6e8b25c10a8b35883d11d16
parent56b7f917659924c5cf755e9bb907d80e82faa5a0
Evaluate declarativeContent API rules on add/remove

Fixes bug where rules were not being evaluated until tabs' WebContents
were navigated.

BUG=485172

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

Cr-Commit-Position: refs/heads/master@{#329048}
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/chrome_content_rules_registry_unittest.cc
chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc