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

Side by Side Diff: ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h

Issue 335343006: Pepper: Small cleanup in PNaClCoordinator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc » ('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 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PNACL_COORDINATOR_H_ 5 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PNACL_COORDINATOR_H_
6 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PNACL_COORDINATOR_H_ 6 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PNACL_COORDINATOR_H_
7 7
8 #include <set> 8 #include <set>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // Architecture-specific attributes used for translation. These are 175 // Architecture-specific attributes used for translation. These are
176 // supplied by Chrome, not the developer, and are therefore different 176 // supplied by Chrome, not the developer, and are therefore different
177 // from PNaCl options. 177 // from PNaCl options.
178 nacl::string architecture_attributes_; 178 nacl::string architecture_attributes_;
179 179
180 // Object file, produced by the translator and consumed by the linker. 180 // Object file, produced by the translator and consumed by the linker.
181 std::vector<TempFile*> obj_files_; 181 std::vector<TempFile*> obj_files_;
182 nacl::scoped_ptr<nacl::DescWrapper> invalid_desc_wrapper_; 182 nacl::scoped_ptr<nacl::DescWrapper> invalid_desc_wrapper_;
183 // Number of split modules (threads) for llc 183 // Number of split modules (threads) for llc
184 int split_module_count_; 184 int split_module_count_;
185 int num_object_files_opened_;
186 185
187 // Translated nexe file, produced by the linker. 186 // Translated nexe file, produced by the linker.
188 nacl::scoped_ptr<TempFile> temp_nexe_file_; 187 nacl::scoped_ptr<TempFile> temp_nexe_file_;
189 // Passed to the browser, which sets it to true if there is a translation 188 // Passed to the browser, which sets it to true if there is a translation
190 // cache hit. 189 // cache hit.
191 PP_Bool is_cache_hit_; 190 PP_Bool is_cache_hit_;
192 191
193 // Downloader for streaming translation 192 // Downloader for streaming translation
194 nacl::scoped_ptr<FileDownloader> streaming_downloader_; 193 nacl::scoped_ptr<FileDownloader> streaming_downloader_;
195 194
(...skipping 13 matching lines...) Expand all
209 // The helper thread used to do translations via SRPC. 208 // The helper thread used to do translations via SRPC.
210 // It accesses fields of PnaclCoordinator so it must have a 209 // It accesses fields of PnaclCoordinator so it must have a
211 // shorter lifetime. 210 // shorter lifetime.
212 nacl::scoped_ptr<PnaclTranslateThread> translate_thread_; 211 nacl::scoped_ptr<PnaclTranslateThread> translate_thread_;
213 }; 212 };
214 213
215 //---------------------------------------------------------------------- 214 //----------------------------------------------------------------------
216 215
217 } // namespace plugin; 216 } // namespace plugin;
218 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PNACL_COORDINATOR_H_ 217 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PNACL_COORDINATOR_H_
OLDNEW
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698