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

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

Issue 2847003005: Reland "Add enable_ipc_logging build argument" (Closed)
Patch Set: Reland "Add enable_ipc_logging build argument" Created 3 years, 7 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 | « ipc/ipc_sync_channel.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "build/build_config.h" 5 #include "build/build_config.h"
6 // Need to include this before most other files because it defines
7 // IPC_MESSAGE_LOG_ENABLED. We need to use it to define
8 // IPC_MESSAGE_MACROS_LOG_ENABLED so ppapi_messages.h will generate the
9 // ViewMsgLog et al. functions.
10 6
11 #include <stdint.h> 7 #include <stdint.h>
12 8
13 #include "base/run_loop.h" 9 #include "base/run_loop.h"
14 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
15 #include "ipc/ipc_logging.h" 11 #include "ipc/ipc_logging.h"
16 #include "ppapi/nacl_irt/irt_interfaces.h" 12 #include "ppapi/nacl_irt/irt_interfaces.h"
17 #include "ppapi/nacl_irt/irt_ppapi.h" 13 #include "ppapi/nacl_irt/irt_ppapi.h"
18 #include "ppapi/nacl_irt/plugin_startup.h" 14 #include "ppapi/nacl_irt/plugin_startup.h"
19 #include "ppapi/nacl_irt/ppapi_dispatcher.h" 15 #include "ppapi/nacl_irt/ppapi_dispatcher.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 } 54 }
59 55
60 const void* PPP_GetInterface(const char* interface_name) { 56 const void* PPP_GetInterface(const char* interface_name) {
61 return g_pp_functions.PPP_GetInterface(interface_name); 57 return g_pp_functions.PPP_GetInterface(interface_name);
62 } 58 }
63 59
64 const struct nacl_irt_ppapihook nacl_irt_ppapihook = { 60 const struct nacl_irt_ppapihook nacl_irt_ppapihook = {
65 irt_ppapi_start, 61 irt_ppapi_start,
66 PpapiPluginRegisterThreadCreator, 62 PpapiPluginRegisterThreadCreator,
67 }; 63 };
OLDNEW
« no previous file with comments | « ipc/ipc_sync_channel.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698