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

Unified Diff: content/common/indexed_db/indexed_db_dispatcher.h

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 2 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/common/indexed_db/indexed_db_dispatcher.h
===================================================================
--- content/common/indexed_db/indexed_db_dispatcher.h (revision 163290)
+++ content/common/indexed_db/indexed_db_dispatcher.h (working copy)
@@ -25,13 +25,7 @@
struct IndexedDBMsg_CallbacksSuccessCursorContinue_Params;
struct IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params;
struct IndexedDBMsg_CallbacksSuccessIDBCursor_Params;
-class RendererWebIDBCursorImpl;
-class RendererWebIDBDatabaseImpl;
-namespace IPC {
-class Message;
-}
-
namespace WebKit {
class WebFrame;
class WebIDBKeyRange;
@@ -41,8 +35,9 @@
class IndexedDBKey;
class IndexedDBKeyPath;
class IndexedDBKeyRange;
+class RendererWebIDBCursorImpl;
+class RendererWebIDBDatabaseImpl;
class SerializedScriptValue;
-}
CONTENT_EXPORT extern const size_t kMaxIDBValueSizeInBytes;
@@ -91,7 +86,7 @@
WebKit::WebExceptionCode* ec);
void RequestIDBCursorContinue(
- const content::IndexedDBKey& key,
+ const IndexedDBKey& key,
WebKit::WebIDBCallbacks* callbacks_ptr,
int32 idb_cursor_id,
WebKit::WebExceptionCode* ec);
@@ -143,29 +138,29 @@
WebKit::WebExceptionCode* ec);
void RequestIDBIndexGetObject(
- const content::IndexedDBKeyRange& key_range,
+ const IndexedDBKeyRange& key_range,
WebKit::WebIDBCallbacks* callbacks,
int32 idb_index_id,
const WebKit::WebIDBTransaction& transaction,
WebKit::WebExceptionCode* ec);
void RequestIDBIndexGetKey(
- const content::IndexedDBKeyRange& key_range,
+ const IndexedDBKeyRange& key_range,
WebKit::WebIDBCallbacks* callbacks,
int32 idb_index_id,
const WebKit::WebIDBTransaction& transaction,
WebKit::WebExceptionCode* ec);
void RequestIDBObjectStoreGet(
- const content::IndexedDBKeyRange& key_range,
+ const IndexedDBKeyRange& key_range,
WebKit::WebIDBCallbacks* callbacks,
int32 idb_object_store_id,
const WebKit::WebIDBTransaction& transaction,
WebKit::WebExceptionCode* ec);
void RequestIDBObjectStorePut(
- const content::SerializedScriptValue& value,
- const content::IndexedDBKey& key,
+ const SerializedScriptValue& value,
+ const IndexedDBKey& key,
WebKit::WebIDBObjectStore::PutMode putMode,
WebKit::WebIDBCallbacks* callbacks,
int32 idb_object_store_id,
@@ -175,7 +170,7 @@
WebKit::WebExceptionCode* ec);
void RequestIDBObjectStoreDelete(
- const content::IndexedDBKeyRange& key_range,
+ const IndexedDBKeyRange& key_range,
WebKit::WebIDBCallbacks* callbacks,
int32 idb_object_store_id,
const WebKit::WebIDBTransaction& transaction,
@@ -221,7 +216,7 @@
int32 object_id);
void OnSuccessIndexedDBKey(int32 thread_id,
int32 response_id,
- const content::IndexedDBKey& key);
+ const IndexedDBKey& key);
void OnSuccessIDBTransaction(int32 thread_id,
int32 response_id,
int32 object_id);
@@ -237,13 +232,13 @@
void OnSuccessSerializedScriptValue(
int32 thread_id,
int32 response_id,
- const content::SerializedScriptValue& value);
+ const SerializedScriptValue& value);
void OnSuccessSerializedScriptValueWithKey(
int32 thread_id,
int32 response_id,
- const content::SerializedScriptValue& value,
- const content::IndexedDBKey& primary_key,
- const content::IndexedDBKeyPath& key_path);
+ const SerializedScriptValue& value,
+ const IndexedDBKey& primary_key,
+ const IndexedDBKeyPath& key_path);
void OnSuccessInteger(
int32 thread_id,
int32 response_id,
@@ -295,4 +290,6 @@
DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher);
};
+} // namespace content
+
#endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
« no previous file with comments | « content/common/gpu/texture_image_transport_surface.cc ('k') | content/common/indexed_db/indexed_db_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698