Index: chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc |
diff --git a/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc b/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc |
index 31c4b75bb316e90ca96731f20d3c2ea924b9933c..2c63a19a53caea5a82f76fbf91ce771dd3f6f46d 100644 |
--- a/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc |
+++ b/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc |
@@ -8,6 +8,7 @@ |
#include "base/strings/string_split.h" |
#include "base/strings/string_util.h" |
#include "base/strings/stringprintf.h" |
+#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/signin/profile_oauth2_token_service.h" |
#include "chrome/browser/signin/profile_oauth2_token_service_factory.h" |
#include "google_apis/gaia/gaia_urls.h" |
@@ -58,7 +59,9 @@ GaiaWebAuthFlow::~GaiaWebAuthFlow() { |
void GaiaWebAuthFlow::Start() { |
ProfileOAuth2TokenService* token_service = |
ProfileOAuth2TokenServiceFactory::GetForProfile(profile_); |
- ubertoken_fetcher_.reset(new UbertokenFetcher(profile_, this)); |
+ ubertoken_fetcher_.reset(new UbertokenFetcher(token_service, |
+ this, |
+ profile_->GetRequestContext())); |
ubertoken_fetcher_->StartFetchingToken(token_service->GetPrimaryAccountId()); |
} |