summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_frontend_impl.cc
diff options
context:
space:
mode:
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-18 02:02:05 +0000
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-18 02:02:05 +0000
commit53c570b58354034db920c09d711ed7d9b3429f30 (patch)
treecec472d625b0fb5cfd338197ab60766c43b37627 /webkit/appcache/appcache_frontend_impl.cc
parent2980fdcdf74dd4c25c8718f12f3f147d2581177d (diff)
downloadchromium_src-53c570b58354034db920c09d711ed7d9b3429f30.zip
chromium_src-53c570b58354034db920c09d711ed7d9b3429f30.tar.gz
chromium_src-53c570b58354034db920c09d711ed7d9b3429f30.tar.bz2
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
Diffstat (limited to 'webkit/appcache/appcache_frontend_impl.cc')
-rw-r--r--webkit/appcache/appcache_frontend_impl.cc7
1 files changed, 7 insertions, 0 deletions
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)