Index: google_apis/gaia/gaia_urls.cc |
diff --git a/google_apis/gaia/gaia_urls.cc b/google_apis/gaia/gaia_urls.cc |
index e314a10292551527f4290c2ff3fe8c9ae1bd192d..bff2ab39e25c6d7c9bac85768566efeca8868924 100644 |
--- a/google_apis/gaia/gaia_urls.cc |
+++ b/google_apis/gaia/gaia_urls.cc |
@@ -20,8 +20,7 @@ |
// API calls from accounts.google.com |
const char kClientLoginUrlSuffix[] = "ClientLogin"; |
const char kServiceLoginUrlSuffix[] = "ServiceLogin"; |
-const char kEmbeddedSetupChromeOsUrlSuffixV1[] = "embedded/setup/chromeos"; |
-const char kEmbeddedSetupChromeOsUrlSuffixV2[] = "embedded/setup/v2/chromeos"; |
+const char kEmbeddedSetupChromeOsUrlSuffix[] = "embedded/setup/chromeos"; |
const char kServiceLoginAuthUrlSuffix[] = "ServiceLoginAuth"; |
const char kServiceLogoutUrlSuffix[] = "Logout"; |
const char kIssueAuthTokenUrlSuffix[] = "IssueAuthToken"; |
@@ -98,10 +97,8 @@ |
// URLs from accounts.google.com. |
client_login_url_ = gaia_url_.Resolve(kClientLoginUrlSuffix); |
service_login_url_ = gaia_url_.Resolve(kServiceLoginUrlSuffix); |
- embedded_setup_chromeos_url_v1_ = |
- gaia_url_.Resolve(kEmbeddedSetupChromeOsUrlSuffixV1); |
- embedded_setup_chromeos_url_v2_ = |
- gaia_url_.Resolve(kEmbeddedSetupChromeOsUrlSuffixV2); |
+ embedded_setup_chromeos_url_ = |
+ gaia_url_.Resolve(kEmbeddedSetupChromeOsUrlSuffix); |
service_login_auth_url_ = gaia_url_.Resolve(kServiceLoginAuthUrlSuffix); |
service_logout_url_ = gaia_url_.Resolve(kServiceLogoutUrlSuffix); |
issue_auth_token_url_ = gaia_url_.Resolve(kIssueAuthTokenUrlSuffix); |
@@ -163,13 +160,8 @@ |
return service_login_url_; |
} |
-const GURL& GaiaUrls::embedded_setup_chromeos_url(unsigned version) const { |
- DCHECK_GT(version, 0U); |
- DCHECK_LE(version, 2U); |
- if (version == 2U) |
- return embedded_setup_chromeos_url_v2_; |
- |
- return embedded_setup_chromeos_url_v1_; |
+const GURL& GaiaUrls::embedded_setup_chromeos_url() const { |
+ return embedded_setup_chromeos_url_; |
} |