OLD | NEW |
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 #include "content/child/np_channel_base.h" | 5 #include "content/child/np_channel_base.h" |
6 | 6 |
7 #include <stack> | 7 #include <stack> |
8 | 8 |
9 #include "base/auto_reset.h" | 9 #include "base/auto_reset.h" |
10 #include "base/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
11 #include "base/lazy_instance.h" | 11 #include "base/lazy_instance.h" |
12 #include "base/string_number_conversions.h" | 12 #include "base/string_number_conversions.h" |
13 #include "ipc/ipc_sync_message.h" | 13 #include "ipc/ipc_sync_message.h" |
14 | 14 |
15 #if defined(OS_POSIX) | 15 #if defined(OS_POSIX) |
16 #include "ipc/ipc_channel_posix.h" | 16 #include "ipc/ipc_channel_posix.h" |
17 #endif | 17 #endif |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 | 20 |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 NPObject* object) { | 296 NPObject* object) { |
297 DCHECK(object != NULL); | 297 DCHECK(object != NULL); |
298 stub_map_.erase(object); | 298 stub_map_.erase(object); |
299 } | 299 } |
300 | 300 |
301 void NPChannelBase::RemoveMappingForNPObjectProxy(int route_id) { | 301 void NPChannelBase::RemoveMappingForNPObjectProxy(int route_id) { |
302 proxy_map_.erase(route_id); | 302 proxy_map_.erase(route_id); |
303 } | 303 } |
304 | 304 |
305 } // namespace content | 305 } // namespace content |
OLD | NEW |