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

Side by Side Diff: chrome/browser/extensions/api/identity/identity_constants.cc

Issue 2661913002: Identity extension API impl: Split constants into their own file (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698