| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/common/appcache/appcache_frontend_proxy.h" | 5 #include "chrome/browser/appcache/appcache_frontend_proxy.h" |
| 6 | 6 |
| 7 #include "chrome/common/render_messages.h" | 7 #include "chrome/common/render_messages.h" |
| 8 | 8 |
| 9 void AppCacheFrontendProxy::OnCacheSelected(int host_id, int64 cache_id , | 9 void AppCacheFrontendProxy::OnCacheSelected(int host_id, int64 cache_id , |
| 10 appcache::Status status) { | 10 appcache::Status status) { |
| 11 sender_->Send(new AppCacheMsg_CacheSelected(host_id, cache_id, status)); | 11 sender_->Send(new AppCacheMsg_CacheSelected(host_id, cache_id, status)); |
| 12 } | 12 } |
| 13 | 13 |
| 14 void AppCacheFrontendProxy::OnStatusChanged(const std::vector<int>& host_ids, | 14 void AppCacheFrontendProxy::OnStatusChanged(const std::vector<int>& host_ids, |
| 15 appcache::Status status) { | 15 appcache::Status status) { |
| 16 sender_->Send(new AppCacheMsg_StatusChanged(host_ids, status)); | 16 sender_->Send(new AppCacheMsg_StatusChanged(host_ids, status)); |
| 17 } | 17 } |
| 18 | 18 |
| 19 void AppCacheFrontendProxy::OnEventRaised(const std::vector<int>& host_ids, | 19 void AppCacheFrontendProxy::OnEventRaised(const std::vector<int>& host_ids, |
| 20 appcache::EventID event_id) { | 20 appcache::EventID event_id) { |
| 21 sender_->Send(new AppCacheMsg_EventRaised(host_ids, event_id)); | 21 sender_->Send(new AppCacheMsg_EventRaised(host_ids, event_id)); |
| 22 } | 22 } |
| OLD | NEW |