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 session_id, | 120 void sendDevToolsMessage(int call_id, |
121 int call_id, | |
122 const blink::WebString& message, | 121 const blink::WebString& message, |
123 const blink::WebString& state) override; | 122 const blink::WebString& state) override; |
124 void didHandleActivateEvent(int request_id, | 123 void didHandleActivateEvent(int request_id, |
125 blink::WebServiceWorkerEventResult) override; | 124 blink::WebServiceWorkerEventResult) override; |
126 void didHandleInstallEvent( | 125 void didHandleInstallEvent( |
127 int request_id, | 126 int request_id, |
128 blink::WebServiceWorkerEventResult result) override; | 127 blink::WebServiceWorkerEventResult result) override; |
129 void didHandleFetchEvent(int request_id) override; | 128 void didHandleFetchEvent(int request_id) override; |
130 void didHandleFetchEvent( | 129 void didHandleFetchEvent( |
131 int request_id, | 130 int request_id, |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 // Initialized on the worker thread in workerContextStarted and | 242 // Initialized on the worker thread in workerContextStarted and |
244 // destructed on the worker thread in willDestroyWorkerContext. | 243 // destructed on the worker thread in willDestroyWorkerContext. |
245 scoped_ptr<WorkerContextData> context_; | 244 scoped_ptr<WorkerContextData> context_; |
246 | 245 |
247 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient); | 246 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient); |
248 }; | 247 }; |
249 | 248 |
250 } // namespace content | 249 } // namespace content |
251 | 250 |
252 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ | 251 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ |
OLD | NEW |