diff options
Diffstat (limited to 'chrome/browser/extensions/extension_action_manager_unittest.cc')
-rw-r--r-- | chrome/browser/extensions/extension_action_manager_unittest.cc | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/chrome/browser/extensions/extension_action_manager_unittest.cc b/chrome/browser/extensions/extension_action_manager_unittest.cc index d040762..76c47f1 100644 --- a/chrome/browser/extensions/extension_action_manager_unittest.cc +++ b/chrome/browser/extensions/extension_action_manager_unittest.cc @@ -75,15 +75,18 @@ scoped_refptr<Extension> ExtensionActionManagerTest::BuildExtension( DictionaryBuilder& action, const char* action_type) { std::string id = base::IntToString(curr_id_++); - scoped_refptr<Extension> extension = ExtensionBuilder() - .SetManifest(DictionaryBuilder().Set("version", "1") - .Set("manifest_version", 2) - .Set("icons", extension_icons) - .Set(action_type, action) - .Set("name", - std::string("Test Extension").append(id))) - .SetID(id) - .Build(); + scoped_refptr<Extension> extension = + ExtensionBuilder() + .SetManifest( + DictionaryBuilder() + .Set("version", "1") + .Set("manifest_version", 2) + .Set("icons", extension_icons) + .Set(action_type, action) + .Set("name", std::string("Test Extension").append(id))) + .SetLocation(Manifest::UNPACKED) + .SetID(id) + .Build(); registry_->AddEnabled(extension); return extension; } |