| Index: content/browser/service_worker/service_worker_version.h
|
| diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
|
| index 2b9da6a12c66a7bdcbf776b58b87acb9b4c0c601..48770240ab3bd60073faf0e30906685081dd64e8 100644
|
| --- a/content/browser/service_worker/service_worker_version.h
|
| +++ b/content/browser/service_worker/service_worker_version.h
|
| @@ -352,18 +352,27 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
| void OnGeofencingEventFinished(int request_id);
|
| void OnCrossOriginConnectEventFinished(int request_id,
|
| bool accept_connection);
|
| + void OnOpenWindow(int request_id, const GURL& url, const GURL& referrer);
|
| + void DidOpenWindow(int request_id,
|
| + int render_process_id,
|
| + int render_frame_id);
|
| + void OnOpenWindowFinished(int request_id,
|
| + ServiceWorkerStatusCode status,
|
| + const ServiceWorkerClientInfo& client_info);
|
| +
|
| void OnPostMessageToDocument(int client_id,
|
| const base::string16& message,
|
| const std::vector<int>& sent_message_port_ids);
|
| void OnFocusClient(int request_id, int client_id);
|
| void OnSkipWaiting(int request_id);
|
| -
|
| void OnFocusClientFinished(int request_id, bool result);
|
| +
|
| void DidSkipWaiting(int request_id);
|
| void DidGetClientInfo(int client_id,
|
| scoped_refptr<GetClientDocumentsCallback> callback,
|
| ServiceWorkerStatusCode status,
|
| const ServiceWorkerClientInfo& info);
|
| +
|
| void ScheduleStopWorker();
|
| void StopWorkerIfIdle();
|
| bool HasInflightRequests() const;
|
| @@ -398,6 +407,7 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
|
|
| ControlleeMap controllee_map_;
|
| ControlleeByIDMap controllee_by_id_;
|
| + // Will be null while shutting down.
|
| base::WeakPtr<ServiceWorkerContextCore> context_;
|
| ObserverList<Listener> listeners_;
|
| ServiceWorkerScriptCacheMap script_cache_map_;
|
|
|