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

Side by Side Diff: ppapi/host/ppapi_host.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/host/ppapi_host.h ('k') | ppapi/host/resource_host.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/host/ppapi_host.h" 5 #include "ppapi/host/ppapi_host.h"
6 6
7 #include <stddef.h>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #include "ppapi/c/pp_errors.h" 10 #include "ppapi/c/pp_errors.h"
9 #include "ppapi/host/host_factory.h" 11 #include "ppapi/host/host_factory.h"
10 #include "ppapi/host/host_message_context.h" 12 #include "ppapi/host/host_message_context.h"
11 #include "ppapi/host/instance_message_filter.h" 13 #include "ppapi/host/instance_message_filter.h"
12 #include "ppapi/host/resource_host.h" 14 #include "ppapi/host/resource_host.h"
13 #include "ppapi/proxy/ppapi_messages.h" 15 #include "ppapi/proxy/ppapi_messages.h"
14 #include "ppapi/proxy/resource_message_params.h" 16 #include "ppapi/proxy/resource_message_params.h"
15 #include "ppapi/proxy/serialized_handle.h" 17 #include "ppapi/proxy/serialized_handle.h"
16 #include "ppapi/shared_impl/host_resource.h" 18 #include "ppapi/shared_impl/host_resource.h"
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 resources_.erase(found); 278 resources_.erase(found);
277 } 279 }
278 280
279 ResourceHost* PpapiHost::GetResourceHost(PP_Resource resource) const { 281 ResourceHost* PpapiHost::GetResourceHost(PP_Resource resource) const {
280 ResourceMap::const_iterator found = resources_.find(resource); 282 ResourceMap::const_iterator found = resources_.find(resource);
281 return found == resources_.end() ? NULL : found->second.get(); 283 return found == resources_.end() ? NULL : found->second.get();
282 } 284 }
283 285
284 } // namespace host 286 } // namespace host
285 } // namespace ppapi 287 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/host/ppapi_host.h ('k') | ppapi/host/resource_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698