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

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

Issue 9368053: Move indexed db files from content/renderer to content/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unneccesary include Created 8 years, 10 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/renderer/indexed_db/indexed_db_message_filter.cc
diff --git a/content/renderer/indexed_db/indexed_db_message_filter.cc b/content/renderer/indexed_db/indexed_db_message_filter.cc
deleted file mode 100644
index 3e6b04b5975d8a75dc9bb3aff5c9471486bdae2b..0000000000000000000000000000000000000000
--- a/content/renderer/indexed_db/indexed_db_message_filter.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2011 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/renderer/indexed_db/indexed_db_message_filter.h"
-
-#include "base/bind.h"
-#include "base/location.h"
-#include "content/common/indexed_db/indexed_db_messages.h"
-#include "content/renderer/indexed_db/indexed_db_dispatcher.h"
-#include "webkit/glue/worker_task_runner.h"
-
-using webkit_glue::WorkerTaskRunner;
-
-IndexedDBMessageFilter::IndexedDBMessageFilter() :
- main_thread_loop_proxy_(base::MessageLoopProxy::current()) {
-}
-
-IndexedDBMessageFilter::~IndexedDBMessageFilter() {
-}
-
-bool IndexedDBMessageFilter::OnMessageReceived(const IPC::Message& msg) {
- if (IPC_MESSAGE_CLASS(msg) != IndexedDBMsgStart)
- return false;
- int thread_id = IPC::MessageIterator(msg).NextInt();
- base::Closure closure = base::Bind(
- &IndexedDBMessageFilter::DispatchMessage, this, msg);
- if (thread_id)
- WorkerTaskRunner::Instance()->PostTask(thread_id, closure);
- else
- main_thread_loop_proxy_->PostTask(FROM_HERE, closure);
- return true;
-}
-
-void IndexedDBMessageFilter::DispatchMessage(const IPC::Message& msg) {
- IndexedDBDispatcher::ThreadSpecificInstance()->OnMessageReceived(msg);
-}
« no previous file with comments | « content/renderer/indexed_db/indexed_db_message_filter.h ('k') | content/renderer/indexed_db/renderer_webidbcursor_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698