| Index: content/renderer/service_worker/service_worker_script_context.h
|
| diff --git a/content/renderer/service_worker/service_worker_script_context.h b/content/renderer/service_worker/service_worker_script_context.h
|
| index e455fbfd4111300a7fc25792020f99640be86398..d7f59b30ea1ad251a00ec2e9b3411961d7337a3c 100644
|
| --- a/content/renderer/service_worker/service_worker_script_context.h
|
| +++ b/content/renderer/service_worker/service_worker_script_context.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_
|
| #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_
|
|
|
| +#include <string>
|
| #include <vector>
|
|
|
| #include "base/basictypes.h"
|
| @@ -67,6 +68,7 @@ class ServiceWorkerScriptContext {
|
| void OnInstallEvent(int request_id, int active_version_id);
|
| void OnFetchEvent(int request_id, const ServiceWorkerFetchRequest& request);
|
| void OnSyncEvent(int request_id);
|
| + void OnPushEvent(int request_id, const std::string& data);
|
| void OnPostMessage(const base::string16& message,
|
| const std::vector<int>& sent_message_port_ids,
|
| const std::vector<int>& new_routing_ids);
|
|
|