| OLD | NEW |
| 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 #ifndef CONTENT_CHILD_SIMPLE_WEBMIMEREGISTRY_IMPL_H_ | 5 #ifndef CONTENT_CHILD_SIMPLE_WEBMIMEREGISTRY_IMPL_H_ |
| 6 #define CONTENT_CHILD_SIMPLE_WEBMIMEREGISTRY_IMPL_H_ | 6 #define CONTENT_CHILD_SIMPLE_WEBMIMEREGISTRY_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 // of a non-ASCII string. | 23 // of a non-ASCII string. |
| 24 static std::string ToASCIIOrEmpty(const blink::WebString& string); | 24 static std::string ToASCIIOrEmpty(const blink::WebString& string); |
| 25 | 25 |
| 26 // WebMimeRegistry methods: | 26 // WebMimeRegistry methods: |
| 27 virtual blink::WebMimeRegistry::SupportsType supportsMIMEType( | 27 virtual blink::WebMimeRegistry::SupportsType supportsMIMEType( |
| 28 const blink::WebString&); | 28 const blink::WebString&); |
| 29 virtual blink::WebMimeRegistry::SupportsType supportsImageMIMEType( | 29 virtual blink::WebMimeRegistry::SupportsType supportsImageMIMEType( |
| 30 const blink::WebString&); | 30 const blink::WebString&); |
| 31 virtual blink::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType( | 31 virtual blink::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType( |
| 32 const blink::WebString&); | 32 const blink::WebString&); |
| 33 virtual blink::WebMimeRegistry::SupportsType supportsDartMIMEType( | |
| 34 const blink::WebString&); | |
| 35 virtual blink::WebMimeRegistry::SupportsType supportsMediaMIMEType( | 33 virtual blink::WebMimeRegistry::SupportsType supportsMediaMIMEType( |
| 36 const blink::WebString&, | 34 const blink::WebString&, |
| 37 const blink::WebString&, | 35 const blink::WebString&, |
| 38 const blink::WebString&); | 36 const blink::WebString&); |
| 39 virtual bool supportsMediaSourceMIMEType(const blink::WebString&, | 37 virtual bool supportsMediaSourceMIMEType(const blink::WebString&, |
| 40 const blink::WebString&); | 38 const blink::WebString&); |
| 41 virtual bool supportsEncryptedMediaMIMEType(const blink::WebString&, | 39 virtual bool supportsEncryptedMediaMIMEType(const blink::WebString&, |
| 42 const blink::WebString&, | 40 const blink::WebString&, |
| 43 const blink::WebString&); | 41 const blink::WebString&); |
| 44 virtual blink::WebMimeRegistry::SupportsType supportsNonImageMIMEType( | 42 virtual blink::WebMimeRegistry::SupportsType supportsNonImageMIMEType( |
| 45 const blink::WebString&); | 43 const blink::WebString&); |
| 46 virtual blink::WebString mimeTypeForExtension(const blink::WebString&); | 44 virtual blink::WebString mimeTypeForExtension(const blink::WebString&); |
| 47 virtual blink::WebString wellKnownMimeTypeForExtension( | 45 virtual blink::WebString wellKnownMimeTypeForExtension( |
| 48 const blink::WebString&); | 46 const blink::WebString&); |
| 49 virtual blink::WebString mimeTypeFromFile(const blink::WebString&); | 47 virtual blink::WebString mimeTypeFromFile(const blink::WebString&); |
| 50 }; | 48 }; |
| 51 | 49 |
| 52 } // namespace content | 50 } // namespace content |
| 53 | 51 |
| 54 #endif // CONTENT_CHILD_SIMPLE_WEBMIMEREGISTRY_IMPL_H_ | 52 #endif // CONTENT_CHILD_SIMPLE_WEBMIMEREGISTRY_IMPL_H_ |
| OLD | NEW |