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 #ifndef CHROME_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_ | 5 #ifndef CHROME_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_ |
6 #define CHROME_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_ | 6 #define CHROME_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_ |
7 | 7 |
8 #include "ipc/ipc_message.h" | 8 #include "ipc/ipc_message.h" |
9 #include "webkit/appcache/appcache_interfaces.h" | 9 #include "webkit/appcache/appcache_interfaces.h" |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 int parent_process_id, | 28 int parent_process_id, |
29 int parent_host_id); | 29 int parent_host_id); |
30 virtual void SelectCacheForSharedWorker( | 30 virtual void SelectCacheForSharedWorker( |
31 int host_id, | 31 int host_id, |
32 int64 appcache_id); | 32 int64 appcache_id); |
33 virtual void MarkAsForeignEntry(int host_id, const GURL& document_url, | 33 virtual void MarkAsForeignEntry(int host_id, const GURL& document_url, |
34 int64 cache_document_was_loaded_from); | 34 int64 cache_document_was_loaded_from); |
35 virtual appcache::Status GetStatus(int host_id); | 35 virtual appcache::Status GetStatus(int host_id); |
36 virtual bool StartUpdate(int host_id); | 36 virtual bool StartUpdate(int host_id); |
37 virtual bool SwapCache(int host_id); | 37 virtual bool SwapCache(int host_id); |
| 38 virtual void GetResourceList( |
| 39 int host_id, |
| 40 std::vector<appcache::AppCacheResourceInfo>* resource_infos); |
38 | 41 |
39 private: | 42 private: |
40 IPC::Message::Sender* sender_; | 43 IPC::Message::Sender* sender_; |
41 }; | 44 }; |
42 | 45 |
43 #endif // CHROME_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_ | 46 #endif // CHROME_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_ |
OLD | NEW |