| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "webkit/media/webmediasourceclient_impl.h" | 5 #include "webkit/media/webmediasourceclient_impl.h" |
| 6 | 6 |
| 7 #include "base/guid.h" | 7 #include "base/guid.h" |
| 8 #include "media/filters/chunk_demuxer.h" | 8 #include "media/filters/chunk_demuxer.h" |
| 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebCString.h" | 9 #include "third_party/WebKit/public/platform/WebCString.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 10 #include "third_party/WebKit/public/platform/WebString.h" |
| 11 #include "webkit/media/websourcebuffer_impl.h" | 11 #include "webkit/media/websourcebuffer_impl.h" |
| 12 | 12 |
| 13 using ::WebKit::WebString; | 13 using ::WebKit::WebString; |
| 14 using ::WebKit::WebMediaSourceClient; | 14 using ::WebKit::WebMediaSourceClient; |
| 15 | 15 |
| 16 namespace webkit_media { | 16 namespace webkit_media { |
| 17 | 17 |
| 18 #define COMPILE_ASSERT_MATCHING_STATUS_ENUM(webkit_name, chromium_name) \ | 18 #define COMPILE_ASSERT_MATCHING_STATUS_ENUM(webkit_name, chromium_name) \ |
| 19 COMPILE_ASSERT(static_cast<int>(WebMediaSourceClient::webkit_name) == \ | 19 COMPILE_ASSERT(static_cast<int>(WebMediaSourceClient::webkit_name) == \ |
| 20 static_cast<int>(media::ChunkDemuxer::chromium_name), \ | 20 static_cast<int>(media::ChunkDemuxer::chromium_name), \ |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 break; | 75 break; |
| 76 default: | 76 default: |
| 77 NOTIMPLEMENTED(); | 77 NOTIMPLEMENTED(); |
| 78 } | 78 } |
| 79 | 79 |
| 80 if (!demuxer_->EndOfStream(pipeline_status)) | 80 if (!demuxer_->EndOfStream(pipeline_status)) |
| 81 DVLOG(1) << "EndOfStream call failed."; | 81 DVLOG(1) << "EndOfStream call failed."; |
| 82 } | 82 } |
| 83 | 83 |
| 84 } // namespace webkit_media | 84 } // namespace webkit_media |
| OLD | NEW |