OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // Message definition file, included multiple times, hence no include guard. | 5 // Message definition file, included multiple times, hence no include guard. |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 blink::WebServiceWorkerCacheErrorLast) | 45 blink::WebServiceWorkerCacheErrorLast) |
46 | 46 |
47 //--------------------------------------------------------------------------- | 47 //--------------------------------------------------------------------------- |
48 // Messages sent from the child process to the browser. | 48 // Messages sent from the child process to the browser. |
49 | 49 |
50 // CacheStorage operations in the browser. | 50 // CacheStorage operations in the browser. |
51 IPC_MESSAGE_CONTROL4(CacheStorageHostMsg_CacheStorageHas, | 51 IPC_MESSAGE_CONTROL4(CacheStorageHostMsg_CacheStorageHas, |
52 int /* thread_id */, | 52 int /* thread_id */, |
53 int /* request_id */, | 53 int /* request_id */, |
54 GURL /* origin */, | 54 GURL /* origin */, |
55 base::string16 /* fetch_store_name */) | 55 std::string /* fetch_store_name */) |
56 | 56 |
57 IPC_MESSAGE_CONTROL4(CacheStorageHostMsg_CacheStorageOpen, | 57 IPC_MESSAGE_CONTROL4(CacheStorageHostMsg_CacheStorageOpen, |
58 int /* thread_id */, | 58 int /* thread_id */, |
59 int /* request_id */, | 59 int /* request_id */, |
60 GURL /* origin */, | 60 GURL /* origin */, |
61 base::string16 /* fetch_store_name */) | 61 std::string /* fetch_store_name */) |
62 | 62 |
63 IPC_MESSAGE_CONTROL4(CacheStorageHostMsg_CacheStorageDelete, | 63 IPC_MESSAGE_CONTROL4(CacheStorageHostMsg_CacheStorageDelete, |
64 int /* thread_id */, | 64 int /* thread_id */, |
65 int /* request_id */, | 65 int /* request_id */, |
66 GURL /* origin */, | 66 GURL /* origin */, |
67 base::string16 /* fetch_store_name */) | 67 std::string /* fetch_store_name */) |
68 | 68 |
69 IPC_MESSAGE_CONTROL3(CacheStorageHostMsg_CacheStorageKeys, | 69 IPC_MESSAGE_CONTROL3(CacheStorageHostMsg_CacheStorageKeys, |
70 int /* thread_id */, | 70 int /* thread_id */, |
71 int /* request_id */, | 71 int /* request_id */, |
72 GURL /* origin */) | 72 GURL /* origin */) |
73 | 73 |
74 IPC_MESSAGE_CONTROL5(CacheStorageHostMsg_CacheStorageMatch, | 74 IPC_MESSAGE_CONTROL5(CacheStorageHostMsg_CacheStorageMatch, |
75 int /* thread_id */, | 75 int /* thread_id */, |
76 int /* request_id */, | 76 int /* request_id */, |
77 GURL /* origin */, | 77 GURL /* origin */, |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 IPC_MESSAGE_CONTROL3(CacheStorageMsg_CacheStorageOpenSuccess, | 126 IPC_MESSAGE_CONTROL3(CacheStorageMsg_CacheStorageOpenSuccess, |
127 int /* thread_id */, | 127 int /* thread_id */, |
128 int /* request_id */, | 128 int /* request_id */, |
129 int /* fetch_store_id */) | 129 int /* fetch_store_id */) |
130 IPC_MESSAGE_CONTROL2(CacheStorageMsg_CacheStorageDeleteSuccess, | 130 IPC_MESSAGE_CONTROL2(CacheStorageMsg_CacheStorageDeleteSuccess, |
131 int /* thread_id */, | 131 int /* thread_id */, |
132 int /* request_id */) | 132 int /* request_id */) |
133 IPC_MESSAGE_CONTROL3(CacheStorageMsg_CacheStorageKeysSuccess, | 133 IPC_MESSAGE_CONTROL3(CacheStorageMsg_CacheStorageKeysSuccess, |
134 int /* thread_id */, | 134 int /* thread_id */, |
135 int /* request_id */, | 135 int /* request_id */, |
136 std::vector<base::string16> /* keys */) | 136 std::vector<std::string> /* keys */) |
137 IPC_MESSAGE_CONTROL3(CacheStorageMsg_CacheStorageMatchSuccess, | 137 IPC_MESSAGE_CONTROL3(CacheStorageMsg_CacheStorageMatchSuccess, |
138 int /* thread_id */, | 138 int /* thread_id */, |
139 int /* request_id */, | 139 int /* request_id */, |
140 content::ServiceWorkerResponse) | 140 content::ServiceWorkerResponse) |
141 | 141 |
142 // Sent at erroneous completion of CacheStorage operations. | 142 // Sent at erroneous completion of CacheStorage operations. |
143 IPC_MESSAGE_CONTROL3(CacheStorageMsg_CacheStorageHasError, | 143 IPC_MESSAGE_CONTROL3(CacheStorageMsg_CacheStorageHasError, |
144 int /* thread_id */, | 144 int /* thread_id */, |
145 int /* request_id */, | 145 int /* request_id */, |
146 blink::WebServiceWorkerCacheError /* reason */) | 146 blink::WebServiceWorkerCacheError /* reason */) |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 int /* request_id */, | 188 int /* request_id */, |
189 blink::WebServiceWorkerCacheError) | 189 blink::WebServiceWorkerCacheError) |
190 IPC_MESSAGE_CONTROL3(CacheStorageMsg_CacheKeysError, | 190 IPC_MESSAGE_CONTROL3(CacheStorageMsg_CacheKeysError, |
191 int /* thread_id */, | 191 int /* thread_id */, |
192 int /* request_id */, | 192 int /* request_id */, |
193 blink::WebServiceWorkerCacheError) | 193 blink::WebServiceWorkerCacheError) |
194 IPC_MESSAGE_CONTROL3(CacheStorageMsg_CacheBatchError, | 194 IPC_MESSAGE_CONTROL3(CacheStorageMsg_CacheBatchError, |
195 int /* thread_id */, | 195 int /* thread_id */, |
196 int /* request_id */, | 196 int /* request_id */, |
197 blink::WebServiceWorkerCacheError) | 197 blink::WebServiceWorkerCacheError) |
OLD | NEW |