| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_RENDERER_MEDIA_CRYPTO_PPAPI_DECRYPTOR_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_CRYPTO_PPAPI_DECRYPTOR_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_CRYPTO_PPAPI_DECRYPTOR_H_ | 6 #define CONTENT_RENDERER_MEDIA_CRYPTO_PPAPI_DECRYPTOR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 media::SessionClosedCB session_closed_cb_; | 117 media::SessionClosedCB session_closed_cb_; |
| 118 media::SessionErrorCB session_error_cb_; | 118 media::SessionErrorCB session_error_cb_; |
| 119 | 119 |
| 120 scoped_refptr<base::MessageLoopProxy> render_loop_proxy_; | 120 scoped_refptr<base::MessageLoopProxy> render_loop_proxy_; |
| 121 | 121 |
| 122 DecoderInitCB audio_decoder_init_cb_; | 122 DecoderInitCB audio_decoder_init_cb_; |
| 123 DecoderInitCB video_decoder_init_cb_; | 123 DecoderInitCB video_decoder_init_cb_; |
| 124 NewKeyCB new_audio_key_cb_; | 124 NewKeyCB new_audio_key_cb_; |
| 125 NewKeyCB new_video_key_cb_; | 125 NewKeyCB new_video_key_cb_; |
| 126 | 126 |
| 127 // NOTE: This must always be last so it's invalidated before other member |
| 128 // variables might be accessed. |
| 127 base::WeakPtrFactory<PpapiDecryptor> weak_ptr_factory_; | 129 base::WeakPtrFactory<PpapiDecryptor> weak_ptr_factory_; |
| 128 | 130 |
| 129 DISALLOW_COPY_AND_ASSIGN(PpapiDecryptor); | 131 DISALLOW_COPY_AND_ASSIGN(PpapiDecryptor); |
| 130 }; | 132 }; |
| 131 | 133 |
| 132 } // namespace content | 134 } // namespace content |
| 133 | 135 |
| 134 #endif // CONTENT_RENDERER_MEDIA_CRYPTO_PPAPI_DECRYPTOR_H_ | 136 #endif // CONTENT_RENDERER_MEDIA_CRYPTO_PPAPI_DECRYPTOR_H_ |
| OLD | NEW |