Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(451)

Unified Diff: content/public/renderer/content_renderer_client.cc

Issue 2846843002: [blink] Unique pointers in Platform.h (Closed)
Patch Set: fix compilation (and again) Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/renderer/input/input_handler_wrapper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/content_renderer_client.cc
diff --git a/content/public/renderer/content_renderer_client.cc b/content/public/renderer/content_renderer_client.cc
index 5d421608a14d73a43f859a5ce96dc7cfc46f1f95..3beeb1cfc0dc88c9ef3b044cd4d7cf000ac86096 100644
--- a/content/public/renderer/content_renderer_client.cc
+++ b/content/public/renderer/content_renderer_client.cc
@@ -6,6 +6,11 @@
#include "content/public/renderer/media_stream_renderer_factory.h"
#include "media/base/renderer_factory.h"
+#include "third_party/WebKit/public/platform/WebAudioDevice.h"
+#include "third_party/WebKit/public/platform/WebMediaStreamCenter.h"
+#include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h"
+#include "third_party/WebKit/public/platform/WebSpeechSynthesizer.h"
+#include "third_party/WebKit/public/platform/modules/webmidi/WebMIDIAccessor.h"
#include "ui/gfx/icc_profile.h"
#include "url/gurl.h"
@@ -50,25 +55,26 @@ void ContentRendererClient::DeferMediaLoad(
closure.Run();
}
-blink::WebMediaStreamCenter*
+std::unique_ptr<blink::WebMediaStreamCenter>
ContentRendererClient::OverrideCreateWebMediaStreamCenter(
blink::WebMediaStreamCenterClient* client) {
return nullptr;
}
-blink::WebRTCPeerConnectionHandler*
+std::unique_ptr<blink::WebRTCPeerConnectionHandler>
ContentRendererClient::OverrideCreateWebRTCPeerConnectionHandler(
blink::WebRTCPeerConnectionHandlerClient* client) {
return nullptr;
}
-blink::WebMIDIAccessor*
+std::unique_ptr<blink::WebMIDIAccessor>
ContentRendererClient::OverrideCreateMIDIAccessor(
blink::WebMIDIAccessorClient* client) {
return nullptr;
}
-blink::WebAudioDevice* ContentRendererClient::OverrideCreateAudioDevice(
+std::unique_ptr<blink::WebAudioDevice>
+ContentRendererClient::OverrideCreateAudioDevice(
const blink::WebAudioLatencyHint& latency_hint) {
return nullptr;
}
@@ -81,7 +87,8 @@ blink::WebThemeEngine* ContentRendererClient::OverrideThemeEngine() {
return nullptr;
}
-blink::WebSpeechSynthesizer* ContentRendererClient::OverrideSpeechSynthesizer(
+std::unique_ptr<blink::WebSpeechSynthesizer>
+ContentRendererClient::OverrideSpeechSynthesizer(
blink::WebSpeechSynthesizerClient* client) {
return nullptr;
}
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/renderer/input/input_handler_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698