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/renderer/renderer_webkitplatformsupport_impl.h" | 5 #include "content/renderer/renderer_webkitplatformsupport_impl.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
10 #include "base/message_loop/message_loop_proxy.h" | 10 #include "base/message_loop/message_loop_proxy.h" |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 RendererWebKitPlatformSupportImpl::createLocalStorageNamespace( | 380 RendererWebKitPlatformSupportImpl::createLocalStorageNamespace( |
381 const WebString& path, unsigned quota) { | 381 const WebString& path, unsigned quota) { |
382 return new WebStorageNamespaceImpl(); | 382 return new WebStorageNamespaceImpl(); |
383 } | 383 } |
384 | 384 |
385 | 385 |
386 //------------------------------------------------------------------------------ | 386 //------------------------------------------------------------------------------ |
387 | 387 |
388 WebIDBFactory* RendererWebKitPlatformSupportImpl::idbFactory() { | 388 WebIDBFactory* RendererWebKitPlatformSupportImpl::idbFactory() { |
389 if (!web_idb_factory_) | 389 if (!web_idb_factory_) |
390 web_idb_factory_.reset(new RendererWebIDBFactoryImpl()); | 390 web_idb_factory_.reset(new RendererWebIDBFactoryImpl(thread_safe_sender_)); |
391 return web_idb_factory_.get(); | 391 return web_idb_factory_.get(); |
392 } | 392 } |
393 | 393 |
394 //------------------------------------------------------------------------------ | 394 //------------------------------------------------------------------------------ |
395 | 395 |
396 WebFileSystem* RendererWebKitPlatformSupportImpl::fileSystem() { | 396 WebFileSystem* RendererWebKitPlatformSupportImpl::fileSystem() { |
397 if (!web_file_system_) | 397 if (!web_file_system_) |
398 web_file_system_.reset(new WebFileSystemImpl()); | 398 web_file_system_.reset(new WebFileSystemImpl()); |
399 return web_file_system_.get(); | 399 return web_file_system_.get(); |
400 } | 400 } |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1050 | 1050 |
1051 //------------------------------------------------------------------------------ | 1051 //------------------------------------------------------------------------------ |
1052 | 1052 |
1053 WebKit::WebString RendererWebKitPlatformSupportImpl::convertIDNToUnicode( | 1053 WebKit::WebString RendererWebKitPlatformSupportImpl::convertIDNToUnicode( |
1054 const WebKit::WebString& host, | 1054 const WebKit::WebString& host, |
1055 const WebKit::WebString& languages) { | 1055 const WebKit::WebString& languages) { |
1056 return net::IDNToUnicode(host.utf8(), languages.utf8()); | 1056 return net::IDNToUnicode(host.utf8(), languages.utf8()); |
1057 } | 1057 } |
1058 | 1058 |
1059 } // namespace content | 1059 } // namespace content |
OLD | NEW |