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.cc25
1 files changed, 13 insertions, 12 deletions
diff --git a/extensions/shell/browser/api/identity/identity_api_unittest.cc b/extensions/shell/browser/api/identity/identity_api_unittest.cc
index 03e6f71..1802fdb 100644
--- a/extensions/shell/browser/api/identity/identity_api_unittest.cc
+++ b/extensions/shell/browser/api/identity/identity_api_unittest.cc
@@ -5,6 +5,7 @@
#include "extensions/shell/browser/api/identity/identity_api.h"
#include <string>
+#include <utility>
#include "base/memory/scoped_ptr.h"
#include "base/values.h"
@@ -65,18 +66,18 @@ class IdentityApiTest : public ApiUnitTest {
set_extension(
ExtensionBuilder()
.SetManifest(
- DictionaryBuilder()
- .Set("name", "Test")
- .Set("version", "1.0")
- .Set(
- "oauth2",
- DictionaryBuilder()
- .Set("client_id",
- "123456.apps.googleusercontent.com")
- .Set(
- "scopes",
- ListBuilder().Append(
- "https://www.googleapis.com/auth/drive"))))
+ DictionaryBuilder()
+ .Set("name", "Test")
+ .Set("version", "1.0")
+ .Set(
+ "oauth2",
+ DictionaryBuilder()
+ .Set("client_id",
+ "123456.apps.googleusercontent.com")
+ .Set(
+ "scopes",
+ std::move(ListBuilder().Append(
+ "https://www.googleapis.com/auth/drive")))))
.SetLocation(Manifest::UNPACKED)
.Build());
}