Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: content/renderer/renderer_webkitplatformsupport_impl.cc

Issue 17955002: Fix IndexedDB after r208777. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix unittests Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/worker/worker_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/worker/worker_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698