Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: content/worker/worker_webkitplatformsupport_impl.cc

Issue 12713004: Add Chromium-side changes for MediaSource::isTypeSupported() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Relax DEPS strictness to media/filters & rebased. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/worker/worker_webkitplatformsupport_impl.h ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "content/worker/worker_webkitplatformsupport_impl.h" 5 #include "content/worker/worker_webkitplatformsupport_impl.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/platform_file.h" 8 #include "base/platform_file.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "content/common/database_util.h" 10 #include "content/common/database_util.h"
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 return WebMimeRegistry::IsSupported; 226 return WebMimeRegistry::IsSupported;
227 } 227 }
228 228
229 WebMimeRegistry::SupportsType 229 WebMimeRegistry::SupportsType
230 WorkerWebKitPlatformSupportImpl::supportsMediaMIMEType( 230 WorkerWebKitPlatformSupportImpl::supportsMediaMIMEType(
231 const WebString&, const WebString&, const WebString&) { 231 const WebString&, const WebString&, const WebString&) {
232 NOTREACHED(); 232 NOTREACHED();
233 return WebMimeRegistry::IsSupported; 233 return WebMimeRegistry::IsSupported;
234 } 234 }
235 235
236 bool WorkerWebKitPlatformSupportImpl::supportsMediaSourceMIMEType(
237 const WebKit::WebString& mimeType, const WebKit::WebString& codecs) {
238 NOTREACHED();
239 return false;
240 }
241
236 WebMimeRegistry::SupportsType 242 WebMimeRegistry::SupportsType
237 WorkerWebKitPlatformSupportImpl::supportsNonImageMIMEType( 243 WorkerWebKitPlatformSupportImpl::supportsNonImageMIMEType(
238 const WebString&) { 244 const WebString&) {
239 NOTREACHED(); 245 NOTREACHED();
240 return WebMimeRegistry::IsSupported; 246 return WebMimeRegistry::IsSupported;
241 } 247 }
242 248
243 WebString WorkerWebKitPlatformSupportImpl::mimeTypeForExtension( 249 WebString WorkerWebKitPlatformSupportImpl::mimeTypeForExtension(
244 const WebString& file_extension) { 250 const WebString& file_extension) {
245 std::string mime_type; 251 std::string mime_type;
(...skipping 29 matching lines...) Expand all
275 return webkit_base::FilePathStringToWebString(file_extension); 281 return webkit_base::FilePathStringToWebString(file_extension);
276 } 282 }
277 283
278 WebBlobRegistry* WorkerWebKitPlatformSupportImpl::blobRegistry() { 284 WebBlobRegistry* WorkerWebKitPlatformSupportImpl::blobRegistry() {
279 if (!blob_registry_.get() && thread_safe_sender_.get()) 285 if (!blob_registry_.get() && thread_safe_sender_.get())
280 blob_registry_.reset(new WebBlobRegistryImpl(thread_safe_sender_)); 286 blob_registry_.reset(new WebBlobRegistryImpl(thread_safe_sender_));
281 return blob_registry_.get(); 287 return blob_registry_.get();
282 } 288 }
283 289
284 } // namespace content 290 } // namespace content
OLDNEW
« no previous file with comments | « content/worker/worker_webkitplatformsupport_impl.h ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698