| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/extensions/api/identity/identity_constants.h" |
| 6 |
| 7 namespace extensions { |
| 8 |
| 9 namespace identity_constants { |
| 10 const char kInvalidClientId[] = "Invalid OAuth2 Client ID."; |
| 11 const char kInvalidScopes[] = "Invalid OAuth2 scopes."; |
| 12 const char kAuthFailure[] = "OAuth2 request failed: "; |
| 13 const char kNoGrant[] = "OAuth2 not granted or revoked."; |
| 14 const char kUserRejected[] = "The user did not approve access."; |
| 15 const char kUserNotSignedIn[] = "The user is not signed in."; |
| 16 const char kInteractionRequired[] = "User interaction required."; |
| 17 const char kInvalidRedirect[] = "Did not redirect to the right URL."; |
| 18 const char kOffTheRecord[] = "Identity API is disabled in incognito windows."; |
| 19 const char kPageLoadFailure[] = "Authorization page could not be loaded."; |
| 20 const char kCanceled[] = "canceled"; |
| 21 |
| 22 const int kCachedIssueAdviceTTLSeconds = 1; |
| 23 } // namespace identity_constants |
| 24 |
| 25 } // namespace extensions |
| OLD | NEW |