| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <stdint.h> |
| 6 |
| 5 #include <string> | 7 #include <string> |
| 6 #include <vector> | 8 #include <vector> |
| 7 | 9 |
| 8 #include "base/bind.h" | 10 #include "base/bind.h" |
| 9 #include "base/callback_helpers.h" | 11 #include "base/callback_helpers.h" |
| 12 #include "base/macros.h" |
| 10 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
| 11 #include "media/base/decoder_buffer.h" | 14 #include "media/base/decoder_buffer.h" |
| 12 #include "media/base/decrypt_config.h" | 15 #include "media/base/decrypt_config.h" |
| 13 #include "media/base/gmock_callback_support.h" | 16 #include "media/base/gmock_callback_support.h" |
| 14 #include "media/base/media_util.h" | 17 #include "media/base/media_util.h" |
| 15 #include "media/base/mock_filters.h" | 18 #include "media/base/mock_filters.h" |
| 16 #include "media/base/test_helpers.h" | 19 #include "media/base/test_helpers.h" |
| 17 #include "media/filters/decrypting_demuxer_stream.h" | 20 #include "media/filters/decrypting_demuxer_stream.h" |
| 18 #include "testing/gmock/include/gmock/gmock.h" | 21 #include "testing/gmock/include/gmock/gmock.h" |
| 19 | 22 |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 559 } | 562 } |
| 560 | 563 |
| 561 // Test destruction after reset. | 564 // Test destruction after reset. |
| 562 TEST_F(DecryptingDemuxerStreamTest, Destroy_AfterReset) { | 565 TEST_F(DecryptingDemuxerStreamTest, Destroy_AfterReset) { |
| 563 Initialize(); | 566 Initialize(); |
| 564 EnterNormalReadingState(); | 567 EnterNormalReadingState(); |
| 565 Reset(); | 568 Reset(); |
| 566 } | 569 } |
| 567 | 570 |
| 568 } // namespace media | 571 } // namespace media |
| OLD | NEW |