| 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 | 296 |
| 297 // Notifies that a service worker context will be destroyed. This function | 297 // Notifies that a service worker context will be destroyed. This function |
| 298 // is called from the worker thread. | 298 // is called from the worker thread. |
| 299 virtual void WillDestroyServiceWorkerContextOnWorkerThread( | 299 virtual void WillDestroyServiceWorkerContextOnWorkerThread( |
| 300 v8::Local<v8::Context> context, | 300 v8::Local<v8::Context> context, |
| 301 const GURL& url) {} | 301 const GURL& url) {} |
| 302 | 302 |
| 303 // Whether this renderer should enforce preferences related to the WebRTC | 303 // Whether this renderer should enforce preferences related to the WebRTC |
| 304 // routing logic, i.e. allowing multiple routes and non-proxied UDP. | 304 // routing logic, i.e. allowing multiple routes and non-proxied UDP. |
| 305 virtual bool ShouldEnforceWebRTCRoutingPreferences(); | 305 virtual bool ShouldEnforceWebRTCRoutingPreferences(); |
| 306 |
| 307 // Should this renderer enforce restrictions on grants of universal access? |
| 308 virtual bool ShouldEnforceUniversalAccessRestrictions(); |
| 306 }; | 309 }; |
| 307 | 310 |
| 308 } // namespace content | 311 } // namespace content |
| 309 | 312 |
| 310 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 313 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |