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

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

Issue 2113863002: components/signin: convert GaiaCookieManagerService to use CanonicalCookie's Create() method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ListAccountsAfterOnCookieChanged? Created 4 years, 5 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 | « components/signin/core/browser/gaia_cookie_manager_service.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) 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 #include "google_apis/gaia/gaia_urls.h" 5 #include "google_apis/gaia/gaia_urls.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "google_apis/gaia/gaia_switches.h" 10 #include "google_apis/gaia/gaia_switches.h"
11 #include "google_apis/google_api_keys.h" 11 #include "google_apis/google_api_keys.h"
12 12
13 namespace { 13 namespace {
14 14
15 // Gaia service constants 15 // Gaia service constants
16 const char kDefaultGoogleUrl[] = "http://.google.com"; 16 const char kDefaultGoogleUrl[] = "http://google.com";
17 const char kDefaultGaiaUrl[] = "https://accounts.google.com"; 17 const char kDefaultGaiaUrl[] = "https://accounts.google.com";
18 const char kDefaultGoogleApisBaseUrl[] = "https://www.googleapis.com"; 18 const char kDefaultGoogleApisBaseUrl[] = "https://www.googleapis.com";
19 19
20 // API calls from accounts.google.com 20 // API calls from accounts.google.com
21 const char kClientLoginUrlSuffix[] = "ClientLogin"; 21 const char kClientLoginUrlSuffix[] = "ClientLogin";
22 const char kServiceLoginUrlSuffix[] = "ServiceLogin"; 22 const char kServiceLoginUrlSuffix[] = "ServiceLogin";
23 const char kEmbeddedSetupChromeOsUrlSuffix[] = "embedded/setup/chromeos"; 23 const char kEmbeddedSetupChromeOsUrlSuffix[] = "embedded/setup/chromeos";
24 const char kServiceLoginAuthUrlSuffix[] = "ServiceLoginAuth"; 24 const char kServiceLoginAuthUrlSuffix[] = "ServiceLoginAuth";
25 const char kServiceLogoutUrlSuffix[] = "Logout"; 25 const char kServiceLogoutUrlSuffix[] = "Logout";
26 const char kIssueAuthTokenUrlSuffix[] = "IssueAuthToken"; 26 const char kIssueAuthTokenUrlSuffix[] = "IssueAuthToken";
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 return source.empty() 290 return source.empty()
291 ? get_check_connection_info_url_ 291 ? get_check_connection_info_url_
292 : get_check_connection_info_url_.Resolve( 292 : get_check_connection_info_url_.Resolve(
293 base::StringPrintf("?source=%s", source.c_str())); 293 base::StringPrintf("?source=%s", source.c_str()));
294 } 294 }
295 295
296 GURL GaiaUrls::signin_completed_continue_url() const { 296 GURL GaiaUrls::signin_completed_continue_url() const {
297 return 297 return
298 GURL("chrome-extension://mfffpogegjflfpflabcdkioaeobkgjik/success.html"); 298 GURL("chrome-extension://mfffpogegjflfpflabcdkioaeobkgjik/success.html");
299 } 299 }
OLDNEW
« no previous file with comments | « components/signin/core/browser/gaia_cookie_manager_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698