| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_RENDERER_INDEXED_DB_DISPATCHER_H_ | 5 #ifndef CONTENT_RENDERER_INDEXED_DB_DISPATCHER_H_ |
| 6 #define CONTENT_RENDERER_INDEXED_DB_DISPATCHER_H_ | 6 #define CONTENT_RENDERER_INDEXED_DB_DISPATCHER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/id_map.h" | 9 #include "base/id_map.h" |
| 10 #include "base/nullable_string16.h" | 10 #include "base/nullable_string16.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 IndexedDBDispatcher(); | 30 IndexedDBDispatcher(); |
| 31 virtual ~IndexedDBDispatcher(); | 31 virtual ~IndexedDBDispatcher(); |
| 32 | 32 |
| 33 // IPC::Channel::Listener implementation. | 33 // IPC::Channel::Listener implementation. |
| 34 virtual bool OnMessageReceived(const IPC::Message& msg); | 34 virtual bool OnMessageReceived(const IPC::Message& msg); |
| 35 | 35 |
| 36 void RequestIDBFactoryOpen( | 36 void RequestIDBFactoryOpen( |
| 37 const string16& name, | 37 const string16& name, |
| 38 WebKit::WebIDBCallbacks* callbacks, | 38 WebKit::WebIDBCallbacks* callbacks, |
| 39 const string16& origin, | 39 const string16& origin, |
| 40 WebKit::WebFrame* web_frame, | 40 WebKit::WebFrame* web_frame); |
| 41 uint64 maximum_size); | |
| 42 | 41 |
| 43 void RequestIDBFactoryDeleteDatabase( | 42 void RequestIDBFactoryDeleteDatabase( |
| 44 const string16& name, | 43 const string16& name, |
| 45 WebKit::WebIDBCallbacks* callbacks, | 44 WebKit::WebIDBCallbacks* callbacks, |
| 46 const string16& origin, | 45 const string16& origin, |
| 47 WebKit::WebFrame* web_frame); | 46 WebKit::WebFrame* web_frame); |
| 48 | 47 |
| 49 void RequestIDBCursorUpdate( | 48 void RequestIDBCursorUpdate( |
| 50 const SerializedScriptValue& value, | 49 const SerializedScriptValue& value, |
| 51 WebKit::WebIDBCallbacks* callbacks_ptr, | 50 WebKit::WebIDBCallbacks* callbacks_ptr, |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 IDMap<WebKit::WebIDBCallbacks, IDMapOwnPointer> pending_callbacks_; | 164 IDMap<WebKit::WebIDBCallbacks, IDMapOwnPointer> pending_callbacks_; |
| 166 IDMap<WebKit::WebIDBTransactionCallbacks, IDMapOwnPointer> | 165 IDMap<WebKit::WebIDBTransactionCallbacks, IDMapOwnPointer> |
| 167 pending_transaction_callbacks_; | 166 pending_transaction_callbacks_; |
| 168 IDMap<WebKit::WebIDBDatabaseCallbacks, IDMapOwnPointer> | 167 IDMap<WebKit::WebIDBDatabaseCallbacks, IDMapOwnPointer> |
| 169 pending_database_callbacks_; | 168 pending_database_callbacks_; |
| 170 | 169 |
| 171 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); | 170 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); |
| 172 }; | 171 }; |
| 173 | 172 |
| 174 #endif // CONTENT_RENDERER_INDEXED_DB_DISPATCHER_H_ | 173 #endif // CONTENT_RENDERER_INDEXED_DB_DISPATCHER_H_ |
| OLD | NEW |