| 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_EXAMPLES_HTML_VIEWER_WEBMIMEREGISTRY_IMPL_H_ | 5 #ifndef MOJO_SERVICES_HTML_VIEWER_WEBMIMEREGISTRY_IMPL_H_ |
| 6 #define MOJO_EXAMPLES_HTML_VIEWER_WEBMIMEREGISTRY_IMPL_H_ | 6 #define MOJO_SERVICES_HTML_VIEWER_WEBMIMEREGISTRY_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 mojo { | 11 namespace mojo { |
| 12 namespace examples { | 12 namespace examples { |
| 13 | 13 |
| 14 class WebMimeRegistryImpl : public blink::WebMimeRegistry { | 14 class WebMimeRegistryImpl : public blink::WebMimeRegistry { |
| 15 public: | 15 public: |
| 16 WebMimeRegistryImpl() {} | 16 WebMimeRegistryImpl() {} |
| (...skipping 23 matching lines...) Expand all Loading... |
| 40 const blink::WebString& extension); | 40 const blink::WebString& extension); |
| 41 virtual blink::WebString wellKnownMimeTypeForExtension( | 41 virtual blink::WebString wellKnownMimeTypeForExtension( |
| 42 const blink::WebString& extension); | 42 const blink::WebString& extension); |
| 43 virtual blink::WebString mimeTypeFromFile( | 43 virtual blink::WebString mimeTypeFromFile( |
| 44 const blink::WebString& path); | 44 const blink::WebString& path); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace examples | 47 } // namespace examples |
| 48 } // namespace mojo | 48 } // namespace mojo |
| 49 | 49 |
| 50 #endif // MOJO_EXAMPLES_HTML_VIEWER_WEBMIMEREGISTRY_IMPL_H_ | 50 #endif // MOJO_SERVICES_HTML_VIEWER_WEBMIMEREGISTRY_IMPL_H_ |
| OLD | NEW |