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

Unified Diff: google_apis/gaia/gaia_urls.cc

Issue 424233002: When the user signs in, make sure to set cookies on all reachable google (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « google_apis/gaia/gaia_urls.h ('k') | google_apis/gaia/merge_session_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/gaia_urls.cc
diff --git a/google_apis/gaia/gaia_urls.cc b/google_apis/gaia/gaia_urls.cc
index 0b44a911c743426e55c7893de8147f2e3172cb22..acb4c19e38a46bb1b80bb41853aabebbfcae9ec8 100644
--- a/google_apis/gaia/gaia_urls.cc
+++ b/google_apis/gaia/gaia_urls.cc
@@ -31,6 +31,7 @@ const char kOAuthRevokeTokenUrlSuffix[] = "AuthSubRevokeToken";
const char kListAccountsSuffix[] = "ListAccounts?json=standard";
const char kEmbeddedSigninSuffix[] = "EmbeddedSignIn";
const char kAddAccountSuffix[] = "AddSession";
+const char kGetCheckConnectionInfoSuffix[] = "GetCheckConnectionInfo";
// API calls from accounts.google.com (LSO)
const char kGetOAuthTokenUrlSuffix[] = "o/oauth/GetOAuthToken/";
@@ -104,6 +105,8 @@ GaiaUrls::GaiaUrls() {
list_accounts_url_ = gaia_url_.Resolve(kListAccountsSuffix);
embedded_signin_url_ = gaia_url_.Resolve(kEmbeddedSigninSuffix);
add_account_url_ = gaia_url_.Resolve(kAddAccountSuffix);
+ get_check_connection_info_url_ =
+ gaia_url_.Resolve(kGetCheckConnectionInfoSuffix);
// URLs from accounts.google.com (LSO).
get_oauth_token_url_ = lso_origin_url_.Resolve(kGetOAuthTokenUrlSuffix);
@@ -203,6 +206,10 @@ const GURL& GaiaUrls::add_account_url() const {
return add_account_url_;
}
+const GURL& GaiaUrls::get_check_connection_info_url() const {
+ return get_check_connection_info_url_;
+}
+
const std::string& GaiaUrls::oauth2_chrome_client_id() const {
return oauth2_chrome_client_id_;
}
« no previous file with comments | « google_apis/gaia/gaia_urls.h ('k') | google_apis/gaia/merge_session_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698