Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1880)

Unified Diff: chrome/browser/webdata/web_data_service_win.cc

Issue 8745017: Disambiguate origins of tasks posted by the WebDataService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also convert call-sites in the Windows specific methods of this class. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/webdata/web_data_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/web_data_service_win.cc
diff --git a/chrome/browser/webdata/web_data_service_win.cc b/chrome/browser/webdata/web_data_service_win.cc
index 9f9f2a73f0455f389f7c8a9ccaed9f329ab4034d..6c06ad4e83131707079c248935409cf28c564439 100644
--- a/chrome/browser/webdata/web_data_service_win.cc
+++ b/chrome/browser/webdata/web_data_service_win.cc
@@ -16,7 +16,8 @@ void WebDataService::AddIE7Login(const IE7PasswordInfo& info) {
new GenericRequest<IE7PasswordInfo>(this, GetNextRequestHandle(), NULL,
info);
RegisterRequest(request);
- ScheduleTask(Bind(&WebDataService::AddIE7LoginImpl, this, request));
+ ScheduleTask(FROM_HERE,
+ Bind(&WebDataService::AddIE7LoginImpl, this, request));
}
void WebDataService::RemoveIE7Login(const IE7PasswordInfo& info) {
@@ -24,7 +25,8 @@ void WebDataService::RemoveIE7Login(const IE7PasswordInfo& info) {
new GenericRequest<IE7PasswordInfo>(this, GetNextRequestHandle(), NULL,
info);
RegisterRequest(request);
- ScheduleTask(Bind(&WebDataService::RemoveIE7LoginImpl, this, request));
+ ScheduleTask(FROM_HERE,
+ Bind(&WebDataService::RemoveIE7LoginImpl, this, request));
}
WebDataService::Handle WebDataService::GetIE7Login(
@@ -34,7 +36,8 @@ WebDataService::Handle WebDataService::GetIE7Login(
new GenericRequest<IE7PasswordInfo>(this, GetNextRequestHandle(),
consumer, info);
RegisterRequest(request);
- ScheduleTask(Bind(&WebDataService::GetIE7LoginImpl, this, request));
+ ScheduleTask(FROM_HERE,
+ Bind(&WebDataService::GetIE7LoginImpl, this, request));
return request->GetHandle();
}
« no previous file with comments | « chrome/browser/webdata/web_data_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698