Chromium Code Reviews| Index: google_apis/gaia/oauth2_mint_token_flow.cc |
| diff --git a/google_apis/gaia/oauth2_mint_token_flow.cc b/google_apis/gaia/oauth2_mint_token_flow.cc |
| index 69c241cef6a24df158d7f12898cc0f495476c88b..65a50e31f2d7d10fd844f02ca603615cf4c7b63b 100644 |
| --- a/google_apis/gaia/oauth2_mint_token_flow.cc |
| +++ b/google_apis/gaia/oauth2_mint_token_flow.cc |
| @@ -279,3 +279,31 @@ bool OAuth2MintTokenFlow::ParseIssueAdviceResponse( |
| return success; |
| } |
| + |
| +net::PartialNetworkTrafficAnnotationTag |
| +OAuth2MintTokenFlow::GetNetworkTrafficAnnotationTag() { |
| + return net::DefinePartialNetworkTrafficAnnotation( |
| + "oauth2_mint_token_flow", "oauth2_api_call_flow", R"( |
| + semantics { |
| + sender: "Chrome Identity API" |
| + description: |
| + "Requests a token from gaia allowing an app or extension to act as " |
| + "the user when calling other google APIs." |
| + trigger: "API call from the app/extension" |
|
msramek
2017/06/28 08:40:55
nit: Period at the end.
Ramin Halavati
2017/06/28 09:21:29
Done.
|
| + data: |
| + "User's login token, the identity of a chrome app/extension, and a " |
| + "list of oauth scopes requested by the app/extension." |
| + destination: GOOGLE_OWNED_SERVICE |
| + } |
| + policy { |
| + setting: |
| + "This feature cannot be disabled by settings, however the request is " |
| + "made only for signed-in users." |
| + chrome_policy { |
| + SigninAllowed { |
| + policy_options {mode: MANDATORY} |
| + SigninAllowed: false |
| + } |
| + } |
| + })"); |
| +} |