OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/browser/appcache/appcache_frontend_proxy.h" | 5 #include "content/browser/appcache/appcache_frontend_proxy.h" |
6 | 6 |
7 #include "content/common/appcache_messages.h" | 7 #include "content/common/appcache_messages.h" |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 appcache::LogLevel log_level, | 46 appcache::LogLevel log_level, |
47 const std::string& message) { | 47 const std::string& message) { |
48 sender_->Send(new AppCacheMsg_LogMessage(host_id, log_level, message)); | 48 sender_->Send(new AppCacheMsg_LogMessage(host_id, log_level, message)); |
49 } | 49 } |
50 | 50 |
51 void AppCacheFrontendProxy::OnContentBlocked(int host_id, | 51 void AppCacheFrontendProxy::OnContentBlocked(int host_id, |
52 const GURL& manifest_url) { | 52 const GURL& manifest_url) { |
53 sender_->Send(new AppCacheMsg_ContentBlocked(host_id, manifest_url)); | 53 sender_->Send(new AppCacheMsg_ContentBlocked(host_id, manifest_url)); |
54 } | 54 } |
55 | 55 |
| 56 void AppCacheFrontendProxy::OnControllerReady(int host_id) { |
| 57 sender_->Send(new AppCacheMsg_ControllerReady(host_id)); |
| 58 } |
| 59 |
56 } // namespace content | 60 } // namespace content |
OLD | NEW |