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

Side by Side Diff: ppapi/proxy/ppb_core_proxy.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 5 years 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/ppb_buffer_proxy.h ('k') | ppapi/proxy/ppb_flash_message_loop_proxy.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/proxy/ppb_core_proxy.h" 5 #include "ppapi/proxy/ppb_core_proxy.h"
6 6
7 #include <stdint.h>
7 #include <stdlib.h> // For malloc 8 #include <stdlib.h> // For malloc
8 9
9 #include "base/bind.h" 10 #include "base/bind.h"
10 #include "base/logging.h" 11 #include "base/logging.h"
11 #include "base/time/time.h" 12 #include "base/time/time.h"
12 #include "base/trace_event/trace_event.h" 13 #include "base/trace_event/trace_event.h"
14 #include "build/build_config.h"
13 #include "ppapi/c/pp_completion_callback.h" 15 #include "ppapi/c/pp_completion_callback.h"
14 #include "ppapi/c/pp_resource.h" 16 #include "ppapi/c/pp_resource.h"
15 #include "ppapi/c/ppb_core.h" 17 #include "ppapi/c/ppb_core.h"
16 #include "ppapi/proxy/plugin_dispatcher.h" 18 #include "ppapi/proxy/plugin_dispatcher.h"
17 #include "ppapi/proxy/plugin_resource_tracker.h" 19 #include "ppapi/proxy/plugin_resource_tracker.h"
18 #include "ppapi/proxy/ppapi_messages.h" 20 #include "ppapi/proxy/ppapi_messages.h"
19 #include "ppapi/shared_impl/ppapi_globals.h" 21 #include "ppapi/shared_impl/ppapi_globals.h"
20 #include "ppapi/shared_impl/proxy_lock.h" 22 #include "ppapi/shared_impl/proxy_lock.h"
21 #include "ppapi/shared_impl/time_conversion.h" 23 #include "ppapi/shared_impl/time_conversion.h"
22 24
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 ppb_core_impl_->AddRefResource(resource.host_resource()); 133 ppb_core_impl_->AddRefResource(resource.host_resource());
132 } 134 }
133 135
134 void PPB_Core_Proxy::OnMsgReleaseResource(const HostResource& resource) { 136 void PPB_Core_Proxy::OnMsgReleaseResource(const HostResource& resource) {
135 ppb_core_impl_->ReleaseResource(resource.host_resource()); 137 ppb_core_impl_->ReleaseResource(resource.host_resource());
136 } 138 }
137 #endif // !defined(OS_NACL) 139 #endif // !defined(OS_NACL)
138 140
139 } // namespace proxy 141 } // namespace proxy
140 } // namespace ppapi 142 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_buffer_proxy.h ('k') | ppapi/proxy/ppb_flash_message_loop_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698