summaryrefslogtreecommitdiffstats
path: root/chrome/browser/appcache/appcache_frontend_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/appcache/appcache_frontend_proxy.cc')
-rw-r--r--chrome/browser/appcache/appcache_frontend_proxy.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/appcache/appcache_frontend_proxy.cc b/chrome/browser/appcache/appcache_frontend_proxy.cc
index d81244c..89822d0 100644
--- a/chrome/browser/appcache/appcache_frontend_proxy.cc
+++ b/chrome/browser/appcache/appcache_frontend_proxy.cc
@@ -18,9 +18,17 @@ void AppCacheFrontendProxy::OnStatusChanged(const std::vector<int>& host_ids,
void AppCacheFrontendProxy::OnEventRaised(const std::vector<int>& host_ids,
appcache::EventID event_id) {
+ DCHECK(event_id != appcache::PROGRESS_EVENT); // See OnProgressEventRaised.
sender_->Send(new AppCacheMsg_EventRaised(host_ids, event_id));
}
+void AppCacheFrontendProxy::OnProgressEventRaised(
+ const std::vector<int>& host_ids,
+ const GURL& url, int num_total, int num_complete) {
+ sender_->Send(new AppCacheMsg_ProgressEventRaised(
+ host_ids, url, num_total, num_complete));
+}
+
void AppCacheFrontendProxy::OnContentBlocked(int host_id) {
sender_->Send(new AppCacheMsg_ContentBlocked(host_id));
}