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

Unified Diff: content/browser/indexed_db/indexed_db_dispatcher_host.cc

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/indexed_db/indexed_db_dispatcher_host.cc
diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.cc b/content/browser/indexed_db/indexed_db_dispatcher_host.cc
index 0cdde9d016e8fd3520056202f5adef2cddf770b8..020de2f73a311b252adfd04556012c0333f24032 100644
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.cc
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.cc
@@ -28,9 +28,9 @@
#include "content/public/common/result_codes.h"
#include "third_party/WebKit/public/platform/WebIDBDatabaseException.h"
#include "url/gurl.h"
-#include "webkit/browser/blob/blob_storage_context.h"
-#include "webkit/browser/database/database_util.h"
-#include "webkit/common/database/database_identifier.h"
+#include "storage/browser/blob/blob_storage_context.h"
+#include "storage/browser/database/database_util.h"
+#include "storage/common/database/database_identifier.h"
using webkit_database::DatabaseUtil;
using blink::WebIDBKey;
@@ -211,7 +211,7 @@ uint32 IndexedDBDispatcherHost::TransactionIdToProcessId(
void IndexedDBDispatcherHost::HoldBlobDataHandle(
const std::string& uuid,
- scoped_ptr<webkit_blob::BlobDataHandle> blob_data_handle) {
+ scoped_ptr<storage::BlobDataHandle> blob_data_handle) {
DCHECK(!ContainsKey(blob_data_handle_map_, uuid));
blob_data_handle_map_[uuid] = blob_data_handle.release();
}
@@ -340,7 +340,7 @@ void IndexedDBDispatcherHost::OnIDBFactoryDeleteDatabase(
// to the IndexedDBDispatcherHost.
void IndexedDBDispatcherHost::OnPutHelper(
const IndexedDBHostMsg_DatabasePut_Params& params,
- std::vector<webkit_blob::BlobDataHandle*> handles) {
+ std::vector<storage::BlobDataHandle*> handles) {
database_dispatcher_host_->OnPut(params, handles);
}
@@ -616,7 +616,7 @@ void IndexedDBDispatcherHost::DatabaseDispatcherHost::OnGet(
void IndexedDBDispatcherHost::DatabaseDispatcherHost::OnPutWrapper(
const IndexedDBHostMsg_DatabasePut_Params& params) {
- std::vector<webkit_blob::BlobDataHandle*> handles;
+ std::vector<storage::BlobDataHandle*> handles;
for (size_t i = 0; i < params.blob_or_file_info.size(); ++i) {
const IndexedDBMsg_BlobOrFileInfo& info = params.blob_or_file_info[i];
handles.push_back(parent_->blob_storage_context_->context()
@@ -631,12 +631,11 @@ void IndexedDBDispatcherHost::DatabaseDispatcherHost::OnPutWrapper(
void IndexedDBDispatcherHost::DatabaseDispatcherHost::OnPut(
const IndexedDBHostMsg_DatabasePut_Params& params,
- std::vector<webkit_blob::BlobDataHandle*> handles) {
-
+ std::vector<storage::BlobDataHandle*> handles) {
DCHECK(
parent_->indexed_db_context_->TaskRunner()->RunsTasksOnCurrentThread());
- ScopedVector<webkit_blob::BlobDataHandle> scoped_handles;
+ ScopedVector<storage::BlobDataHandle> scoped_handles;
scoped_handles.swap(handles);
IndexedDBConnection* connection =
« no previous file with comments | « content/browser/indexed_db/indexed_db_dispatcher_host.h ('k') | content/browser/indexed_db/indexed_db_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698