| OLD | NEW |
| 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 #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/Platform/chromium/public/WebMimeRegistry.h" | 9 #include "third_party/WebKit/public/platform/WebMimeRegistry.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 19 matching lines...) Expand all Loading... |
| 39 virtual WebKit::WebString wellKnownMimeTypeForExtension( | 39 virtual WebKit::WebString wellKnownMimeTypeForExtension( |
| 40 const WebKit::WebString&); | 40 const WebKit::WebString&); |
| 41 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); | 41 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); |
| 42 virtual WebKit::WebString preferredExtensionForMIMEType( | 42 virtual WebKit::WebString preferredExtensionForMIMEType( |
| 43 const WebKit::WebString&); | 43 const WebKit::WebString&); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace webkit_glue | 46 } // namespace webkit_glue |
| 47 | 47 |
| 48 #endif // WEBMIMEREGISTRY_IMPL_H_ | 48 #endif // WEBMIMEREGISTRY_IMPL_H_ |
| OLD | NEW |