OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_CHILD_APPCACHE_APPCACHE_BACKEND_PROXY_H_ | 5 #ifndef CONTENT_CHILD_APPCACHE_APPCACHE_BACKEND_PROXY_H_ |
6 #define CONTENT_CHILD_APPCACHE_APPCACHE_BACKEND_PROXY_H_ | 6 #define CONTENT_CHILD_APPCACHE_APPCACHE_BACKEND_PROXY_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ipc/ipc_sender.h" | 10 #include "ipc/ipc_sender.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 int host_id, | 31 int host_id, |
32 int parent_process_id, | 32 int parent_process_id, |
33 int parent_host_id) OVERRIDE; | 33 int parent_host_id) OVERRIDE; |
34 virtual void SelectCacheForSharedWorker( | 34 virtual void SelectCacheForSharedWorker( |
35 int host_id, | 35 int host_id, |
36 int64 appcache_id) OVERRIDE; | 36 int64 appcache_id) OVERRIDE; |
37 virtual void MarkAsForeignEntry( | 37 virtual void MarkAsForeignEntry( |
38 int host_id, | 38 int host_id, |
39 const GURL& document_url, | 39 const GURL& document_url, |
40 int64 cache_document_was_loaded_from) OVERRIDE; | 40 int64 cache_document_was_loaded_from) OVERRIDE; |
41 virtual appcache::Status GetStatus(int host_id) OVERRIDE; | 41 virtual appcache::AppCacheStatus GetStatus(int host_id) OVERRIDE; |
42 virtual bool StartUpdate(int host_id) OVERRIDE; | 42 virtual bool StartUpdate(int host_id) OVERRIDE; |
43 virtual bool SwapCache(int host_id) OVERRIDE; | 43 virtual bool SwapCache(int host_id) OVERRIDE; |
44 virtual void GetResourceList( | 44 virtual void GetResourceList( |
45 int host_id, | 45 int host_id, |
46 std::vector<appcache::AppCacheResourceInfo>* resource_infos) OVERRIDE; | 46 std::vector<appcache::AppCacheResourceInfo>* resource_infos) OVERRIDE; |
47 | 47 |
48 private: | 48 private: |
49 IPC::Sender* sender_; | 49 IPC::Sender* sender_; |
50 }; | 50 }; |
51 | 51 |
52 } // namespace content | 52 } // namespace content |
53 | 53 |
54 #endif // CONTENT_CHILD_APPCACHE_APPCACHE_BACKEND_PROXY_H_ | 54 #endif // CONTENT_CHILD_APPCACHE_APPCACHE_BACKEND_PROXY_H_ |
OLD | NEW |