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 <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 void workerContextDestroyed() override; | 110 void workerContextDestroyed() override; |
111 void reportException(const blink::WebString& error_message, | 111 void reportException(const blink::WebString& error_message, |
112 int line_number, | 112 int line_number, |
113 int column_number, | 113 int column_number, |
114 const blink::WebString& source_url) override; | 114 const blink::WebString& source_url) override; |
115 void reportConsoleMessage(int source, | 115 void reportConsoleMessage(int source, |
116 int level, | 116 int level, |
117 const blink::WebString& message, | 117 const blink::WebString& message, |
118 int line_number, | 118 int line_number, |
119 const blink::WebString& source_url) override; | 119 const blink::WebString& source_url) override; |
120 void sendDevToolsMessage(int call_id, | 120 void sendDevToolsMessage(int session_id, |
| 121 int call_id, |
121 const blink::WebString& message, | 122 const blink::WebString& message, |
122 const blink::WebString& state) override; | 123 const blink::WebString& state) override; |
123 void didHandleActivateEvent(int request_id, | 124 void didHandleActivateEvent(int request_id, |
124 blink::WebServiceWorkerEventResult) override; | 125 blink::WebServiceWorkerEventResult) override; |
125 void didHandleInstallEvent( | 126 void didHandleInstallEvent( |
126 int request_id, | 127 int request_id, |
127 blink::WebServiceWorkerEventResult result) override; | 128 blink::WebServiceWorkerEventResult result) override; |
128 void didHandleFetchEvent(int request_id) override; | 129 void didHandleFetchEvent(int request_id) override; |
129 void didHandleFetchEvent( | 130 void didHandleFetchEvent( |
130 int request_id, | 131 int request_id, |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 // Initialized on the worker thread in workerContextStarted and | 243 // Initialized on the worker thread in workerContextStarted and |
243 // destructed on the worker thread in willDestroyWorkerContext. | 244 // destructed on the worker thread in willDestroyWorkerContext. |
244 scoped_ptr<WorkerContextData> context_; | 245 scoped_ptr<WorkerContextData> context_; |
245 | 246 |
246 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient); | 247 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient); |
247 }; | 248 }; |
248 | 249 |
249 } // namespace content | 250 } // namespace content |
250 | 251 |
251 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ | 252 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ |
OLD | NEW |