| 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_backend_proxy.h" | 5 #include "content/child/appcache/appcache_backend_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 |
| 11 void AppCacheBackendProxy::RegisterHost(int host_id) { | 11 void AppCacheBackendProxy::RegisterHost(int host_id) { |
| 12 sender_->Send(new AppCacheHostMsg_RegisterHost(host_id)); | 12 sender_->Send(new AppCacheHostMsg_RegisterHost(host_id)); |
| 13 } | 13 } |
| 14 | 14 |
| 15 void AppCacheBackendProxy::UnregisterHost(int host_id) { | 15 void AppCacheBackendProxy::UnregisterHost(int host_id) { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 sender_->Send(new AppCacheHostMsg_SwapCache(host_id, &result)); | 71 sender_->Send(new AppCacheHostMsg_SwapCache(host_id, &result)); |
| 72 return result; | 72 return result; |
| 73 } | 73 } |
| 74 | 74 |
| 75 void AppCacheBackendProxy::GetResourceList( | 75 void AppCacheBackendProxy::GetResourceList( |
| 76 int host_id, std::vector<appcache::AppCacheResourceInfo>* resource_infos) { | 76 int host_id, std::vector<appcache::AppCacheResourceInfo>* resource_infos) { |
| 77 sender_->Send(new AppCacheHostMsg_GetResourceList(host_id, resource_infos)); | 77 sender_->Send(new AppCacheHostMsg_GetResourceList(host_id, resource_infos)); |
| 78 } | 78 } |
| 79 | 79 |
| 80 } // namespace content | 80 } // namespace content |
| OLD | NEW |