| 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/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/platform_file.h" | 8 #include "base/platform_file.h" |
| 9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "content/common/database_util.h" | 10 #include "content/common/database_util.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 using WebKit::WebBlobRegistry; | 28 using WebKit::WebBlobRegistry; |
| 29 using WebKit::WebClipboard; | 29 using WebKit::WebClipboard; |
| 30 using WebKit::WebFileInfo; | 30 using WebKit::WebFileInfo; |
| 31 using WebKit::WebFileSystem; | 31 using WebKit::WebFileSystem; |
| 32 using WebKit::WebFileUtilities; | 32 using WebKit::WebFileUtilities; |
| 33 using WebKit::WebKitPlatformSupport; | 33 using WebKit::WebKitPlatformSupport; |
| 34 using WebKit::WebMessagePortChannel; | 34 using WebKit::WebMessagePortChannel; |
| 35 using WebKit::WebMimeRegistry; | 35 using WebKit::WebMimeRegistry; |
| 36 using WebKit::WebSandboxSupport; | 36 using WebKit::WebSandboxSupport; |
| 37 using WebKit::WebSharedWorkerRepository; | |
| 38 using WebKit::WebStorageNamespace; | 37 using WebKit::WebStorageNamespace; |
| 39 using WebKit::WebString; | 38 using WebKit::WebString; |
| 40 using WebKit::WebURL; | 39 using WebKit::WebURL; |
| 41 | 40 |
| 42 namespace content { | 41 namespace content { |
| 43 | 42 |
| 44 // TODO(kinuko): Probably this could be consolidated into | 43 // TODO(kinuko): Probably this could be consolidated into |
| 45 // RendererWebKitPlatformSupportImpl::FileUtilities. | 44 // RendererWebKitPlatformSupportImpl::FileUtilities. |
| 46 class WorkerWebKitPlatformSupportImpl::FileUtilities | 45 class WorkerWebKitPlatformSupportImpl::FileUtilities |
| 47 : public webkit_glue::WebFileUtilitiesImpl { | 46 : public webkit_glue::WebFileUtilitiesImpl { |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 return webkit_base::FilePathStringToWebString(file_extension); | 276 return webkit_base::FilePathStringToWebString(file_extension); |
| 278 } | 277 } |
| 279 | 278 |
| 280 WebBlobRegistry* WorkerWebKitPlatformSupportImpl::blobRegistry() { | 279 WebBlobRegistry* WorkerWebKitPlatformSupportImpl::blobRegistry() { |
| 281 if (!blob_registry_.get()) | 280 if (!blob_registry_.get()) |
| 282 blob_registry_.reset(new WebBlobRegistryImpl(WorkerThread::current())); | 281 blob_registry_.reset(new WebBlobRegistryImpl(WorkerThread::current())); |
| 283 return blob_registry_.get(); | 282 return blob_registry_.get(); |
| 284 } | 283 } |
| 285 | 284 |
| 286 } // namespace content | 285 } // namespace content |
| OLD | NEW |