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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 const WebString& value) { | 147 const WebString& value) { |
148 NOTREACHED(); | 148 NOTREACHED(); |
149 } | 149 } |
150 | 150 |
151 WebString WorkerWebKitPlatformSupportImpl::cookies( | 151 WebString WorkerWebKitPlatformSupportImpl::cookies( |
152 const WebURL& url, const WebURL& first_party_for_cookies) { | 152 const WebURL& url, const WebURL& first_party_for_cookies) { |
153 // WebSocketHandshake may access cookies in worker process. | 153 // WebSocketHandshake may access cookies in worker process. |
154 return WebString(); | 154 return WebString(); |
155 } | 155 } |
156 | 156 |
157 void WorkerWebKitPlatformSupportImpl::prefetchHostName(const WebString&) { | |
158 NOTREACHED(); | |
159 } | |
160 | |
161 WebString WorkerWebKitPlatformSupportImpl::defaultLocale() { | 157 WebString WorkerWebKitPlatformSupportImpl::defaultLocale() { |
162 NOTREACHED(); | 158 NOTREACHED(); |
163 return WebString(); | 159 return WebString(); |
164 } | 160 } |
165 | 161 |
166 WebStorageNamespace* | 162 WebStorageNamespace* |
167 WorkerWebKitPlatformSupportImpl::createLocalStorageNamespace() { | 163 WorkerWebKitPlatformSupportImpl::createLocalStorageNamespace() { |
168 NOTREACHED(); | 164 NOTREACHED(); |
169 return 0; | 165 return 0; |
170 } | 166 } |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 return; | 305 return; |
310 QuotaDispatcher::ThreadSpecificInstance( | 306 QuotaDispatcher::ThreadSpecificInstance( |
311 thread_safe_sender_.get(), | 307 thread_safe_sender_.get(), |
312 quota_message_filter_.get())->QueryStorageUsageAndQuota( | 308 quota_message_filter_.get())->QueryStorageUsageAndQuota( |
313 storage_partition, | 309 storage_partition, |
314 static_cast<quota::StorageType>(type), | 310 static_cast<quota::StorageType>(type), |
315 QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks)); | 311 QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks)); |
316 } | 312 } |
317 | 313 |
318 } // namespace content | 314 } // namespace content |
OLD | NEW |