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

Side by Side Diff: third_party/WebKit/Source/modules/encryptedmedia/MediaKeysController.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "modules/encryptedmedia/MediaKeysController.h" 5 #include "modules/encryptedmedia/MediaKeysController.h"
6 6
7 #include "modules/encryptedmedia/MediaKeysClient.h" 7 #include "modules/encryptedmedia/MediaKeysClient.h"
8 #include "public/platform/WebContentDecryptionModule.h" 8 #include "public/platform/WebContentDecryptionModule.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 const char* MediaKeysController::supplementName() 12 const char* MediaKeysController::supplementName()
13 { 13 {
14 return "MediaKeysController"; 14 return "MediaKeysController";
15 } 15 }
16 16
17 MediaKeysController::MediaKeysController(MediaKeysClient* client) 17 MediaKeysController::MediaKeysController(MediaKeysClient* client)
18 : m_client(client) 18 : m_client(client)
19 { 19 {
20 } 20 }
21 21
22 WebEncryptedMediaClient* MediaKeysController::encryptedMediaClient(ExecutionCont ext* context) 22 WebEncryptedMediaClient* MediaKeysController::encryptedMediaClient(ExecutionCont ext* context)
23 { 23 {
24 return m_client->encryptedMediaClient(context); 24 return m_client->encryptedMediaClient(context);
25 } 25 }
26 26
27 void MediaKeysController::provideMediaKeysTo(Page& page, MediaKeysClient* client ) 27 void MediaKeysController::provideMediaKeysTo(Page& page, MediaKeysClient* client )
28 { 28 {
29 MediaKeysController::provideTo(page, supplementName(), adoptPtrWillBeNoop(ne w MediaKeysController(client))); 29 MediaKeysController::provideTo(page, supplementName(), new MediaKeysControll er(client));
30 } 30 }
31 31
32 } // namespace blink 32 } // namespace blink
33 33
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/encryptedmedia/MediaKeysController.h ('k') | third_party/WebKit/Source/modules/fetch/Body.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698