Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(713)

Side by Side Diff: webkit/glue/simple_webmimeregistry_impl.h

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webkit/glue/resource_fetcher_unittest.cc ('k') | webkit/glue/simple_webmimeregistry_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // 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 "webkit/api/public/WebMimeRegistry.h" 8 #include "third_party/WebKit/WebKit/chromium/public/WebMimeRegistry.h"
9 9
10 namespace webkit_glue { 10 namespace webkit_glue {
11 11
12 class SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry { 12 class SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry {
13 public: 13 public:
14 // WebMimeRegistry methods: 14 // WebMimeRegistry methods:
15 virtual WebKit::WebMimeRegistry::SupportsType supportsMIMEType( 15 virtual WebKit::WebMimeRegistry::SupportsType supportsMIMEType(
16 const WebKit::WebString&); 16 const WebKit::WebString&);
17 virtual WebKit::WebMimeRegistry::SupportsType supportsImageMIMEType( 17 virtual WebKit::WebMimeRegistry::SupportsType supportsImageMIMEType(
18 const WebKit::WebString&); 18 const WebKit::WebString&);
19 virtual WebKit::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType( 19 virtual WebKit::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType(
20 const WebKit::WebString&); 20 const WebKit::WebString&);
21 virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType( 21 virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType(
22 const WebKit::WebString&, const WebKit::WebString&); 22 const WebKit::WebString&, const WebKit::WebString&);
23 virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType( 23 virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType(
24 const WebKit::WebString&); 24 const WebKit::WebString&);
25 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&); 25 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&);
26 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); 26 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&);
27 virtual WebKit::WebString preferredExtensionForMIMEType( 27 virtual WebKit::WebString preferredExtensionForMIMEType(
28 const WebKit::WebString&); 28 const WebKit::WebString&);
29 }; 29 };
30 30
31 } // namespace webkit_glue 31 } // namespace webkit_glue
32 32
33 #endif // WEBMIMEREGISTRY_IMPL_H_ 33 #endif // WEBMIMEREGISTRY_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/resource_fetcher_unittest.cc ('k') | webkit/glue/simple_webmimeregistry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698