OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBMIMEREGISTRY_IMPL_H_ | 5 #ifndef WEBMIMEREGISTRY_IMPL_H_ |
6 #define WEBMIMEREGISTRY_IMPL_H_ | 6 #define WEBMIMEREGISTRY_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMimeRegistry.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMimeRegis
try.h" |
10 #include "webkit/glue/webkit_glue_export.h" | 10 #include "webkit/glue/webkit_glue_export.h" |
11 | 11 |
12 namespace webkit_glue { | 12 namespace webkit_glue { |
13 | 13 |
14 class WEBKIT_GLUE_EXPORT SimpleWebMimeRegistryImpl : | 14 class WEBKIT_GLUE_EXPORT SimpleWebMimeRegistryImpl : |
15 NON_EXPORTED_BASE(public WebKit::WebMimeRegistry) { | 15 NON_EXPORTED_BASE(public WebKit::WebMimeRegistry) { |
16 public: | 16 public: |
17 SimpleWebMimeRegistryImpl() {} | 17 SimpleWebMimeRegistryImpl() {} |
18 virtual ~SimpleWebMimeRegistryImpl() {} | 18 virtual ~SimpleWebMimeRegistryImpl() {} |
19 | 19 |
(...skipping 12 matching lines...) Expand all Loading... |
32 virtual WebKit::WebString wellKnownMimeTypeForExtension( | 32 virtual WebKit::WebString wellKnownMimeTypeForExtension( |
33 const WebKit::WebString&); | 33 const WebKit::WebString&); |
34 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); | 34 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); |
35 virtual WebKit::WebString preferredExtensionForMIMEType( | 35 virtual WebKit::WebString preferredExtensionForMIMEType( |
36 const WebKit::WebString&); | 36 const WebKit::WebString&); |
37 }; | 37 }; |
38 | 38 |
39 } // namespace webkit_glue | 39 } // namespace webkit_glue |
40 | 40 |
41 #endif // WEBMIMEREGISTRY_IMPL_H_ | 41 #endif // WEBMIMEREGISTRY_IMPL_H_ |
OLD | NEW |