summaryrefslogtreecommitdiffstats
path: root/extensions/shell/browser/api/identity/identity_api_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/shell/browser/api/identity/identity_api_unittest.cc')
-rw-r--r--extensions/shell/browser/api/identity/identity_api_unittest.cc19
1 files changed, 11 insertions, 8 deletions
diff --git a/extensions/shell/browser/api/identity/identity_api_unittest.cc b/extensions/shell/browser/api/identity/identity_api_unittest.cc
index bf9248c..0af6e4b1 100644
--- a/extensions/shell/browser/api/identity/identity_api_unittest.cc
+++ b/extensions/shell/browser/api/identity/identity_api_unittest.cc
@@ -65,18 +65,21 @@ class IdentityApiTest : public ApiUnitTest {
// Create an extension with OAuth2 scopes.
set_extension(
ExtensionBuilder()
- .SetManifest(std::move(
+ .SetManifest(
DictionaryBuilder()
.Set("name", "Test")
.Set("version", "1.0")
.Set("oauth2",
- std::move(DictionaryBuilder()
- .Set("client_id",
- "123456.apps.googleusercontent.com")
- .Set("scopes",
- std::move(ListBuilder().Append(
- "https://www.googleapis.com/"
- "auth/drive")))))))
+ DictionaryBuilder()
+ .Set("client_id",
+ "123456.apps.googleusercontent.com")
+ .Set("scopes",
+ ListBuilder()
+ .Append("https://www.googleapis.com/"
+ "auth/drive")
+ .Build())
+ .Build())
+ .Build())
.SetLocation(Manifest::UNPACKED)
.Build());
}