| OLD | NEW |
| 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 WebEncryptedMediaRequest_h | 5 #ifndef WebEncryptedMediaRequest_h |
| 6 #define WebEncryptedMediaRequest_h | 6 #define WebEncryptedMediaRequest_h |
| 7 | 7 |
| 8 #include "public/platform/WebCommon.h" | 8 #include "public/platform/WebCommon.h" |
| 9 #include "public/platform/WebPrivatePtr.h" | 9 #include "public/platform/WebPrivatePtr.h" |
| 10 #include "public/platform/WebString.h" | 10 #include "public/platform/WebString.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 BLINK_EXPORT WebString keySystem() const; | 26 BLINK_EXPORT WebString keySystem() const; |
| 27 BLINK_EXPORT const WebVector<WebMediaKeySystemConfiguration>& supportedConfi
gurations() const; | 27 BLINK_EXPORT const WebVector<WebMediaKeySystemConfiguration>& supportedConfi
gurations() const; |
| 28 | 28 |
| 29 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; | 29 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; |
| 30 | 30 |
| 31 BLINK_EXPORT void requestSucceeded(WebContentDecryptionModuleAccess*); | 31 BLINK_EXPORT void requestSucceeded(WebContentDecryptionModuleAccess*); |
| 32 BLINK_EXPORT void requestNotSupported(const WebString& errorMessage); | 32 BLINK_EXPORT void requestNotSupported(const WebString& errorMessage); |
| 33 | 33 |
| 34 #if BLINK_IMPLEMENTATION | 34 #if BLINK_IMPLEMENTATION |
| 35 explicit WebEncryptedMediaRequest(const PassRefPtr<EncryptedMediaRequest>&); | 35 explicit WebEncryptedMediaRequest(EncryptedMediaRequest*); |
| 36 #endif | 36 #endif |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 void assign(const WebEncryptedMediaRequest&); | 39 void assign(const WebEncryptedMediaRequest&); |
| 40 void reset(); | 40 void reset(); |
| 41 | 41 |
| 42 WebPrivatePtr<EncryptedMediaRequest> m_private; | 42 WebPrivatePtr<EncryptedMediaRequest> m_private; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace blink | 45 } // namespace blink |
| 46 | 46 |
| 47 #endif // WebEncryptedMediaRequest_h | 47 #endif // WebEncryptedMediaRequest_h |
| OLD | NEW |