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

Side by Side Diff: chrome/common/net/gaia/gaia_constants.cc

Issue 8769053: Remove stuff in TokenService that is not needed anymore (due to OAuth based approach): (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/net/gaia/token_service_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Constants definitions 5 // Constants definitions
6 6
7 #include "chrome/common/net/gaia/gaia_constants.h" 7 #include "chrome/common/net/gaia/gaia_constants.h"
8 8
9 namespace GaiaConstants { 9 namespace GaiaConstants {
10 10
(...skipping 15 matching lines...) Expand all
26 // Service name for remoting. 26 // Service name for remoting.
27 const char kRemotingService[] = "chromoting"; 27 const char kRemotingService[] = "chromoting";
28 // Service name for cloud print. 28 // Service name for cloud print.
29 const char kCloudPrintService[] = "cloudprint"; 29 const char kCloudPrintService[] = "cloudprint";
30 30
31 // Service/scope names for device management (cloud-based policy) server. 31 // Service/scope names for device management (cloud-based policy) server.
32 const char kDeviceManagementService[] = "mobilesync"; 32 const char kDeviceManagementService[] = "mobilesync";
33 const char kDeviceManagementServiceOAuth[] = 33 const char kDeviceManagementServiceOAuth[] =
34 "https://www.googleapis.com/auth/chromeosdevicemanagement"; 34 "https://www.googleapis.com/auth/chromeosdevicemanagement";
35 35
36 // Service/scope names for chrome web store. 36 // OAuth scopes for chrome web store.
37 const char kCWSService[] = "chromewebstore";
38 const char kCWSNotificationScope[] = 37 const char kCWSNotificationScope[] =
39 "https://www.googleapis.com/auth/chromewebstore.notification"; 38 "https://www.googleapis.com/auth/chromewebstore.notification";
40 39
41 // Service for LSO endpoint of Google that exposes OAuth APIs. 40 // Service for LSO endpoint of Google that exposes OAuth APIs.
42 const char kLSOService[] = "lso"; 41 const char kLSOService[] = "lso";
43 42
44 // Used to mint uber auth tokens when needed. 43 // Used to mint uber auth tokens when needed.
45 const char kGaiaSid[] = "sid"; 44 const char kGaiaSid[] = "sid";
46 const char kGaiaLsid[] = "lsid"; 45 const char kGaiaLsid[] = "lsid";
47 const char kGaiaOAuthToken[] = "oauthToken"; 46 const char kGaiaOAuthToken[] = "oauthToken";
48 const char kGaiaOAuthSecret[] = "oauthSecret"; 47 const char kGaiaOAuthSecret[] = "oauthSecret";
49 const char kGaiaOAuthDuration[] = "3600"; 48 const char kGaiaOAuthDuration[] = "3600";
50 const char kGaiaOAuth2LoginRefreshToken[] = "oauth2LoginRefreshToken"; 49 const char kGaiaOAuth2LoginRefreshToken[] = "oauth2LoginRefreshToken";
51 const char kGaiaOAuth2LoginAccessToken[] = "oauth2LoginAccessToken"; 50 const char kGaiaOAuth2LoginAccessToken[] = "oauth2LoginAccessToken";
52 51
53 } // namespace GaiaConstants 52 } // namespace GaiaConstants
OLDNEW
« no previous file with comments | « chrome/browser/net/gaia/token_service_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698