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

Unified Diff: components/webdata/common/web_database_service.cc

Issue 17760007: components/webdata: Cleanup callback usage in WebDatabaseService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disallow Created 7 years, 6 months 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 | « components/webdata/common/web_database_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/webdata/common/web_database_service.cc
diff --git a/components/webdata/common/web_database_service.cc b/components/webdata/common/web_database_service.cc
index 0bd508b555213227fb2b50ed05204b99d2b1ccfb..9a2cab33165a1398b948c1386b317ac7496d5542 100644
--- a/components/webdata/common/web_database_service.cc
+++ b/components/webdata/common/web_database_service.cc
@@ -150,12 +150,12 @@ void WebDatabaseService::CancelRequest(WebDataServiceBase::Handle h) {
}
void WebDatabaseService::RegisterDBLoadedCallback(
- const base::Callback<void(void)>& callback) {
+ const DBLoadedCallback& callback) {
loaded_callbacks_.push_back(callback);
}
void WebDatabaseService::RegisterDBErrorCallback(
- const base::Callback<void(sql::InitStatus)>& callback) {
+ const DBLoadErrorCallback& callback) {
error_callbacks_.push_back(callback);
}
« no previous file with comments | « components/webdata/common/web_database_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698