| Index: content/public/renderer/content_renderer_client.h
|
| diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
|
| index 097e8c0681ccc77a5f6c3f2c32439b9c929577fa..64127229ee63a0c34fd6ea7983e35d6f7b8a8711 100644
|
| --- a/content/public/renderer/content_renderer_client.h
|
| +++ b/content/public/renderer/content_renderer_client.h
|
| @@ -152,23 +152,23 @@ class CONTENT_EXPORT ContentRendererClient {
|
|
|
| // Allows the embedder to override creating a WebMediaStreamCenter. If it
|
| // returns NULL the content layer will create the stream center.
|
| - virtual blink::WebMediaStreamCenter* OverrideCreateWebMediaStreamCenter(
|
| - blink::WebMediaStreamCenterClient* client);
|
| + virtual std::unique_ptr<blink::WebMediaStreamCenter>
|
| + OverrideCreateWebMediaStreamCenter(blink::WebMediaStreamCenterClient* client);
|
|
|
| // Allows the embedder to override creating a WebRTCPeerConnectionHandler. If
|
| // it returns NULL the content layer will create the connection handler.
|
| - virtual blink::WebRTCPeerConnectionHandler*
|
| + virtual std::unique_ptr<blink::WebRTCPeerConnectionHandler>
|
| OverrideCreateWebRTCPeerConnectionHandler(
|
| blink::WebRTCPeerConnectionHandlerClient* client);
|
|
|
| // Allows the embedder to override creating a WebMIDIAccessor. If it
|
| // returns NULL the content layer will create the MIDI accessor.
|
| - virtual blink::WebMIDIAccessor* OverrideCreateMIDIAccessor(
|
| + virtual std::unique_ptr<blink::WebMIDIAccessor> OverrideCreateMIDIAccessor(
|
| blink::WebMIDIAccessorClient* client);
|
|
|
| // Allows the embedder to override creating a WebAudioDevice. If it
|
| // returns NULL the content layer will create the audio device.
|
| - virtual blink::WebAudioDevice* OverrideCreateAudioDevice(
|
| + virtual std::unique_ptr<blink::WebAudioDevice> OverrideCreateAudioDevice(
|
| const blink::WebAudioLatencyHint& latency_hint);
|
|
|
| // Allows the embedder to override the blink::WebClipboard used. If it
|
| @@ -181,8 +181,8 @@ class CONTENT_EXPORT ContentRendererClient {
|
|
|
| // Allows the embedder to override the WebSpeechSynthesizer used.
|
| // If it returns NULL the content layer will provide an engine.
|
| - virtual blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer(
|
| - blink::WebSpeechSynthesizerClient* client);
|
| + virtual std::unique_ptr<blink::WebSpeechSynthesizer>
|
| + OverrideSpeechSynthesizer(blink::WebSpeechSynthesizerClient* client);
|
|
|
| // Returns true if the renderer process should schedule the idle handler when
|
| // all widgets are hidden.
|
|
|