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

Side by Side Diff: Source/web/MediaKeysClientImpl.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 MediaKeysClientImpl_h 5 #ifndef MediaKeysClientImpl_h
6 #define MediaKeysClientImpl_h 6 #define MediaKeysClientImpl_h
7 7
8 #include "modules/encryptedmedia/MediaKeysClient.h" 8 #include "modules/encryptedmedia/MediaKeysClient.h"
9 #include "wtf/PassOwnPtr.h" 9 #include "wtf/PassOwnPtr.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class WebContentDecryptionModule; 13 class WebContentDecryptionModule;
14 class WebViewImpl; 14 class WebViewImpl;
15 15
16 class MediaKeysClientImpl FINAL : public WebCore::MediaKeysClient { 16 class MediaKeysClientImpl FINAL : public WebCore::MediaKeysClient {
17 public: 17 public:
18 MediaKeysClientImpl(); 18 static PassOwnPtr<WebCore::MediaKeysClient> create();
19 19
20 // WebCore::MediaKeysClient implementation. 20 // WebCore::MediaKeysClient implementation.
21 virtual PassOwnPtr<WebContentDecryptionModule> createContentDecryptionModule (WebCore::ExecutionContext*, const String& keySystem) OVERRIDE; 21 virtual PassOwnPtr<WebContentDecryptionModule> createContentDecryptionModule (WebCore::ExecutionContext*, const String& keySystem) OVERRIDE;
22 private:
23 MediaKeysClientImpl();
22 }; 24 };
23 25
24 } // namespace blink 26 } // namespace blink
25 27
26 #endif // MediaKeysClientImpl_h 28 #endif // MediaKeysClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698