| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 | 343 |
| 344 // Notifies that a service worker context will be destroyed. This function | 344 // Notifies that a service worker context will be destroyed. This function |
| 345 // is called from the worker thread. | 345 // is called from the worker thread. |
| 346 virtual void WillDestroyServiceWorkerContextOnWorkerThread( | 346 virtual void WillDestroyServiceWorkerContextOnWorkerThread( |
| 347 v8::Local<v8::Context> context, | 347 v8::Local<v8::Context> context, |
| 348 const GURL& url) {} | 348 const GURL& url) {} |
| 349 | 349 |
| 350 // Whether this renderer should enforce preferences related to the WebRTC | 350 // Whether this renderer should enforce preferences related to the WebRTC |
| 351 // routing logic, i.e. allowing multiple routes and non-proxied UDP. | 351 // routing logic, i.e. allowing multiple routes and non-proxied UDP. |
| 352 virtual bool ShouldEnforceWebRTCRoutingPreferences(); | 352 virtual bool ShouldEnforceWebRTCRoutingPreferences(); |
| 353 |
| 354 // Notifies that a worker context has been created. This function is called |
| 355 // from the worker thread. |
| 356 virtual void DidInitializeWorkerContextOnWorkerThread( |
| 357 v8::Local<v8::Context> context) {} |
| 353 }; | 358 }; |
| 354 | 359 |
| 355 } // namespace content | 360 } // namespace content |
| 356 | 361 |
| 357 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 362 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |