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

Unified Diff: content/shell/test_runner/web_test_interfaces.h

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/shell/test_runner/test_plugin.cc ('k') | content/shell/test_runner/web_test_interfaces.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/test_runner/web_test_interfaces.h
diff --git a/content/shell/test_runner/web_test_interfaces.h b/content/shell/test_runner/web_test_interfaces.h
index 64ce164acfdfb0a56e3c54ae77e2e78e024dc612..f6f7975ed5f0e19d8e22118182bc005740b54b9e 100644
--- a/content/shell/test_runner/web_test_interfaces.h
+++ b/content/shell/test_runner/web_test_interfaces.h
@@ -53,16 +53,18 @@ class TEST_RUNNER_EXPORT WebTestInterfaces {
WebTestRunner* TestRunner();
blink::WebThemeEngine* ThemeEngine();
- blink::WebMediaStreamCenter* CreateMediaStreamCenter(
+ std::unique_ptr<blink::WebMediaStreamCenter> CreateMediaStreamCenter(
blink::WebMediaStreamCenterClient* client);
- blink::WebRTCPeerConnectionHandler* CreateWebRTCPeerConnectionHandler(
+ std::unique_ptr<blink::WebRTCPeerConnectionHandler>
+ CreateWebRTCPeerConnectionHandler(
blink::WebRTCPeerConnectionHandlerClient* client);
- blink::WebMIDIAccessor* CreateMIDIAccessor(
+ std::unique_ptr<blink::WebMIDIAccessor> CreateMIDIAccessor(
blink::WebMIDIAccessorClient* client);
- blink::WebAudioDevice* CreateAudioDevice(double sample_rate,
- int frames_per_buffer);
+ std::unique_ptr<blink::WebAudioDevice> CreateAudioDevice(
+ double sample_rate,
+ int frames_per_buffer);
TestInterfaces* GetTestInterfaces();
« no previous file with comments | « content/shell/test_runner/test_plugin.cc ('k') | content/shell/test_runner/web_test_interfaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698