| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 void WorkerWebKitPlatformSupportImpl::prefetchHostName(const WebString&) { | 152 void WorkerWebKitPlatformSupportImpl::prefetchHostName(const WebString&) { |
| 153 NOTREACHED(); | 153 NOTREACHED(); |
| 154 } | 154 } |
| 155 | 155 |
| 156 WebString WorkerWebKitPlatformSupportImpl::defaultLocale() { | 156 WebString WorkerWebKitPlatformSupportImpl::defaultLocale() { |
| 157 NOTREACHED(); | 157 NOTREACHED(); |
| 158 return WebString(); | 158 return WebString(); |
| 159 } | 159 } |
| 160 | 160 |
| 161 WebStorageNamespace* | 161 WebStorageNamespace* |
| 162 WorkerWebKitPlatformSupportImpl::createLocalStorageNamespace( | 162 WorkerWebKitPlatformSupportImpl::createLocalStorageNamespace() { |
| 163 const WebString& path, unsigned quota) { | |
| 164 NOTREACHED(); | 163 NOTREACHED(); |
| 165 return 0; | 164 return 0; |
| 166 } | 165 } |
| 167 | 166 |
| 168 void WorkerWebKitPlatformSupportImpl::dispatchStorageEvent( | 167 void WorkerWebKitPlatformSupportImpl::dispatchStorageEvent( |
| 169 const WebString& key, const WebString& old_value, | 168 const WebString& key, const WebString& old_value, |
| 170 const WebString& new_value, const WebString& origin, | 169 const WebString& new_value, const WebString& origin, |
| 171 const WebKit::WebURL& url, bool is_local_storage) { | 170 const WebKit::WebURL& url, bool is_local_storage) { |
| 172 NOTREACHED(); | 171 NOTREACHED(); |
| 173 } | 172 } |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 return base::FilePath(file_extension).AsUTF16Unsafe(); | 289 return base::FilePath(file_extension).AsUTF16Unsafe(); |
| 291 } | 290 } |
| 292 | 291 |
| 293 WebBlobRegistry* WorkerWebKitPlatformSupportImpl::blobRegistry() { | 292 WebBlobRegistry* WorkerWebKitPlatformSupportImpl::blobRegistry() { |
| 294 if (!blob_registry_.get() && thread_safe_sender_.get()) | 293 if (!blob_registry_.get() && thread_safe_sender_.get()) |
| 295 blob_registry_.reset(new WebBlobRegistryImpl(thread_safe_sender_.get())); | 294 blob_registry_.reset(new WebBlobRegistryImpl(thread_safe_sender_.get())); |
| 296 return blob_registry_.get(); | 295 return blob_registry_.get(); |
| 297 } | 296 } |
| 298 | 297 |
| 299 } // namespace content | 298 } // namespace content |
| OLD | NEW |