OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 std::map<std::string, std::string>* properties) {} | 301 std::map<std::string, std::string>* properties) {} |
302 | 302 |
303 // Notifies that a service worker context has been created. This function | 303 // Notifies that a service worker context has been created. This function |
304 // is called from the worker thread. | 304 // is called from the worker thread. |
305 virtual void DidInitializeServiceWorkerContextOnWorkerThread( | 305 virtual void DidInitializeServiceWorkerContextOnWorkerThread( |
306 v8::Local<v8::Context> context, | 306 v8::Local<v8::Context> context, |
307 const GURL& url) {} | 307 const GURL& url) {} |
308 | 308 |
309 // Notifies that a service worker context will be destroyed. This function | 309 // Notifies that a service worker context will be destroyed. This function |
310 // is called from the worker thread. | 310 // is called from the worker thread. |
311 virtual void WillDestroyServiceWorkerContextOnWorkerThread(const GURL& url) {} | 311 virtual void WillDestroyServiceWorkerContextOnWorkerThread( |
| 312 v8::Local<v8::Context> context, |
| 313 const GURL& url) {} |
312 }; | 314 }; |
313 | 315 |
314 } // namespace content | 316 } // namespace content |
315 | 317 |
316 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 318 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |