From 53c570b58354034db920c09d711ed7d9b3429f30 Mon Sep 17 00:00:00 2001 From: "michaeln@chromium.org" Date: Fri, 18 Jun 2010 02:02:05 +0000 Subject: AppCache: add plumbing to deliver logging messages to the renderer process. These messages will be plumbed thru to the console output for the page associated with 'host_id'.BUG=13685TEST=none Review URL: http://codereview.chromium.org/2861007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50197 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/appcache/appcache_frontend_impl.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'webkit/appcache/appcache_frontend_impl.cc') diff --git a/webkit/appcache/appcache_frontend_impl.cc b/webkit/appcache/appcache_frontend_impl.cc index 3535bf1..2365a912d 100644 --- a/webkit/appcache/appcache_frontend_impl.cc +++ b/webkit/appcache/appcache_frontend_impl.cc @@ -53,6 +53,13 @@ void AppCacheFrontendImpl::OnProgressEventRaised( } } +void AppCacheFrontendImpl::OnLogMessage(int host_id, LogLevel log_level, + const std::string& message) { + WebApplicationCacheHostImpl* host = GetHost(host_id); + if (host) + host->OnLogMessage(log_level, message); +} + void AppCacheFrontendImpl::OnContentBlocked(int host_id) { WebApplicationCacheHostImpl* host = GetHost(host_id); if (host) -- cgit v1.1