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 MOJO_SERVICES_HTML_VIEWER_WEB_MIME_REGISTRY_IMPL_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_MIME_REGISTRY_IMPL_H_ |
6 #define MOJO_SERVICES_HTML_VIEWER_WEB_MIME_REGISTRY_IMPL_H_ | 6 #define COMPONENTS_HTML_VIEWER_WEB_MIME_REGISTRY_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "third_party/WebKit/public/platform/WebMimeRegistry.h" | 9 #include "third_party/WebKit/public/platform/WebMimeRegistry.h" |
10 | 10 |
11 namespace html_viewer { | 11 namespace html_viewer { |
12 | 12 |
13 class WebMimeRegistryImpl : public blink::WebMimeRegistry { | 13 class WebMimeRegistryImpl : public blink::WebMimeRegistry { |
14 public: | 14 public: |
15 WebMimeRegistryImpl() {} | 15 WebMimeRegistryImpl() {} |
16 virtual ~WebMimeRegistryImpl() {} | 16 virtual ~WebMimeRegistryImpl() {} |
(...skipping 17 matching lines...) Expand all Loading... |
34 const blink::WebString& mime_type); | 34 const blink::WebString& mime_type); |
35 virtual blink::WebString mimeTypeForExtension( | 35 virtual blink::WebString mimeTypeForExtension( |
36 const blink::WebString& extension); | 36 const blink::WebString& extension); |
37 virtual blink::WebString wellKnownMimeTypeForExtension( | 37 virtual blink::WebString wellKnownMimeTypeForExtension( |
38 const blink::WebString& extension); | 38 const blink::WebString& extension); |
39 virtual blink::WebString mimeTypeFromFile(const blink::WebString& path); | 39 virtual blink::WebString mimeTypeFromFile(const blink::WebString& path); |
40 }; | 40 }; |
41 | 41 |
42 } // namespace html_viewer | 42 } // namespace html_viewer |
43 | 43 |
44 #endif // MOJO_SERVICES_HTML_VIEWER_WEB_MIME_REGISTRY_IMPL_H_ | 44 #endif // COMPONENTS_HTML_VIEWER_WEB_MIME_REGISTRY_IMPL_H_ |
OLD | NEW |