Index: chrome/common/render_messages_params.h |
=================================================================== |
--- chrome/common/render_messages_params.h (revision 69028) |
+++ chrome/common/render_messages_params.h (working copy) |
@@ -20,7 +20,6 @@ |
#include "chrome/common/extensions/extension.h" |
#include "chrome/common/extensions/extension_extent.h" |
#include "chrome/common/extensions/url_pattern.h" |
-#include "chrome/common/indexed_db_key.h" |
#include "chrome/common/navigation_gesture.h" |
#include "chrome/common/navigation_types.h" |
#include "chrome/common/page_transition_types.h" |
@@ -659,153 +658,6 @@ |
DOMStorageType storage_type_; |
}; |
-// Used to open an indexed database. |
-struct ViewHostMsg_IDBFactoryOpen_Params { |
- ViewHostMsg_IDBFactoryOpen_Params(); |
- ~ViewHostMsg_IDBFactoryOpen_Params(); |
- |
- // The routing ID of the view initiating the open. |
- int32 routing_id_; |
- |
- // The response should have this id. |
- int32 response_id_; |
- |
- // The origin doing the initiating. |
- string16 origin_; |
- |
- // The name of the database. |
- string16 name_; |
- |
- // The maximum size of the database. |
- uint64 maximum_size_; |
-}; |
- |
-// Used to create an object store. |
-struct ViewHostMsg_IDBDatabaseCreateObjectStore_Params { |
- ViewHostMsg_IDBDatabaseCreateObjectStore_Params(); |
- ~ViewHostMsg_IDBDatabaseCreateObjectStore_Params(); |
- |
- // The name of the object store. |
- string16 name_; |
- |
- // The keyPath of the object store. |
- NullableString16 key_path_; |
- |
- // Whether the object store created should have a key generator. |
- bool auto_increment_; |
- |
- // The transaction this is associated with. |
- int32 transaction_id_; |
- |
- // The database the object store belongs to. |
- int32 idb_database_id_; |
-}; |
- |
-// Used to open both cursors and object cursors in IndexedDB. |
-struct ViewHostMsg_IDBIndexOpenCursor_Params { |
- ViewHostMsg_IDBIndexOpenCursor_Params(); |
- ~ViewHostMsg_IDBIndexOpenCursor_Params(); |
- |
- // The response should have this id. |
- int32 response_id_; |
- |
- // The serialized lower key. |
- IndexedDBKey lower_key_; |
- |
- // The serialized upper key. |
- IndexedDBKey upper_key_; |
- |
- // Is the lower bound open? |
- bool lower_open_; |
- |
- // Is the upper bound open? |
- bool upper_open_; |
- |
- // The direction of this cursor. |
- int32 direction_; |
- |
- // The index the index belongs to. |
- int32 idb_index_id_; |
- |
- // The transaction this request belongs to. |
- int transaction_id_; |
-}; |
- |
-// Used to set a value in an object store. |
-struct ViewHostMsg_IDBObjectStorePut_Params { |
- ViewHostMsg_IDBObjectStorePut_Params(); |
- ~ViewHostMsg_IDBObjectStorePut_Params(); |
- |
- // The object store's id. |
- int32 idb_object_store_id_; |
- |
- // The id any response should contain. |
- int32 response_id_; |
- |
- // The value to set. |
- SerializedScriptValue serialized_value_; |
- |
- // The key to set it on (may not be "valid"/set in some cases). |
- IndexedDBKey key_; |
- |
- // If it already exists, don't update (just return an error). |
- bool add_only_; |
- |
- // The transaction it's associated with. |
- int transaction_id_; |
-}; |
- |
-// Used to create an index. |
-struct ViewHostMsg_IDBObjectStoreCreateIndex_Params { |
- ViewHostMsg_IDBObjectStoreCreateIndex_Params(); |
- ~ViewHostMsg_IDBObjectStoreCreateIndex_Params(); |
- |
- // The name of the index. |
- string16 name_; |
- |
- // The keyPath of the index. |
- NullableString16 key_path_; |
- |
- // Whether the index created has unique keys. |
- bool unique_; |
- |
- // The transaction this is associated with. |
- int32 transaction_id_; |
- |
- // The object store the index belongs to. |
- int32 idb_object_store_id_; |
-}; |
- |
-// Used to open an IndexedDB cursor. |
-struct ViewHostMsg_IDBObjectStoreOpenCursor_Params { |
- ViewHostMsg_IDBObjectStoreOpenCursor_Params(); |
- ~ViewHostMsg_IDBObjectStoreOpenCursor_Params(); |
- |
- // The response should have this id. |
- int32 response_id_; |
- |
- // The serialized lower key. |
- IndexedDBKey lower_key_; |
- |
- // The serialized upper key. |
- IndexedDBKey upper_key_; |
- |
- // Is the lower bound open? |
- bool lower_open_; |
- |
- // Is the upper bound open? |
- bool upper_open_; |
- |
- // The direction of this cursor. |
- int32 direction_; |
- |
- // The object store the cursor belongs to. |
- int32 idb_object_store_id_; |
- |
- // The transaction this request belongs to. |
- int transaction_id_; |
-}; |
- |
// Allows an extension to execute code in a tab. |
struct ViewMsg_ExecuteCode_Params { |
ViewMsg_ExecuteCode_Params(); |
@@ -1198,54 +1050,6 @@ |
static void Log(const param_type& p, std::string* l); |
}; |
-template <> |
-struct ParamTraits<ViewHostMsg_IDBFactoryOpen_Params> { |
- typedef ViewHostMsg_IDBFactoryOpen_Params param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, void** iter, param_type* p); |
- static void Log(const param_type& p, std::string* l); |
-}; |
- |
-template <> |
-struct ParamTraits<ViewHostMsg_IDBDatabaseCreateObjectStore_Params> { |
- typedef ViewHostMsg_IDBDatabaseCreateObjectStore_Params param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, void** iter, param_type* p); |
- static void Log(const param_type& p, std::string* l); |
-}; |
- |
-template <> |
-struct ParamTraits<ViewHostMsg_IDBIndexOpenCursor_Params> { |
- typedef ViewHostMsg_IDBIndexOpenCursor_Params param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, void** iter, param_type* p); |
- static void Log(const param_type& p, std::string* l); |
-}; |
- |
-template <> |
-struct ParamTraits<ViewHostMsg_IDBObjectStorePut_Params> { |
- typedef ViewHostMsg_IDBObjectStorePut_Params param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, void** iter, param_type* p); |
- static void Log(const param_type& p, std::string* l); |
-}; |
- |
-template <> |
-struct ParamTraits<ViewHostMsg_IDBObjectStoreCreateIndex_Params> { |
- typedef ViewHostMsg_IDBObjectStoreCreateIndex_Params param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, void** iter, param_type* p); |
- static void Log(const param_type& p, std::string* l); |
-}; |
- |
-template <> |
-struct ParamTraits<ViewHostMsg_IDBObjectStoreOpenCursor_Params> { |
- typedef ViewHostMsg_IDBObjectStoreOpenCursor_Params param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, void** iter, param_type* p); |
- static void Log(const param_type& p, std::string* l); |
-}; |
- |
template<> |
struct ParamTraits<ViewMsg_ExecuteCode_Params> { |
typedef ViewMsg_ExecuteCode_Params param_type; |