diff options
Diffstat (limited to 'extensions/browser/mojo/keep_alive_impl_unittest.cc')
| -rw-r--r-- | extensions/browser/mojo/keep_alive_impl_unittest.cc | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/extensions/browser/mojo/keep_alive_impl_unittest.cc b/extensions/browser/mojo/keep_alive_impl_unittest.cc index c1f4810..5d640e0 100644 --- a/extensions/browser/mojo/keep_alive_impl_unittest.cc +++ b/extensions/browser/mojo/keep_alive_impl_unittest.cc @@ -28,17 +28,21 @@ class KeepAliveTest : public ExtensionsTest { message_loop_.reset(new base::MessageLoop); extension_ = ExtensionBuilder() - .SetManifest(std::move( + .SetManifest( DictionaryBuilder() .Set("name", "app") .Set("version", "1") .Set("manifest_version", 2) - .Set("app", - std::move(DictionaryBuilder().Set( - "background", - std::move(DictionaryBuilder().Set( - "scripts", std::move(ListBuilder().Append( - "background.js"))))))))) + .Set("app", DictionaryBuilder() + .Set("background", + DictionaryBuilder() + .Set("scripts", + ListBuilder() + .Append("background.js") + .Build()) + .Build()) + .Build()) + .Build()) .SetID("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") .Build(); } @@ -110,16 +114,21 @@ TEST_F(KeepAliveTest, UnloadExtension) { scoped_refptr<const Extension> other_extension = ExtensionBuilder() - .SetManifest(std::move( + .SetManifest( DictionaryBuilder() .Set("name", "app") .Set("version", "1") .Set("manifest_version", 2) - .Set("app", std::move(DictionaryBuilder().Set( - "background", - std::move(DictionaryBuilder().Set( - "scripts", std::move(ListBuilder().Append( - "background.js"))))))))) + .Set("app", + DictionaryBuilder() + .Set("background", + DictionaryBuilder() + .Set("scripts", ListBuilder() + .Append("background.js") + .Build()) + .Build()) + .Build()) + .Build()) .SetID("bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb") .Build(); |
