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

Side by Side Diff: content/child/indexed_db/indexed_db_message_filter.h

Issue 2370643004: Port messages sent by WebIDBFactoryImpl to Mojo. (Closed)
Patch Set: Address last nits and fix leaks in unit tests. Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CHILD_INDEXED_DB_INDEXED_DB_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_CHILD_INDEXED_DB_INDEXED_DB_MESSAGE_FILTER_H_
6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_MESSAGE_FILTER_H_ 6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_MESSAGE_FILTER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 12 matching lines...) Expand all
23 protected: 23 protected:
24 ~IndexedDBMessageFilter() override; 24 ~IndexedDBMessageFilter() override;
25 25
26 private: 26 private:
27 // WorkerThreadMessageFilter: 27 // WorkerThreadMessageFilter:
28 bool ShouldHandleMessage(const IPC::Message& msg) const override; 28 bool ShouldHandleMessage(const IPC::Message& msg) const override;
29 void OnFilteredMessageReceived(const IPC::Message& msg) override; 29 void OnFilteredMessageReceived(const IPC::Message& msg) override;
30 bool GetWorkerThreadIdForMessage(const IPC::Message& msg, 30 bool GetWorkerThreadIdForMessage(const IPC::Message& msg,
31 int* ipc_thread_id) override; 31 int* ipc_thread_id) override;
32 32
33 // ChildMessageFilter:
34 void OnStaleMessageReceived(const IPC::Message& msg) override;
35
36 void OnStaleSuccessIDBDatabase(int32_t ipc_thread_id,
37 int32_t ipc_callbacks_id,
38 int32_t ipc_database_callbacks_id,
39 int32_t ipc_object_id,
40 const IndexedDBDatabaseMetadata&);
41 void OnStaleUpgradeNeeded(const IndexedDBMsg_CallbacksUpgradeNeeded_Params&);
42
43 DISALLOW_COPY_AND_ASSIGN(IndexedDBMessageFilter); 33 DISALLOW_COPY_AND_ASSIGN(IndexedDBMessageFilter);
44 }; 34 };
45 35
46 } // namespace content 36 } // namespace content
47 37
48 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_MESSAGE_FILTER_H_ 38 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/child/indexed_db/indexed_db_dispatcher.cc ('k') | content/child/indexed_db/indexed_db_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698