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

Side by Side Diff: chrome/common/db_message_filter.cc

Issue 173026: Move IDMap back to base/ where it is needed. (Closed)
Patch Set: Created 11 years, 4 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
« no previous file with comments | « chrome/common/db_message_filter.h ('k') | chrome/common/message_router.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "db_message_filter.h" 5 #include "db_message_filter.h"
6 6
7 #include "base/atomic_sequence_num.h" 7 #include "base/atomic_sequence_num.h"
8 #include "base/id_map.h"
8 #include "base/lock.h" 9 #include "base/lock.h"
9 #include "base/message_loop.h" 10 #include "base/message_loop.h"
10 #include "base/platform_file.h" 11 #include "base/platform_file.h"
11 #include "base/task.h" 12 #include "base/task.h"
12 #include "chrome/common/child_process.h" 13 #include "chrome/common/child_process.h"
13 #include "chrome/common/id_map.h"
14 #include "chrome/common/render_messages.h" 14 #include "chrome/common/render_messages.h"
15 #include "ipc/ipc_channel.h" 15 #include "ipc/ipc_channel.h"
16 #include "ipc/ipc_message.h" 16 #include "ipc/ipc_message.h"
17 17
18 DBMessageFilter* DBMessageFilter::instance_ = NULL; 18 DBMessageFilter* DBMessageFilter::instance_ = NULL;
19 19
20 DBMessageFilter::DBMessageFilter() 20 DBMessageFilter::DBMessageFilter()
21 : io_thread_message_loop_(ChildProcess::current()->io_message_loop()), 21 : io_thread_message_loop_(ChildProcess::current()->io_message_loop()),
22 channel_(NULL), channel_lock_(new Lock()), 22 channel_(NULL), channel_lock_(new Lock()),
23 shutdown_event_(ChildProcess::current()->GetShutDownEvent()), 23 shutdown_event_(ChildProcess::current()->GetShutDownEvent()),
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 IPC_MESSAGE_HANDLER(ViewMsg_DatabaseDeleteFileResponse, 79 IPC_MESSAGE_HANDLER(ViewMsg_DatabaseDeleteFileResponse,
80 OnResponse<bool>) 80 OnResponse<bool>)
81 IPC_MESSAGE_HANDLER(ViewMsg_DatabaseGetFileAttributesResponse, 81 IPC_MESSAGE_HANDLER(ViewMsg_DatabaseGetFileAttributesResponse,
82 OnResponse<uint32>) 82 OnResponse<uint32>)
83 IPC_MESSAGE_HANDLER(ViewMsg_DatabaseGetFileSizeResponse, 83 IPC_MESSAGE_HANDLER(ViewMsg_DatabaseGetFileSizeResponse,
84 OnResponse<int64>) 84 OnResponse<int64>)
85 IPC_MESSAGE_UNHANDLED(handled = false) 85 IPC_MESSAGE_UNHANDLED(handled = false)
86 IPC_END_MESSAGE_MAP() 86 IPC_END_MESSAGE_MAP()
87 return handled; 87 return handled;
88 } 88 }
OLDNEW
« no previous file with comments | « chrome/common/db_message_filter.h ('k') | chrome/common/message_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698