OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ | 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ |
6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ | 6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 const IPC::Message& message); | 95 const IPC::Message& message); |
96 | 96 |
97 // WebServiceWorkerContextClient overrides. | 97 // WebServiceWorkerContextClient overrides. |
98 blink::WebURL Scope() const override; | 98 blink::WebURL Scope() const override; |
99 void GetClient( | 99 void GetClient( |
100 const blink::WebString&, | 100 const blink::WebString&, |
101 std::unique_ptr<blink::WebServiceWorkerClientCallbacks>) override; | 101 std::unique_ptr<blink::WebServiceWorkerClientCallbacks>) override; |
102 void GetClients( | 102 void GetClients( |
103 const blink::WebServiceWorkerClientQueryOptions&, | 103 const blink::WebServiceWorkerClientQueryOptions&, |
104 std::unique_ptr<blink::WebServiceWorkerClientsCallbacks>) override; | 104 std::unique_ptr<blink::WebServiceWorkerClientsCallbacks>) override; |
105 void OpenWindow( | 105 void OpenWindowForClients( |
| 106 const blink::WebURL&, |
| 107 std::unique_ptr<blink::WebServiceWorkerClientCallbacks>) override; |
| 108 void OpenWindowForPaymentHandler( |
106 const blink::WebURL&, | 109 const blink::WebURL&, |
107 std::unique_ptr<blink::WebServiceWorkerClientCallbacks>) override; | 110 std::unique_ptr<blink::WebServiceWorkerClientCallbacks>) override; |
108 void SetCachedMetadata(const blink::WebURL&, | 111 void SetCachedMetadata(const blink::WebURL&, |
109 const char* data, | 112 const char* data, |
110 size_t size) override; | 113 size_t size) override; |
111 void ClearCachedMetadata(const blink::WebURL&) override; | 114 void ClearCachedMetadata(const blink::WebURL&) override; |
112 void WorkerReadyForInspection() override; | 115 void WorkerReadyForInspection() override; |
113 | 116 |
114 // Called on the main thread. | 117 // Called on the main thread. |
115 void WorkerContextFailedToStart() override; | 118 void WorkerContextFailedToStart() override; |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 // Initialized on the worker thread in workerContextStarted and | 366 // Initialized on the worker thread in workerContextStarted and |
364 // destructed on the worker thread in willDestroyWorkerContext. | 367 // destructed on the worker thread in willDestroyWorkerContext. |
365 std::unique_ptr<WorkerContextData> context_; | 368 std::unique_ptr<WorkerContextData> context_; |
366 | 369 |
367 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient); | 370 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient); |
368 }; | 371 }; |
369 | 372 |
370 } // namespace content | 373 } // namespace content |
371 | 374 |
372 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ | 375 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ |
OLD | NEW |