Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Unified Diff: mojo/services/authentication/interfaces/authentication.mojom

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/services/authentication/interfaces/authentication.mojom
diff --git a/mojo/services/authentication/interfaces/authentication.mojom b/mojo/services/authentication/interfaces/authentication.mojom
index 845e66047a099d59d72215cdfd10638a4f2449ef..a74510378a1c5226a80c27bf81f7e8cf2134a85c 100644
--- a/mojo/services/authentication/interfaces/authentication.mojom
+++ b/mojo/services/authentication/interfaces/authentication.mojom
@@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-[DartPackage="mojo_services", JavaPackage="org.chromium.mojo.authentication"]
+[DartPackage="mojo_services",
+ JavaPackage="org.chromium.mojo.authentication"]
module authentication;
// Interface to handle user identity and authentication tokens.
@@ -20,8 +21,8 @@ interface AuthenticationService {
// Requests an oauth2 token for the given Google account with the given
// scopes. In case of error, token will be null and error will contain a
// description of the error.
- GetOAuth2Token(string username, array<string> scopes) =>
- (string? token, string? error);
+ GetOAuth2Token(string username, array<string> scopes)
+ => (string? token, string? error);
// Requests to clear a previously acquired token. This should be called when a
// token is refused by a server component before requesting a new token to
@@ -35,10 +36,11 @@ interface AuthenticationService {
// Google account credentials, invoke GetOAuth2DeviceCode() method followed by
// AddAccount() instead of using SelectAccount(), which only works for
// Android.
- GetOAuth2DeviceCode(array<string> scopes) => (string? verification_url,
- string? device_code,
- string? user_code,
- string? error);
+ GetOAuth2DeviceCode(array<string> scopes)
+ => (string? verification_url,
+ string? device_code,
+ string? user_code,
+ string? error);
// Exchanges an oauth2 device code to a refresh token for the granted user,
// and stores it locally in a secure storage location on FNL. For future
« no previous file with comments | « mojo/services/asset_bundle/interfaces/asset_bundle.mojom ('k') | mojo/services/clipboard/interfaces/clipboard.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698