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

Side by Side Diff: content/worker/worker_webkitplatformsupport_impl.cc

Issue 9368053: Move indexed db files from content/renderer to content/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "content/common/database_util.h" 9 #include "content/common/database_util.h"
10 #include "content/common/file_system/webfilesystem_impl.h" 10 #include "content/common/file_system/webfilesystem_impl.h"
11 #include "content/common/file_utilities_messages.h" 11 #include "content/common/file_utilities_messages.h"
12 #include "content/common/indexed_db/proxy_webidbfactory_impl.h"
jsbell 2012/02/10 18:57:29 Not used yet, right?
dgrogan 2012/02/10 19:57:20 Ah right, removed.
12 #include "content/common/mime_registry_messages.h" 13 #include "content/common/mime_registry_messages.h"
13 #include "content/common/webblobregistry_impl.h" 14 #include "content/common/webblobregistry_impl.h"
14 #include "content/common/webmessageportchannel_impl.h" 15 #include "content/common/webmessageportchannel_impl.h"
15 #include "content/worker/worker_thread.h" 16 #include "content/worker/worker_thread.h"
16 #include "ipc/ipc_sync_message_filter.h" 17 #include "ipc/ipc_sync_message_filter.h"
17 #include "net/base/mime_util.h" 18 #include "net/base/mime_util.h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebBlobRegis try.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebBlobRegis try.h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h"
21 #include "webkit/glue/webfileutilities_impl.h" 22 #include "webkit/glue/webfileutilities_impl.h"
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 new MimeRegistryMsg_GetPreferredExtensionForMimeType( 274 new MimeRegistryMsg_GetPreferredExtensionForMimeType(
274 UTF16ToASCII(mime_type), &file_extension)); 275 UTF16ToASCII(mime_type), &file_extension));
275 return webkit_glue::FilePathStringToWebString(file_extension); 276 return webkit_glue::FilePathStringToWebString(file_extension);
276 } 277 }
277 278
278 WebBlobRegistry* WorkerWebKitPlatformSupportImpl::blobRegistry() { 279 WebBlobRegistry* WorkerWebKitPlatformSupportImpl::blobRegistry() {
279 if (!blob_registry_.get()) 280 if (!blob_registry_.get())
280 blob_registry_.reset(new WebBlobRegistryImpl(WorkerThread::current())); 281 blob_registry_.reset(new WebBlobRegistryImpl(WorkerThread::current()));
281 return blob_registry_.get(); 282 return blob_registry_.get();
282 } 283 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698