Index: chrome/browser/webdata/token_web_data.cc |
diff --git a/chrome/browser/webdata/token_web_data.cc b/chrome/browser/webdata/token_web_data.cc |
index cd636da347eabaaeebd4937435d650dfcced257d..e659b67557b004043e8361d875f7fe7ba24e844a 100644 |
--- a/chrome/browser/webdata/token_web_data.cc |
+++ b/chrome/browser/webdata/token_web_data.cc |
@@ -4,9 +4,11 @@ |
#include "chrome/browser/webdata/token_web_data.h" |
+#include "base/bind.h" |
#include "base/stl_util.h" |
#include "chrome/browser/webdata/token_service_table.h" |
#include "components/webdata/common/web_database_service.h" |
+#include "content/public/browser/browser_thread.h" |
using base::Bind; |
using base::Time; |
@@ -59,7 +61,8 @@ class TokenWebDataBackend |
TokenWebData::TokenWebData(scoped_refptr<WebDatabaseService> wdbs, |
const ProfileErrorCallback& callback) |
- : WebDataServiceBase(wdbs, callback), |
+ : WebDataServiceBase(wdbs, callback, |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)), |
token_backend_(new TokenWebDataBackend()) { |
} |
@@ -83,7 +86,8 @@ WebDataServiceBase::Handle TokenWebData::GetAllTokens( |
} |
TokenWebData::TokenWebData() |
- : WebDataServiceBase(NULL, ProfileErrorCallback()), |
+ : WebDataServiceBase(NULL, ProfileErrorCallback(), |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)), |
token_backend_(new TokenWebDataBackend()) { |
} |