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

Side by Side Diff: components/nacl/renderer/plugin/pnacl_resources.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 11 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
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 "components/nacl/renderer/plugin/pnacl_resources.h" 5 #include "components/nacl/renderer/plugin/pnacl_resources.h"
6 6
7 #include <stddef.h>
8
7 #include <vector> 9 #include <vector>
8 10
9 #include "base/logging.h" 11 #include "base/logging.h"
10 #include "components/nacl/renderer/plugin/plugin.h" 12 #include "components/nacl/renderer/plugin/plugin.h"
11 #include "components/nacl/renderer/plugin/utility.h" 13 #include "components/nacl/renderer/plugin/utility.h"
12 #include "native_client/src/include/portability_io.h" 14 #include "native_client/src/include/portability_io.h"
13 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" 15 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h"
14 #include "ppapi/c/pp_errors.h" 16 #include "ppapi/c/pp_errors.h"
15 17
16 namespace plugin { 18 namespace plugin {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 for (ResourceType t : to_load) { 93 for (ResourceType t : to_load) {
92 plugin_->nacl_interface()->GetReadExecPnaclFd( 94 plugin_->nacl_interface()->GetReadExecPnaclFd(
93 resources_[t].tool_name.c_str(), &resources_[t].file_info); 95 resources_[t].tool_name.c_str(), &resources_[t].file_info);
94 all_valid = 96 all_valid =
95 all_valid && resources_[t].file_info.handle != PP_kInvalidFileHandle; 97 all_valid && resources_[t].file_info.handle != PP_kInvalidFileHandle;
96 } 98 }
97 return all_valid; 99 return all_valid;
98 } 100 }
99 101
100 } // namespace plugin 102 } // namespace plugin
OLDNEW
« no previous file with comments | « components/nacl/renderer/plugin/pnacl_resources.h ('k') | components/nacl/renderer/plugin/pnacl_translate_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698