| Index: chrome/browser/renderer_host/resource_message_filter.cc
|
| ===================================================================
|
| --- chrome/browser/renderer_host/resource_message_filter.cc (revision 31365)
|
| +++ chrome/browser/renderer_host/resource_message_filter.cc (working copy)
|
| @@ -171,7 +171,8 @@
|
| new DOMStorageDispatcherHost(this, profile->GetWebKitContext(),
|
| resource_dispatcher_host->webkit_thread()))),
|
| ALLOW_THIS_IN_INITIALIZER_LIST(db_dispatcher_host_(
|
| - new DatabaseDispatcherHost(profile->GetPath(), this))),
|
| + new DatabaseDispatcherHost(profile->GetDatabaseTracker(),
|
| + this, handle()))),
|
| notification_prefs_(
|
| profile->GetDesktopNotificationService()->prefs_cache()),
|
| socket_stream_dispatcher_host_(new SocketStreamDispatcherHost),
|
| @@ -193,6 +194,9 @@
|
| // Tell the DOM Storage dispatcher host to stop sending messages via us.
|
| dom_storage_dispatcher_host_->Shutdown();
|
|
|
| + // Shut down the database dispatcher host.
|
| + db_dispatcher_host_->Shutdown();
|
| +
|
| // Let interested observers know we are being deleted.
|
| NotificationService::current()->Notify(
|
| NotificationType::RESOURCE_MESSAGE_FILTER_SHUTDOWN,
|
| @@ -540,8 +544,7 @@
|
| }
|
|
|
| void ResourceMessageFilter::OnDeleteCookie(const GURL& url,
|
| - const std::string& cookie_name)
|
| -{
|
| + const std::string& cookie_name) {
|
| URLRequestContext* context = GetRequestContextForURL(url);
|
| net::CookieMonster* cookie_monster = context->cookie_store()->
|
| GetCookieMonster();
|
|
|