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 #include "content/worker/worker_webkitplatformsupport_impl.h" | 5 #include "content/worker/worker_webkitplatformsupport_impl.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/message_loop/message_loop_proxy.h" | 9 #include "base/message_loop/message_loop_proxy.h" |
10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 return WebMimeRegistry::IsSupported; | 235 return WebMimeRegistry::IsSupported; |
236 } | 236 } |
237 | 237 |
238 WebMimeRegistry::SupportsType | 238 WebMimeRegistry::SupportsType |
239 WorkerWebKitPlatformSupportImpl::supportsJavaScriptMIMEType(const WebString&) { | 239 WorkerWebKitPlatformSupportImpl::supportsJavaScriptMIMEType(const WebString&) { |
240 NOTREACHED(); | 240 NOTREACHED(); |
241 return WebMimeRegistry::IsSupported; | 241 return WebMimeRegistry::IsSupported; |
242 } | 242 } |
243 | 243 |
244 WebMimeRegistry::SupportsType | 244 WebMimeRegistry::SupportsType |
245 WorkerWebKitPlatformSupportImpl::supportsDartMIMEType(const WebString&) { | |
246 NOTREACHED(); | |
247 return WebMimeRegistry::IsSupported; | |
248 } | |
249 | |
250 WebMimeRegistry::SupportsType | |
251 WorkerWebKitPlatformSupportImpl::supportsMediaMIMEType( | 245 WorkerWebKitPlatformSupportImpl::supportsMediaMIMEType( |
252 const WebString&, const WebString&, const WebString&) { | 246 const WebString&, const WebString&, const WebString&) { |
253 NOTREACHED(); | 247 NOTREACHED(); |
254 return WebMimeRegistry::IsSupported; | 248 return WebMimeRegistry::IsSupported; |
255 } | 249 } |
256 | 250 |
257 bool WorkerWebKitPlatformSupportImpl::supportsMediaSourceMIMEType( | 251 bool WorkerWebKitPlatformSupportImpl::supportsMediaSourceMIMEType( |
258 const blink::WebString& mimeType, const blink::WebString& codecs) { | 252 const blink::WebString& mimeType, const blink::WebString& codecs) { |
259 NOTREACHED(); | 253 NOTREACHED(); |
260 return false; | 254 return false; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 return; | 307 return; |
314 QuotaDispatcher::ThreadSpecificInstance( | 308 QuotaDispatcher::ThreadSpecificInstance( |
315 thread_safe_sender_.get(), | 309 thread_safe_sender_.get(), |
316 quota_message_filter_.get())->QueryStorageUsageAndQuota( | 310 quota_message_filter_.get())->QueryStorageUsageAndQuota( |
317 storage_partition, | 311 storage_partition, |
318 static_cast<quota::StorageType>(type), | 312 static_cast<quota::StorageType>(type), |
319 QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks)); | 313 QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks)); |
320 } | 314 } |
321 | 315 |
322 } // namespace content | 316 } // namespace content |
OLD | NEW |