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

Side by Side Diff: Source/modules/encryptedmedia/MediaKeysClient.h

Issue 338713002: Remove duplicated provideMediaKeysTo() in MediaKeysClient.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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 #ifndef MediaKeysClient_h 5 #ifndef MediaKeysClient_h
6 #define MediaKeysClient_h 6 #define MediaKeysClient_h
7 7
8 #include "wtf/PassOwnPtr.h" 8 #include "wtf/PassOwnPtr.h"
9 #include "wtf/text/WTFString.h" 9 #include "wtf/text/WTFString.h"
10 10
11 namespace blink { 11 namespace blink {
12 class WebContentDecryptionModule; 12 class WebContentDecryptionModule;
13 } 13 }
14 14
15 namespace WebCore { 15 namespace WebCore {
16 16
17 class ExecutionContext; 17 class ExecutionContext;
18 class Page; 18 class Page;
19 19
20 class MediaKeysClient { 20 class MediaKeysClient {
21 public: 21 public:
22 virtual PassOwnPtr<blink::WebContentDecryptionModule> createContentDecryptio nModule(ExecutionContext*, const String& keySystem) = 0; 22 virtual PassOwnPtr<blink::WebContentDecryptionModule> createContentDecryptio nModule(ExecutionContext*, const String& keySystem) = 0;
23 23
24 protected:
25 virtual ~MediaKeysClient() { } 24 virtual ~MediaKeysClient() { }
26 }; 25 };
27 26
28 void provideMediaKeysTo(Page&, MediaKeysClient*);
29
30 } // namespace WebCore 27 } // namespace WebCore
31 28
32 #endif // MediaKeysClient_h 29 #endif // MediaKeysClient_h
33 30
OLDNEW
« no previous file with comments | « no previous file | Source/modules/encryptedmedia/MediaKeysController.h » ('j') | Source/web/WebViewImpl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698