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

Side by Side Diff: google_apis/gaia/gaia_constants.cc

Issue 601643002: Use a distinct source parameter on gaia endpoints for the reconcilor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@uber
Patch Set: Remove functions Created 6 years, 2 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
« no previous file with comments | « google_apis/gaia/gaia_constants.h ('k') | google_apis/gaia/gaia_urls.h » ('j') | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "google_apis/gaia/gaia_constants.h" 7 #include "google_apis/gaia/gaia_constants.h"
8 8
9 namespace GaiaConstants { 9 namespace GaiaConstants {
10 10
11 // Gaia uses this for accounting where login is coming from. 11 // Gaia uses this for accounting where login is coming from.
12 const char kChromeOSSource[] = "chromeos"; 12 const char kChromeOSSource[] = "chromeos";
13 const char kChromeSource[] = "ChromiumBrowser"; 13 const char kChromeSource[] = "ChromiumBrowser";
14 const char kReconcilorSource[] = "ChromiumReconcilor";
14 15
15 // Service name for Gaia. Used to convert to cookie auth. 16 // Service name for Gaia. Used to convert to cookie auth.
16 const char kGaiaService[] = "gaia"; 17 const char kGaiaService[] = "gaia";
17 // Service name for Picasa API. API is used to get user's image. 18 // Service name for Picasa API. API is used to get user's image.
18 const char kPicasaService[] = "lh2"; 19 const char kPicasaService[] = "lh2";
19 20
20 // Service/scope names for sync. 21 // Service/scope names for sync.
21 const char kSyncService[] = "chromiumsync"; 22 const char kSyncService[] = "chromiumsync";
22 23
23 // Service name for remoting. 24 // Service name for remoting.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 64
64 // Used to build ClientOAuth requests. These are the names of keys used when 65 // Used to build ClientOAuth requests. These are the names of keys used when
65 // building base::DictionaryValue that represent the json data that makes up 66 // building base::DictionaryValue that represent the json data that makes up
66 // the ClientOAuth endpoint protocol. The comment above each constant explains 67 // the ClientOAuth endpoint protocol. The comment above each constant explains
67 // what value is associated with that key. 68 // what value is associated with that key.
68 69
69 // Canonical email of the account to sign in. 70 // Canonical email of the account to sign in.
70 const char kClientOAuthEmailKey[] = "email"; 71 const char kClientOAuthEmailKey[] = "email";
71 72
72 } // namespace GaiaConstants 73 } // namespace GaiaConstants
OLDNEW
« no previous file with comments | « google_apis/gaia/gaia_constants.h ('k') | google_apis/gaia/gaia_urls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698