Chromium Code Reviews| 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 324 v8::Local<v8::Context> context, | 324 v8::Local<v8::Context> context, |
| 325 const GURL& url) {} | 325 const GURL& url) {} |
| 326 | 326 |
| 327 // Whether this renderer should enforce preferences related to the WebRTC | 327 // Whether this renderer should enforce preferences related to the WebRTC |
| 328 // routing logic, i.e. allowing multiple routes and non-proxied UDP. | 328 // routing logic, i.e. allowing multiple routes and non-proxied UDP. |
| 329 virtual bool ShouldEnforceWebRTCRoutingPreferences(); | 329 virtual bool ShouldEnforceWebRTCRoutingPreferences(); |
| 330 | 330 |
| 331 // Returns the public key to be used for origin trials, or an empty string if | 331 // Returns the public key to be used for origin trials, or an empty string if |
| 332 // origin trials are not enabled in this context. | 332 // origin trials are not enabled in this context. |
| 333 virtual base::StringPiece GetOriginTrialPublicKey(); | 333 virtual base::StringPiece GetOriginTrialPublicKey(); |
| 334 | |
| 335 // Returns the public key to be used for origin trials, or an empty string if | |
| 336 // origin trials are not enabled in this context. | |
|
chasej
2016/02/29 19:23:26
Comment needs to be updated (from copy/paste I pre
iclelland
2016/05/24 19:38:43
Done.
| |
| 337 virtual bool IsOriginTrialFeatureDisabled(const std::string& feature); | |
| 334 }; | 338 }; |
| 335 | 339 |
| 336 } // namespace content | 340 } // namespace content |
| 337 | 341 |
| 338 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 342 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |