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

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

Issue 18209022: add missing headers in ppapi/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more reordering Created 7 years, 5 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/proxy/truetype_font_singleton_resource.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 (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" 7 #include "base/basictypes.h"
8 #include "base/debug/trace_event.h" 8 #include "base/debug/trace_event.h"
9 #include "base/threading/platform_thread.h"
9 #include "ppapi/thunk/thunk.h" 10 #include "ppapi/thunk/thunk.h"
10 11
11 12
12 namespace ppapi { 13 namespace ppapi {
13 14
14 // PPB_Trace_Event_Dev is a shared implementation because Trace Events can be 15 // 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 16 // 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 17 // 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 18 // will be executed from untrusted code and handled appropriately by tracing
18 // functionality in the IRT. 19 // functionality in the IRT.
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 const PPB_Trace_Event_Dev_0_1* GetPPB_Trace_Event_Dev_0_1_Thunk() { 115 const PPB_Trace_Event_Dev_0_1* GetPPB_Trace_Event_Dev_0_1_Thunk() {
115 return &g_ppb_trace_event_thunk_0_1; 116 return &g_ppb_trace_event_thunk_0_1;
116 } 117 }
117 118
118 const PPB_Trace_Event_Dev_0_2* GetPPB_Trace_Event_Dev_0_2_Thunk() { 119 const PPB_Trace_Event_Dev_0_2* GetPPB_Trace_Event_Dev_0_2_Thunk() {
119 return &g_ppb_trace_event_thunk_0_2; 120 return &g_ppb_trace_event_thunk_0_2;
120 } 121 }
121 122
122 } // namespace thunk 123 } // namespace thunk
123 } // namespace ppapi 124 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/truetype_font_singleton_resource.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698