| Index: google_apis/gaia/gaia_urls.cc
|
| diff --git a/google_apis/gaia/gaia_urls.cc b/google_apis/gaia/gaia_urls.cc
|
| index 6545d56451201d301203bbd5af48afa071ee3ade..95d524527c69a23457c42254c4aa17eac64760e3 100644
|
| --- a/google_apis/gaia/gaia_urls.cc
|
| +++ b/google_apis/gaia/gaia_urls.cc
|
| @@ -13,6 +13,7 @@
|
| namespace {
|
|
|
| // Gaia service constants
|
| +const char kDefaultGoogleUrl[] = "http://.google.com";
|
| const char kDefaultGaiaUrl[] = "https://accounts.google.com";
|
| const char kDefaultGoogleApisBaseUrl[] = "https://www.googleapis.com";
|
|
|
| @@ -76,6 +77,8 @@ GaiaUrls* GaiaUrls::GetInstance() {
|
| }
|
|
|
| GaiaUrls::GaiaUrls() {
|
| + google_url_ = GetURLSwitchValueWithDefault(switches::kGoogleUrl,
|
| + kDefaultGoogleUrl);
|
| gaia_url_ = GetURLSwitchValueWithDefault(switches::kGaiaUrl, kDefaultGaiaUrl);
|
| lso_origin_url_ =
|
| GetURLSwitchValueWithDefault(switches::kLsoUrl, kDefaultGaiaUrl);
|
| @@ -137,6 +140,10 @@ GaiaUrls::GaiaUrls() {
|
| GaiaUrls::~GaiaUrls() {
|
| }
|
|
|
| +const GURL& GaiaUrls::google_url() const {
|
| + return google_url_;
|
| +}
|
| +
|
| const GURL& GaiaUrls::gaia_url() const {
|
| return gaia_url_;
|
| }
|
|
|