Index: content/common/service_worker/service_worker_messages.h |
diff --git a/content/common/service_worker/service_worker_messages.h b/content/common/service_worker/service_worker_messages.h |
index a9613b9385609683f7b8b2dd4314dcc3fbbb7279..31b5281b4457333db21882feb7c8b28340cf14c3 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -230,6 +230,16 @@ IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_PostMessageToDocument, |
base::string16 /* message */, |
std::vector<int> /* sent_message_port_ids */) |
+// ServiceWorker -> Browser message to request that the ServiceWorkerStorage |
+// cache |data| associated with |url|. |
+IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_SetCachedMetadata, |
+ GURL /* url */, |
+ std::vector<char> /* data */) |
+ |
+// ServiceWorker -> Browser message to request that the ServiceWorkerStorage |
+// clear the cache associated with |url|. |
+IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClearCachedMetadata, GURL /* url */) |
+ |
// Ask the browser to open a tab/window (renderer->browser). |
IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_OpenWindow, |
int /* request_id */, |