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

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

Issue 10272018: Move IndexedDBKey, IndexedDBKeyRange into content namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use "using content::*" aliasing for IDB/SSV types Created 8 years, 8 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/in_process_webkit/indexed_db_dispatcher_host.h
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
index 80da39009391e67be5499abe6da746dcb7a18804..18ec7e4cf094b48d49ae1994de79858f8f4c8f9d 100644
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
@@ -15,8 +15,6 @@
class GURL;
class IndexedDBContextImpl;
-class IndexedDBKey;
-class IndexedDBKeyRange;
struct IndexedDBHostMsg_DatabaseCreateObjectStore_Params;
struct IndexedDBHostMsg_FactoryDeleteDatabase_Params;
struct IndexedDBHostMsg_FactoryGetDatabaseNames_Params;
@@ -38,7 +36,9 @@ class WebIDBTransaction;
}
namespace content {
+class IndexedDBKey;
class IndexedDBKeyPath;
+class IndexedDBKeyRange;
class SerializedScriptValue;
}
@@ -169,13 +169,13 @@ class IndexedDBDispatcherHost : public content::BrowserMessageFilter {
void OnGetObject(int idb_index_id,
int32 thread_id,
int32 response_id,
- const IndexedDBKeyRange& key_range,
+ const content::IndexedDBKeyRange& key_range,
int32 transaction_id,
WebKit::WebExceptionCode* ec);
void OnGetKey(int idb_index_id,
int32 thread_id,
int32 response_id,
- const IndexedDBKeyRange& key_range,
+ const content::IndexedDBKeyRange& key_range,
int32 transaction_id,
WebKit::WebExceptionCode* ec);
void OnDestroyed(int32 idb_index_id);
@@ -200,7 +200,7 @@ class IndexedDBDispatcherHost : public content::BrowserMessageFilter {
void OnGet(int idb_object_store_id,
int32 thread_id,
int32 response_id,
- const IndexedDBKeyRange& key_range,
+ const content::IndexedDBKeyRange& key_range,
int32 transaction_id,
WebKit::WebExceptionCode* ec);
void OnPut(const IndexedDBHostMsg_ObjectStorePut_Params& params,
@@ -208,13 +208,13 @@ class IndexedDBDispatcherHost : public content::BrowserMessageFilter {
void OnDelete(int idb_object_store_id,
int32 thread_id,
int32 response_id,
- const IndexedDBKey& key,
+ const content::IndexedDBKey& key,
int32 transaction_id,
WebKit::WebExceptionCode* ec);
void OnDeleteRange(int idb_object_store_id,
int32 thread_id,
int32 response_id,
- const IndexedDBKeyRange& key_range,
+ const content::IndexedDBKeyRange& key_range,
int32 transaction_id,
WebKit::WebExceptionCode* ec);
void OnClear(int idb_object_store_id,
@@ -254,8 +254,9 @@ class IndexedDBDispatcherHost : public content::BrowserMessageFilter {
void Send(IPC::Message* message);
void OnDirection(int32 idb_object_store_id, int32* direction);
- void OnKey(int32 idb_object_store_id, IndexedDBKey* key);
- void OnPrimaryKey(int32 idb_object_store_id, IndexedDBKey* primary_key);
+ void OnKey(int32 idb_object_store_id, content::IndexedDBKey* key);
+ void OnPrimaryKey(int32 idb_object_store_id,
+ content::IndexedDBKey* primary_key);
void OnValue(int32 idb_object_store_id,
content::SerializedScriptValue* script_value);
void OnUpdate(int32 idb_object_store_id,
@@ -271,7 +272,7 @@ class IndexedDBDispatcherHost : public content::BrowserMessageFilter {
void OnContinue(int32 idb_object_store_id,
int32 thread_id,
int32 response_id,
- const IndexedDBKey& key,
+ const content::IndexedDBKey& key,
WebKit::WebExceptionCode* ec);
void OnPrefetch(int32 idb_cursor_id,
int32 thread_id,

Powered by Google App Engine
This is Rietveld 408576698