| 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 CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 5 #ifndef CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
| 6 #define CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 6 #define CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "content/common/webkitplatformsupport_impl.h" | 9 #include "content/common/webkitplatformsupport_impl.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebMimeRegistry.h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebMimeRegistry.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 const WebKit::WebString&); | 72 const WebKit::WebString&); |
| 73 virtual WebKit::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType( | 73 virtual WebKit::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType( |
| 74 const WebKit::WebString&); | 74 const WebKit::WebString&); |
| 75 // TODO(ddorwin): Remove after http://webk.it/82983 lands. | 75 // TODO(ddorwin): Remove after http://webk.it/82983 lands. |
| 76 virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType( | 76 virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType( |
| 77 const WebKit::WebString&, const WebKit::WebString&); | 77 const WebKit::WebString&, const WebKit::WebString&); |
| 78 virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType( | 78 virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType( |
| 79 const WebKit::WebString&, | 79 const WebKit::WebString&, |
| 80 const WebKit::WebString&, | 80 const WebKit::WebString&, |
| 81 const WebKit::WebString&); | 81 const WebKit::WebString&); |
| 82 virtual bool supportsMediaSourceMIMEType( |
| 83 const WebKit::WebString&, |
| 84 const WebKit::WebString&); |
| 82 virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType( | 85 virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType( |
| 83 const WebKit::WebString&); | 86 const WebKit::WebString&); |
| 84 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&); | 87 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&); |
| 85 virtual WebKit::WebString wellKnownMimeTypeForExtension( | 88 virtual WebKit::WebString wellKnownMimeTypeForExtension( |
| 86 const WebKit::WebString&); | 89 const WebKit::WebString&); |
| 87 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); | 90 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); |
| 88 virtual WebKit::WebString preferredExtensionForMIMEType( | 91 virtual WebKit::WebString preferredExtensionForMIMEType( |
| 89 const WebKit::WebString&); | 92 const WebKit::WebString&); |
| 90 | 93 |
| 91 private: | 94 private: |
| 92 | 95 |
| 93 class FileUtilities; | 96 class FileUtilities; |
| 94 scoped_ptr<FileUtilities> file_utilities_; | 97 scoped_ptr<FileUtilities> file_utilities_; |
| 95 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 98 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
| 96 scoped_ptr<WebFileSystemImpl> web_file_system_; | 99 scoped_ptr<WebFileSystemImpl> web_file_system_; |
| 97 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 100 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
| 98 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 101 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 99 }; | 102 }; |
| 100 | 103 |
| 101 } // namespace content | 104 } // namespace content |
| 102 | 105 |
| 103 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 106 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
| OLD | NEW |