Index: chrome/browser/signin/mutable_profile_oauth2_token_service_unittest.cc |
diff --git a/chrome/browser/signin/mutable_profile_oauth2_token_service_unittest.cc b/chrome/browser/signin/mutable_profile_oauth2_token_service_unittest.cc |
index 9d41a2e674a71272226ef6def1c18b95a335fa13..20ea9654c93fe3dcf0751660ceb2e8c8b3e1b95a 100644 |
--- a/chrome/browser/signin/mutable_profile_oauth2_token_service_unittest.cc |
+++ b/chrome/browser/signin/mutable_profile_oauth2_token_service_unittest.cc |
@@ -9,9 +9,8 @@ |
#include "chrome/browser/signin/signin_account_id_helper.h" |
#include "chrome/browser/signin/signin_manager.h" |
#include "chrome/browser/signin/signin_manager_factory.h" |
-#include "chrome/browser/webdata/web_data_service_factory.h" |
+#include "chrome/browser/webdata/token_web_data.h" |
#include "chrome/test/base/testing_profile.h" |
-#include "components/signin/core/webdata/token_web_data.h" |
#include "content/public/test/test_browser_thread_bundle.h" |
#include "google_apis/gaia/gaia_constants.h" |
#include "google_apis/gaia/gaia_urls.h" |
@@ -77,8 +76,7 @@ |
void AddAuthTokenManually(const std::string& service, |
const std::string& value) { |
scoped_refptr<TokenWebData> token_web_data = |
- WebDataServiceFactory::GetTokenWebDataForProfile( |
- profile(), Profile::EXPLICIT_ACCESS); |
+ TokenWebData::FromBrowserContext(profile()); |
if (token_web_data.get()) |
token_web_data->SetTokenForService(service, value); |
} |