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

Side by Side Diff: ppapi/shared_impl/ppb_trace_event_impl.cc

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 12 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 | « ppapi/shared_impl/ppb_trace_event_impl.h ('k') | ppapi/shared_impl/ppb_url_util_shared.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/shared_impl/ppb_trace_event_impl.h" 5 #include "ppapi/shared_impl/ppb_trace_event_impl.h"
6 6
7 #include "base/basictypes.h"
8 #include "base/threading/platform_thread.h" 7 #include "base/threading/platform_thread.h"
9 #include "base/trace_event/trace_event.h" 8 #include "base/trace_event/trace_event.h"
10 #include "ppapi/thunk/thunk.h" 9 #include "ppapi/thunk/thunk.h"
11 10
12 namespace ppapi { 11 namespace ppapi {
13 12
14 // PPB_Trace_Event_Dev is a shared implementation because Trace Events can be 13 // PPB_Trace_Event_Dev is a shared implementation because Trace Events can be
15 // sent from either the plugin process or renderer process depending on whether 14 // sent from either the plugin process or renderer process depending on whether
16 // the plugin is in- or out-of-process. Also, for NaCl plugins these functions 15 // the plugin is in- or out-of-process. Also, for NaCl plugins these functions
17 // will be executed from untrusted code and handled appropriately by tracing 16 // will be executed from untrusted code and handled appropriately by tracing
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 const PPB_Trace_Event_Dev_0_1* GetPPB_Trace_Event_Dev_0_1_Thunk() { 125 const PPB_Trace_Event_Dev_0_1* GetPPB_Trace_Event_Dev_0_1_Thunk() {
127 return &g_ppb_trace_event_thunk_0_1; 126 return &g_ppb_trace_event_thunk_0_1;
128 } 127 }
129 128
130 const PPB_Trace_Event_Dev_0_2* GetPPB_Trace_Event_Dev_0_2_Thunk() { 129 const PPB_Trace_Event_Dev_0_2* GetPPB_Trace_Event_Dev_0_2_Thunk() {
131 return &g_ppb_trace_event_thunk_0_2; 130 return &g_ppb_trace_event_thunk_0_2;
132 } 131 }
133 132
134 } // namespace thunk 133 } // namespace thunk
135 } // namespace ppapi 134 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/shared_impl/ppb_trace_event_impl.h ('k') | ppapi/shared_impl/ppb_url_util_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698