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

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

Issue 73153003: Remove dead code from IDB (chromium side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang format to fix long lines Created 7 years, 1 month 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 66db4a7c1448d9f2b62ff88d84ee57ce96a87e50..0d4facf6347e3c902f88b161568159b9560c697d 100644
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.h
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.h
@@ -41,8 +41,7 @@ struct IndexedDBDatabaseMetadata;
class IndexedDBDispatcherHost : public BrowserMessageFilter {
public:
// Only call the constructor from the UI thread.
- IndexedDBDispatcherHost(int ipc_process_id,
- IndexedDBContextImpl* indexed_db_context);
+ explicit IndexedDBDispatcherHost(IndexedDBContextImpl* indexed_db_context);
static ::IndexedDBDatabaseMetadata ConvertMetadata(
const content::IndexedDBDatabaseMetadata& metadata);
@@ -155,7 +154,6 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
void CloseAll();
bool OnMessageReceived(const IPC::Message& message, bool* msg_is_ok);
- void Send(IPC::Message* message);
void OnCreateObjectStore(
const IndexedDBHostMsg_DatabaseCreateObjectStore_Params& params);
@@ -164,9 +162,6 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
int64 object_store_id);
void OnCreateTransaction(
const IndexedDBHostMsg_DatabaseCreateTransaction_Params&);
- void OnOpen(int32 ipc_database_id,
- int32 ipc_thread_id,
- int32 ipc_callbacks_id);
void OnClose(int32 ipc_database_id);
void OnDestroyed(int32 ipc_database_id);
@@ -210,7 +205,6 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
~CursorDispatcherHost();
bool OnMessageReceived(const IPC::Message& message, bool* msg_is_ok);
- void Send(IPC::Message* message);
void OnAdvance(int32 ipc_object_store_id,
int32 ipc_thread_id,
@@ -239,9 +233,6 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
scoped_ptr<DatabaseDispatcherHost> database_dispatcher_host_;
scoped_ptr<CursorDispatcherHost> cursor_dispatcher_host_;
- // Used to dispatch messages to the correct view host.
- int ipc_process_id_;
-
DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost);
};
« no previous file with comments | « content/browser/indexed_db/indexed_db_database.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