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

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

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.h
diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.h b/content/browser/indexed_db/indexed_db_dispatcher_host.h
index 10ef04bd20b497dface5b4cddac758d1216bfd25..a1a8457736d96436d4d39b819aa34967ffbb7c03 100644
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.h
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.h
@@ -16,7 +16,7 @@
#include "content/public/browser/browser_message_filter.h"
#include "net/url_request/url_request_context_getter.h"
#include "url/gurl.h"
-#include "webkit/browser/blob/blob_data_handle.h"
+#include "storage/browser/blob/blob_data_handle.h"
struct IndexedDBDatabaseMetadata;
struct IndexedDBHostMsg_DatabaseCount_Params;
@@ -69,7 +69,7 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
// A shortcut for accessing our context.
IndexedDBContextImpl* Context() { return indexed_db_context_; }
- webkit_blob::BlobStorageContext* blob_storage_context() const {
+ storage::BlobStorageContext* blob_storage_context() const {
return blob_storage_context_->context();
}
@@ -94,9 +94,8 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
static uint32 TransactionIdToRendererTransactionId(int64 host_transaction_id);
static uint32 TransactionIdToProcessId(int64 host_transaction_id);
- void HoldBlobDataHandle(
- const std::string& uuid,
- scoped_ptr<webkit_blob::BlobDataHandle> blob_data_handle);
+ void HoldBlobDataHandle(const std::string& uuid,
+ scoped_ptr<storage::BlobDataHandle> blob_data_handle);
void DropBlobDataHandle(const std::string& uuid);
private:
@@ -117,7 +116,7 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
void OnAckReceivedBlobs(const std::vector<std::string>& uuids);
void OnPutHelper(const IndexedDBHostMsg_DatabasePut_Params& params,
- std::vector<webkit_blob::BlobDataHandle*> handles);
+ std::vector<storage::BlobDataHandle*> handles);
void ResetDispatcherHosts();
@@ -196,7 +195,7 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
// before posting to the IDB TaskRunner for the rest of the job.
void OnPutWrapper(const IndexedDBHostMsg_DatabasePut_Params& params);
void OnPut(const IndexedDBHostMsg_DatabasePut_Params& params,
- std::vector<webkit_blob::BlobDataHandle*> handles);
+ std::vector<storage::BlobDataHandle*> handles);
void OnSetIndexKeys(
const IndexedDBHostMsg_DatabaseSetIndexKeys_Params& params);
void OnSetIndexesReady(int32 ipc_database_id,
@@ -271,7 +270,7 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
scoped_refptr<IndexedDBContextImpl> indexed_db_context_;
scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
- typedef std::map<std::string, webkit_blob::BlobDataHandle*> BlobDataHandleMap;
+ typedef std::map<std::string, storage::BlobDataHandle*> BlobDataHandleMap;
BlobDataHandleMap blob_data_handle_map_;
// Only access on IndexedDB thread.
« no previous file with comments | « content/browser/indexed_db/indexed_db_database_unittest.cc ('k') | content/browser/indexed_db/indexed_db_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698