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_backend_proxy.h" | 5 #include "chrome/common/appcache/appcache_backend_proxy.h" |
6 | 6 |
7 #include "chrome/common/render_messages.h" | 7 #include "chrome/common/render_messages.h" |
8 | 8 |
9 void AppCacheBackendProxy::RegisterHost(int host_id) { | 9 void AppCacheBackendProxy::RegisterHost(int host_id) { |
10 sender_->Send(new AppCacheMsg_RegisterHost(host_id)); | 10 sender_->Send(new AppCacheMsg_RegisterHost(host_id)); |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 bool result = false; | 56 bool result = false; |
57 sender_->Send(new AppCacheMsg_StartUpdate(host_id, &result)); | 57 sender_->Send(new AppCacheMsg_StartUpdate(host_id, &result)); |
58 return result; | 58 return result; |
59 } | 59 } |
60 | 60 |
61 bool AppCacheBackendProxy::SwapCache(int host_id) { | 61 bool AppCacheBackendProxy::SwapCache(int host_id) { |
62 bool result = false; | 62 bool result = false; |
63 sender_->Send(new AppCacheMsg_SwapCache(host_id, &result)); | 63 sender_->Send(new AppCacheMsg_SwapCache(host_id, &result)); |
64 return result; | 64 return result; |
65 } | 65 } |
| 66 |
| 67 void AppCacheBackendProxy::GetResourceList( |
| 68 int host_id, std::vector<appcache::AppCacheResourceInfo>* resource_infos) { |
| 69 sender_->Send(new AppCacheMsg_GetResourceList(host_id, resource_infos)); |
| 70 } |
OLD | NEW |