| 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 */ | |
| 5 | 4 |
| 6 | 5 |
| 7 /* XRay -- a simple profiler for Native Client */ | 6 /* XRay -- a simple profiler for Native Client */ |
| 8 | 7 |
| 9 #ifndef XRAY_DISABLE_BROWSER_INTEGRATION | 8 #ifndef XRAY_DISABLE_BROWSER_INTEGRATION |
| 10 | 9 |
| 11 #include <alloca.h> | 10 #include <alloca.h> |
| 12 #include <assert.h> | 11 #include <assert.h> |
| 13 #include <errno.h> | 12 #include <errno.h> |
| 14 #include <stdarg.h> | 13 #include <stdarg.h> |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 } | 122 } |
| 124 } | 123 } |
| 125 | 124 |
| 126 void XRayRegisterBrowserInterface(PPB_GetInterface interface) { | 125 void XRayRegisterBrowserInterface(PPB_GetInterface interface) { |
| 127 ppb_trace_event_interface = (PPB_Trace_Event_Dev*)interface( | 126 ppb_trace_event_interface = (PPB_Trace_Event_Dev*)interface( |
| 128 PPB_TRACE_EVENT_DEV_INTERFACE); | 127 PPB_TRACE_EVENT_DEV_INTERFACE); |
| 129 assert(ppb_trace_event_interface); | 128 assert(ppb_trace_event_interface); |
| 130 } | 129 } |
| 131 | 130 |
| 132 #endif /* XRAY */ | 131 #endif /* XRAY */ |
| 133 #endif /* XRAY_DISABLE_BROWSER_INTEGRATION */ | 132 #endif /* XRAY_DISABLE_BROWSER_INTEGRATION */ |
| OLD | NEW |