Index: chrome/browser/signin/token_service.cc |
=================================================================== |
--- chrome/browser/signin/token_service.cc (revision 136877) |
+++ chrome/browser/signin/token_service.cc (working copy) |
@@ -9,6 +9,7 @@ |
#include "base/string_util.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile.h" |
+#include "chrome/browser/webdata/web_data_service_factory.h" |
#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/net/gaia/gaia_auth_fetcher.h" |
@@ -64,7 +65,8 @@ |
getter_ = profile->GetRequestContext(); |
// Since the user can create a bookmark in incognito, sync may be running. |
// Thus we have to go for explicit access. |
- web_data_service_ = profile->GetWebDataService(Profile::EXPLICIT_ACCESS); |
+ web_data_service_ = WebDataServiceFactory::GetForProfile( |
+ profile, Profile::EXPLICIT_ACCESS); |
source_ = std::string(source); |
CommandLine* cmd_line = CommandLine::ForCurrentProcess(); |