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

Unified Diff: content/child/indexed_db/indexed_db_message_filter.cc

Issue 2511403003: Send IndexedDB observations through IDBDatabaseCallbacks. (Closed)
Patch Set: Remove unnecessary forward declaration. Created 4 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
« no previous file with comments | « content/child/indexed_db/indexed_db_message_filter.h ('k') | content/child/indexed_db/webidbcursor_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/indexed_db/indexed_db_message_filter.cc
diff --git a/content/child/indexed_db/indexed_db_message_filter.cc b/content/child/indexed_db/indexed_db_message_filter.cc
deleted file mode 100644
index a1d4222e1cf13f55570ccfbf33dc73a9686f9bd4..0000000000000000000000000000000000000000
--- a/content/child/indexed_db/indexed_db_message_filter.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/child/indexed_db/indexed_db_message_filter.h"
-
-#include "content/child/indexed_db/indexed_db_dispatcher.h"
-#include "content/child/thread_safe_sender.h"
-#include "content/common/indexed_db/indexed_db_messages.h"
-
-namespace content {
-
-IndexedDBMessageFilter::IndexedDBMessageFilter(
- ThreadSafeSender* thread_safe_sender)
- : WorkerThreadMessageFilter(thread_safe_sender) {
-}
-
-IndexedDBMessageFilter::~IndexedDBMessageFilter() {}
-
-bool IndexedDBMessageFilter::ShouldHandleMessage(
- const IPC::Message& msg) const {
- return IPC_MESSAGE_CLASS(msg) == IndexedDBMsgStart;
-}
-
-void IndexedDBMessageFilter::OnFilteredMessageReceived(
- const IPC::Message& msg) {
- IndexedDBDispatcher::ThreadSpecificInstance()->OnMessageReceived(msg);
-}
-
-bool IndexedDBMessageFilter::GetWorkerThreadIdForMessage(
- const IPC::Message& msg,
- int* ipc_thread_id) {
- return base::PickleIterator(msg).ReadInt(ipc_thread_id);
-}
-
-} // namespace content
« no previous file with comments | « content/child/indexed_db/indexed_db_message_filter.h ('k') | content/child/indexed_db/webidbcursor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698