| Index: chrome/browser/safe_browsing/database_manager.cc
|
| diff --git a/chrome/browser/safe_browsing/database_manager.cc b/chrome/browser/safe_browsing/database_manager.cc
|
| index fa4c2963faf770a07be9bd6c3facbb9b3c6e8d34..5e3522d1cc4c781ef1c52abf612ee2325ff86c36 100644
|
| --- a/chrome/browser/safe_browsing/database_manager.cc
|
| +++ b/chrome/browser/safe_browsing/database_manager.cc
|
| @@ -521,6 +521,14 @@ void SafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) {
|
| }
|
| }
|
|
|
| +void SafeBrowsingDatabaseManager::NotifyDatabaseUpdateFinished(
|
| + bool update_succeeded) {
|
| + content::NotificationService::current()->Notify(
|
| + chrome::NOTIFICATION_SAFE_BROWSING_UPDATE_COMPLETE,
|
| + content::Source<SafeBrowsingDatabaseManager>(this),
|
| + content::Details<bool>(&update_succeeded));
|
| +}
|
| +
|
| SafeBrowsingDatabaseManager::QueuedCheck::QueuedCheck(
|
| const safe_browsing_util::ListType check_type,
|
| Client* client,
|
| @@ -859,14 +867,6 @@ void SafeBrowsingDatabaseManager::DatabaseUpdateFinished(
|
| this, update_succeeded));
|
| }
|
|
|
| -void SafeBrowsingDatabaseManager::NotifyDatabaseUpdateFinished(
|
| - bool update_succeeded) {
|
| - content::NotificationService::current()->Notify(
|
| - chrome::NOTIFICATION_SAFE_BROWSING_UPDATE_COMPLETE,
|
| - content::Source<SafeBrowsingDatabaseManager>(this),
|
| - content::Details<bool>(&update_succeeded));
|
| -}
|
| -
|
| void SafeBrowsingDatabaseManager::OnCloseDatabase() {
|
| DCHECK_EQ(base::MessageLoop::current(),
|
| safe_browsing_thread_->message_loop());
|
|
|