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

Side by Side Diff: ppapi/nacl_irt/ppapi_dispatcher.cc

Issue 2028043002: tracing: restructure to the components/tracing folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ppapi/nacl_irt/ppapi_dispatcher.h" 5 #include "ppapi/nacl_irt/ppapi_dispatcher.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
11 11
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
15 #include "base/synchronization/waitable_event.h" 15 #include "base/synchronization/waitable_event.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "components/tracing/child_trace_message_filter.h" 17 #include "components/tracing/child/child_trace_message_filter.h"
18 #include "ipc/ipc_channel_handle.h" 18 #include "ipc/ipc_channel_handle.h"
19 #include "ipc/ipc_logging.h" 19 #include "ipc/ipc_logging.h"
20 #include "ipc/ipc_message.h" 20 #include "ipc/ipc_message.h"
21 #include "ppapi/c/ppp.h" 21 #include "ppapi/c/ppp.h"
22 #include "ppapi/c/ppp_instance.h" 22 #include "ppapi/c/ppp_instance.h"
23 #include "ppapi/nacl_irt/manifest_service.h" 23 #include "ppapi/nacl_irt/manifest_service.h"
24 #include "ppapi/nacl_irt/plugin_startup.h" 24 #include "ppapi/nacl_irt/plugin_startup.h"
25 #include "ppapi/proxy/plugin_dispatcher.h" 25 #include "ppapi/proxy/plugin_dispatcher.h"
26 #include "ppapi/proxy/plugin_globals.h" 26 #include "ppapi/proxy/plugin_globals.h"
27 #include "ppapi/proxy/plugin_message_filter.h" 27 #include "ppapi/proxy/plugin_message_filter.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 NOTREACHED(); 210 NOTREACHED();
211 return; 211 return;
212 } 212 }
213 std::map<uint32_t, proxy::PluginDispatcher*>::iterator dispatcher = 213 std::map<uint32_t, proxy::PluginDispatcher*>::iterator dispatcher =
214 plugin_dispatchers_.find(id); 214 plugin_dispatchers_.find(id);
215 if (dispatcher != plugin_dispatchers_.end()) 215 if (dispatcher != plugin_dispatchers_.end())
216 dispatcher->second->OnMessageReceived(msg); 216 dispatcher->second->OnMessageReceived(msg);
217 } 217 }
218 218
219 } // namespace ppapi 219 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698