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

Side by Side Diff: sky/viewer/platform/webmimeregistry_impl.cc

Issue 689373003: Remove most of the media stack. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/viewer/platform/webmimeregistry_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "sky/viewer/platform/webmimeregistry_impl.h" 5 #include "sky/viewer/platform/webmimeregistry_impl.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/strings/sys_string_conversions.h" 9 #include "base/strings/sys_string_conversions.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 } 55 }
56 56
57 blink::WebMimeRegistry::SupportsType WebMimeRegistryImpl::supportsMediaMIMEType( 57 blink::WebMimeRegistry::SupportsType WebMimeRegistryImpl::supportsMediaMIMEType(
58 const blink::WebString& mime_type, 58 const blink::WebString& mime_type,
59 const blink::WebString& codecs, 59 const blink::WebString& codecs,
60 const blink::WebString& key_system) { 60 const blink::WebString& key_system) {
61 NOTIMPLEMENTED(); 61 NOTIMPLEMENTED();
62 return IsNotSupported; 62 return IsNotSupported;
63 } 63 }
64 64
65 bool WebMimeRegistryImpl::supportsMediaSourceMIMEType(
66 const blink::WebString& mime_type,
67 const blink::WebString& codecs) {
68 NOTIMPLEMENTED();
69 return false;
70 }
71
72 bool WebMimeRegistryImpl::supportsEncryptedMediaMIMEType(
73 const blink::WebString& key_system,
74 const blink::WebString& mime_type,
75 const blink::WebString& codecs) {
76 NOTIMPLEMENTED();
77 return false;
78 }
79
80 blink::WebMimeRegistry::SupportsType 65 blink::WebMimeRegistry::SupportsType
81 WebMimeRegistryImpl::supportsNonImageMIMEType( 66 WebMimeRegistryImpl::supportsNonImageMIMEType(
82 const blink::WebString& mime_type) { 67 const blink::WebString& mime_type) {
83 return net::IsSupportedNonImageMimeType(ToASCIIOrEmpty(mime_type)) ? 68 return net::IsSupportedNonImageMimeType(ToASCIIOrEmpty(mime_type)) ?
84 blink::WebMimeRegistry::IsSupported : 69 blink::WebMimeRegistry::IsSupported :
85 blink::WebMimeRegistry::IsNotSupported; 70 blink::WebMimeRegistry::IsNotSupported;
86 } 71 }
87 72
88 blink::WebString WebMimeRegistryImpl::mimeTypeForExtension( 73 blink::WebString WebMimeRegistryImpl::mimeTypeForExtension(
89 const blink::WebString& file_extension) { 74 const blink::WebString& file_extension) {
90 NOTIMPLEMENTED(); 75 NOTIMPLEMENTED();
91 return blink::WebString(); 76 return blink::WebString();
92 } 77 }
93 78
94 blink::WebString WebMimeRegistryImpl::wellKnownMimeTypeForExtension( 79 blink::WebString WebMimeRegistryImpl::wellKnownMimeTypeForExtension(
95 const blink::WebString& file_extension) { 80 const blink::WebString& file_extension) {
96 NOTIMPLEMENTED(); 81 NOTIMPLEMENTED();
97 return blink::WebString(); 82 return blink::WebString();
98 } 83 }
99 84
100 blink::WebString WebMimeRegistryImpl::mimeTypeFromFile( 85 blink::WebString WebMimeRegistryImpl::mimeTypeFromFile(
101 const blink::WebString& file_path) { 86 const blink::WebString& file_path) {
102 NOTIMPLEMENTED(); 87 NOTIMPLEMENTED();
103 return blink::WebString(); 88 return blink::WebString();
104 } 89 }
105 90
106 } // namespace sky 91 } // namespace sky
OLDNEW
« no previous file with comments | « sky/viewer/platform/webmimeregistry_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698