| Index: chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc
|
| diff --git a/chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc b/chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc
|
| index 6601b57fb94d13935b74b03f6b020cf05fdb060a..b47188e576c92096a718166d1c9b11d68c81b4a6 100644
|
| --- a/chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc
|
| +++ b/chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc
|
| @@ -228,9 +228,10 @@ TEST_F(RulesRegistryWithCacheTest, DeclarativeRulesStored) {
|
| TestingValueStore* store = system->value_store();
|
|
|
| const std::string event_name("testEvent");
|
| + const RulesRegistry::WebViewKey key(0, 0);
|
| const std::string rules_stored_key(
|
| RulesRegistryWithCache::RuleStorageOnUI::GetRulesStoredKey(
|
| - event_name, profile.IsOffTheRecord()));
|
| + event_name, profile.IsOffTheRecord(), key));
|
| scoped_ptr<RulesRegistryWithCache::RuleStorageOnUI> ui_part;
|
| scoped_refptr<RulesRegistryWithCache> registry(new TestRulesRegistry(
|
| &profile, event_name, content::BrowserThread::UI, &ui_part));
|
| @@ -300,12 +301,13 @@ TEST_F(RulesRegistryWithCacheTest, RulesStoredFlagMultipleRegistries) {
|
|
|
| const std::string event_name1("testEvent1");
|
| const std::string event_name2("testEvent2");
|
| + const RulesRegistry::WebViewKey key(0, 0);
|
| const std::string rules_stored_key1(
|
| RulesRegistryWithCache::RuleStorageOnUI::GetRulesStoredKey(
|
| - event_name1, profile.IsOffTheRecord()));
|
| + event_name1, profile.IsOffTheRecord(), key));
|
| const std::string rules_stored_key2(
|
| RulesRegistryWithCache::RuleStorageOnUI::GetRulesStoredKey(
|
| - event_name2, profile.IsOffTheRecord()));
|
| + event_name2, profile.IsOffTheRecord(), key));
|
| scoped_ptr<RulesRegistryWithCache::RuleStorageOnUI> ui_part1;
|
| scoped_refptr<RulesRegistryWithCache> registry1(new TestRulesRegistry(
|
| &profile, event_name1, content::BrowserThread::UI, &ui_part1));
|
|
|