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 #include "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/message_loop.h" | 6 #include "base/message_loop/message_loop.h" |
7 #include "content/renderer/media/buffered_data_source.h" | 7 #include "content/renderer/media/buffered_data_source.h" |
8 #include "content/renderer/media/test_response_generator.h" | 8 #include "content/renderer/media/test_response_generator.h" |
9 #include "media/base/media_log.h" | 9 #include "media/base/media_log.h" |
10 #include "media/base/mock_data_source_host.h" | 10 #include "media/base/mock_data_source_host.h" |
11 #include "media/base/mock_filters.h" | 11 #include "media/base/mock_filters.h" |
12 #include "media/base/test_helpers.h" | 12 #include "media/base/test_helpers.h" |
13 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 13 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
14 #include "third_party/WebKit/public/web/WebView.h" | 14 #include "third_party/WebKit/public/web/WebView.h" |
15 #include "webkit/mocks/mock_webframeclient.h" | 15 #include "webkit/mocks/mock_webframeclient.h" |
16 #include "webkit/mocks/mock_weburlloader.h" | 16 #include "webkit/mocks/mock_weburlloader.h" |
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 InitializeWithFileResponse(); | 648 InitializeWithFileResponse(); |
649 | 649 |
650 EXPECT_FALSE(data_source_->downloading()); | 650 EXPECT_FALSE(data_source_->downloading()); |
651 FinishLoading(); | 651 FinishLoading(); |
652 EXPECT_FALSE(data_source_->downloading()); | 652 EXPECT_FALSE(data_source_->downloading()); |
653 | 653 |
654 Stop(); | 654 Stop(); |
655 } | 655 } |
656 | 656 |
657 } // namespace content | 657 } // namespace content |
OLD | NEW |