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

Side by Side Diff: content/worker/worker_webkitplatformsupport_impl.h

Issue 12713004: Add Chromium-side changes for MediaSource::isTypeSupported() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Relax DEPS strictness to media/filters & rebased. Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/worker/worker_webkitplatformsupport_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) 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
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_
OLDNEW
« no previous file with comments | « no previous file | content/worker/worker_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698