diff options
author | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-18 02:02:05 +0000 |
---|---|---|
committer | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-18 02:02:05 +0000 |
commit | 53c570b58354034db920c09d711ed7d9b3429f30 (patch) | |
tree | cec472d625b0fb5cfd338197ab60766c43b37627 /webkit/appcache/appcache_frontend_impl.cc | |
parent | 2980fdcdf74dd4c25c8718f12f3f147d2581177d (diff) | |
download | chromium_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.cc | 7 |
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) |