diff options
author | vabr@chromium.org <vabr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-14 21:08:58 +0000 |
---|---|---|
committer | vabr@chromium.org <vabr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-14 21:08:58 +0000 |
commit | 8fa3a5875cf05c75133c1f8d9a9a3d047bb5cd8b (patch) | |
tree | 1c7f21c1cc70bc53528b809bf0cc1effcb64bfc1 /chrome/browser/extensions/api/declarative_content/content_rules_registry.h | |
parent | 51ca81afcdedec601cfdaceb96f0ccc1aac927ad (diff) | |
download | chromium_src-8fa3a5875cf05c75133c1f8d9a9a3d047bb5cd8b.zip chromium_src-8fa3a5875cf05c75133c1f8d9a9a3d047bb5cd8b.tar.gz chromium_src-8fa3a5875cf05c75133c1f8d9a9a3d047bb5cd8b.tar.bz2 |
RulesRegistry: Drop the "delete only on owner's thread" requirement
This requirement causes troubles in tests, which might have message loops for the UI thread not running.
Because no concretization of a RulesRegistry currently depends on destruction on a specific thread, it is safe to drop the destruction on the owner thread requirement.
BUG=189173
Review URL: https://chromiumcodereview.appspot.com/12833004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188197 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/api/declarative_content/content_rules_registry.h')
-rw-r--r-- | chrome/browser/extensions/api/declarative_content/content_rules_registry.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/extensions/api/declarative_content/content_rules_registry.h b/chrome/browser/extensions/api/declarative_content/content_rules_registry.h index 3040561..4a66b3e 100644 --- a/chrome/browser/extensions/api/declarative_content/content_rules_registry.h +++ b/chrome/browser/extensions/api/declarative_content/content_rules_registry.h @@ -140,6 +140,8 @@ class ContentRulesRegistry : public RulesRegistryWithCache, content::NotificationRegistrar registrar_; scoped_refptr<ExtensionInfoMap> extension_info_map_; + + DISALLOW_COPY_AND_ASSIGN(ContentRulesRegistry); }; } // namespace extensions |