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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
313 | 313 |
314 // Notifies that a service worker context will be destroyed. This function | 314 // Notifies that a service worker context will be destroyed. This function |
315 // is called from the worker thread. | 315 // is called from the worker thread. |
316 virtual void WillDestroyServiceWorkerContextOnWorkerThread( | 316 virtual void WillDestroyServiceWorkerContextOnWorkerThread( |
317 v8::Local<v8::Context> context, | 317 v8::Local<v8::Context> context, |
318 const GURL& url) {} | 318 const GURL& url) {} |
319 | 319 |
320 // Whether this renderer should enforce preferences related to the WebRTC | 320 // Whether this renderer should enforce preferences related to the WebRTC |
321 // routing logic, i.e. allowing multiple routes and non-proxied UDP. | 321 // routing logic, i.e. allowing multiple routes and non-proxied UDP. |
322 virtual bool ShouldEnforceWebRTCRoutingPreferences(); | 322 virtual bool ShouldEnforceWebRTCRoutingPreferences(); |
323 | |
324 // Returns the public key to be used for origin trials, or an empty srting if | |
chasej
2016/02/10 05:24:23
Typo, should be "string", not "srting"
iclelland
2016/02/10 20:31:00
Done.
| |
325 // origin trials are not enabled in this context. | |
326 virtual base::StringPiece GetOriginTrialPublicKey(); | |
323 }; | 327 }; |
324 | 328 |
325 } // namespace content | 329 } // namespace content |
326 | 330 |
327 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 331 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |