diff options
Diffstat (limited to 'chrome/browser/appcache')
-rw-r--r-- | chrome/browser/appcache/appcache_frontend_proxy.cc | 6 | ||||
-rw-r--r-- | chrome/browser/appcache/appcache_frontend_proxy.h | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/chrome/browser/appcache/appcache_frontend_proxy.cc b/chrome/browser/appcache/appcache_frontend_proxy.cc index c0448592..d81244c 100644 --- a/chrome/browser/appcache/appcache_frontend_proxy.cc +++ b/chrome/browser/appcache/appcache_frontend_proxy.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -20,3 +20,7 @@ void AppCacheFrontendProxy::OnEventRaised(const std::vector<int>& host_ids, appcache::EventID event_id) { sender_->Send(new AppCacheMsg_EventRaised(host_ids, event_id)); } + +void AppCacheFrontendProxy::OnContentBlocked(int host_id) { + sender_->Send(new AppCacheMsg_ContentBlocked(host_id)); +} diff --git a/chrome/browser/appcache/appcache_frontend_proxy.h b/chrome/browser/appcache/appcache_frontend_proxy.h index 78865ab..234e36cf 100644 --- a/chrome/browser/appcache/appcache_frontend_proxy.h +++ b/chrome/browser/appcache/appcache_frontend_proxy.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -24,6 +24,7 @@ class AppCacheFrontendProxy : public appcache::AppCacheFrontend { appcache::Status status); virtual void OnEventRaised(const std::vector<int>& host_ids, appcache::EventID event_id); + virtual void OnContentBlocked(int host_id); private: IPC::Message::Sender* sender_; |