| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "content/common/webkitplatformsupport_impl.h" | 10 #include "content/common/webkitplatformsupport_impl.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 virtual WebKit::WebIDBFactory* idbFactory() OVERRIDE; | 66 virtual WebKit::WebIDBFactory* idbFactory() OVERRIDE; |
| 67 | 67 |
| 68 // WebMimeRegistry methods: | 68 // WebMimeRegistry methods: |
| 69 virtual WebKit::WebMimeRegistry::SupportsType supportsMIMEType( | 69 virtual WebKit::WebMimeRegistry::SupportsType supportsMIMEType( |
| 70 const WebKit::WebString&); | 70 const WebKit::WebString&); |
| 71 virtual WebKit::WebMimeRegistry::SupportsType supportsImageMIMEType( | 71 virtual WebKit::WebMimeRegistry::SupportsType supportsImageMIMEType( |
| 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 virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType( | 76 virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType( |
| 76 const WebKit::WebString&, const WebKit::WebString&); | 77 const WebKit::WebString&, const WebKit::WebString&); |
| 78 virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType( |
| 79 const WebKit::WebString&, |
| 80 const WebKit::WebString&, |
| 81 const WebKit::WebString&); |
| 77 virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType( | 82 virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType( |
| 78 const WebKit::WebString&); | 83 const WebKit::WebString&); |
| 79 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&); | 84 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&); |
| 80 virtual WebKit::WebString wellKnownMimeTypeForExtension( | 85 virtual WebKit::WebString wellKnownMimeTypeForExtension( |
| 81 const WebKit::WebString&); | 86 const WebKit::WebString&); |
| 82 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); | 87 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); |
| 83 virtual WebKit::WebString preferredExtensionForMIMEType( | 88 virtual WebKit::WebString preferredExtensionForMIMEType( |
| 84 const WebKit::WebString&); | 89 const WebKit::WebString&); |
| 85 | 90 |
| 86 private: | 91 private: |
| 87 | 92 |
| 88 class FileUtilities; | 93 class FileUtilities; |
| 89 scoped_ptr<FileUtilities> file_utilities_; | 94 scoped_ptr<FileUtilities> file_utilities_; |
| 90 | 95 |
| 91 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 96 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
| 92 | 97 |
| 93 scoped_ptr<WebFileSystemImpl> web_file_system_; | 98 scoped_ptr<WebFileSystemImpl> web_file_system_; |
| 94 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 99 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
| 95 }; | 100 }; |
| 96 | 101 |
| 97 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 102 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
| OLD | NEW |