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/child/appcache_dispatcher.h" | 5 #include "content/child/appcache/appcache_dispatcher.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 |
11 AppCacheDispatcher::AppCacheDispatcher( | 11 AppCacheDispatcher::AppCacheDispatcher( |
12 IPC::Sender* sender, | 12 IPC::Sender* sender, |
13 appcache::AppCacheFrontend* frontend) | 13 appcache::AppCacheFrontend* frontend) |
14 : backend_proxy_(sender), | 14 : backend_proxy_(sender), |
15 frontend_(frontend) {} | 15 frontend_(frontend) {} |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 frontend_->OnLogMessage( | 63 frontend_->OnLogMessage( |
64 host_id, static_cast<appcache::LogLevel>(log_level), message); | 64 host_id, static_cast<appcache::LogLevel>(log_level), message); |
65 } | 65 } |
66 | 66 |
67 void AppCacheDispatcher::OnContentBlocked(int host_id, | 67 void AppCacheDispatcher::OnContentBlocked(int host_id, |
68 const GURL& manifest_url) { | 68 const GURL& manifest_url) { |
69 frontend_->OnContentBlocked(host_id, manifest_url); | 69 frontend_->OnContentBlocked(host_id, manifest_url); |
70 } | 70 } |
71 | 71 |
72 } // namespace content | 72 } // namespace content |
OLD | NEW |