summaryrefslogtreecommitdiffstats
path: root/extensions/browser/api
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/browser/api')
-rw-r--r--extensions/browser/api/bluetooth/bluetooth_event_router_unittest.cc8
-rw-r--r--extensions/browser/api/device_permissions_prompt_unittest.cc16
2 files changed, 12 insertions, 12 deletions
diff --git a/extensions/browser/api/bluetooth/bluetooth_event_router_unittest.cc b/extensions/browser/api/bluetooth/bluetooth_event_router_unittest.cc
index d960a5f..701a28d 100644
--- a/extensions/browser/api/bluetooth/bluetooth_event_router_unittest.cc
+++ b/extensions/browser/api/bluetooth/bluetooth_event_router_unittest.cc
@@ -83,10 +83,10 @@ TEST_F(BluetoothEventRouterTest, MultipleBluetoothEventListeners) {
TEST_F(BluetoothEventRouterTest, UnloadExtension) {
scoped_refptr<const Extension> extension =
ExtensionBuilder()
- .SetManifest(DictionaryBuilder()
- .Set("name", "BT event router test")
- .Set("version", "1.0")
- .Set("manifest_version", 2))
+ .SetManifest(std::move(DictionaryBuilder()
+ .Set("name", "BT event router test")
+ .Set("version", "1.0")
+ .Set("manifest_version", 2)))
.SetID(kTestExtensionId)
.Build();
diff --git a/extensions/browser/api/device_permissions_prompt_unittest.cc b/extensions/browser/api/device_permissions_prompt_unittest.cc
index 2ab430d..9c2d22c 100644
--- a/extensions/browser/api/device_permissions_prompt_unittest.cc
+++ b/extensions/browser/api/device_permissions_prompt_unittest.cc
@@ -19,10 +19,10 @@ class DevicePermissionsPromptTest : public testing::Test {};
TEST_F(DevicePermissionsPromptTest, HidPromptMessages) {
scoped_refptr<Extension> extension =
ExtensionBuilder()
- .SetManifest(DictionaryBuilder()
- .Set("name", "Test Application")
- .Set("manifest_version", 2)
- .Set("version", "1.0"))
+ .SetManifest(std::move(DictionaryBuilder()
+ .Set("name", "Test Application")
+ .Set("manifest_version", 2)
+ .Set("version", "1.0")))
.Build();
scoped_refptr<DevicePermissionsPrompt::Prompt> prompt =
@@ -47,10 +47,10 @@ TEST_F(DevicePermissionsPromptTest, HidPromptMessages) {
TEST_F(DevicePermissionsPromptTest, UsbPromptMessages) {
scoped_refptr<Extension> extension =
ExtensionBuilder()
- .SetManifest(DictionaryBuilder()
- .Set("name", "Test Application")
- .Set("manifest_version", 2)
- .Set("version", "1.0"))
+ .SetManifest(std::move(DictionaryBuilder()
+ .Set("name", "Test Application")
+ .Set("manifest_version", 2)
+ .Set("version", "1.0")))
.Build();
scoped_refptr<DevicePermissionsPrompt::Prompt> prompt =