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

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

Issue 10020053: Initial implementation of Encrypted Media Extensions in Chrome. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: removed key_systems namespace Created 8 years, 8 months 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
OLDNEW
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/Source/Platform/chromium/public/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
20 // WebMimeRegistry methods: 20 // WebMimeRegistry methods:
21 virtual WebKit::WebMimeRegistry::SupportsType supportsMIMEType( 21 virtual WebKit::WebMimeRegistry::SupportsType supportsMIMEType(
22 const WebKit::WebString&); 22 const WebKit::WebString&);
23 virtual WebKit::WebMimeRegistry::SupportsType supportsImageMIMEType( 23 virtual WebKit::WebMimeRegistry::SupportsType supportsImageMIMEType(
24 const WebKit::WebString&); 24 const WebKit::WebString&);
25 virtual WebKit::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType( 25 virtual WebKit::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType(
26 const WebKit::WebString&); 26 const WebKit::WebString&);
27 // TODO(ddorwin): Remove after http://webk.it/82983 lands.
27 virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType( 28 virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType(
28 const WebKit::WebString&, const WebKit::WebString&); 29 const WebKit::WebString&, const WebKit::WebString&);
30 virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType(
31 const WebKit::WebString&,
32 const WebKit::WebString&,
33 const WebKit::WebString&);
29 virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType( 34 virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType(
30 const WebKit::WebString&); 35 const WebKit::WebString&);
31 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&); 36 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&);
32 virtual WebKit::WebString wellKnownMimeTypeForExtension( 37 virtual WebKit::WebString wellKnownMimeTypeForExtension(
33 const WebKit::WebString&); 38 const WebKit::WebString&);
34 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); 39 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&);
35 virtual WebKit::WebString preferredExtensionForMIMEType( 40 virtual WebKit::WebString preferredExtensionForMIMEType(
36 const WebKit::WebString&); 41 const WebKit::WebString&);
37 }; 42 };
38 43
39 } // namespace webkit_glue 44 } // namespace webkit_glue
40 45
41 #endif // WEBMIMEREGISTRY_IMPL_H_ 46 #endif // WEBMIMEREGISTRY_IMPL_H_
OLDNEW
« no previous file with comments | « content/worker/worker_webkitplatformsupport_impl.cc ('k') | webkit/glue/simple_webmimeregistry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698