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

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

Issue 12623004: Allow PNaCl NMF to set translator optimization options for experimentation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Default to -O0 instead of the default for now Created 7 years, 9 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
OLDNEW
1 /* -*- c++ -*- */ 1 /* -*- c++ -*- */
2 /* 2 /*
3 * Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 * Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 // A class containing information regarding a socket connection to a 8 // A class containing information regarding a socket connection to a
9 // service runtime instance. 9 // service runtime instance.
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 struct OpenManifestEntryResource { 63 struct OpenManifestEntryResource {
64 public: 64 public:
65 OpenManifestEntryResource(const std::string& target_url, 65 OpenManifestEntryResource(const std::string& target_url,
66 int32_t* descp, 66 int32_t* descp,
67 ErrorInfo* infop, 67 ErrorInfo* infop,
68 bool* op_complete) 68 bool* op_complete)
69 : url(target_url), 69 : url(target_url),
70 out_desc(descp), 70 out_desc(descp),
71 error_info(infop), 71 error_info(infop),
72 pnacl_translate(false),
73 op_complete_ptr(op_complete) {} 72 op_complete_ptr(op_complete) {}
74 std::string url; 73 std::string url;
75 int32_t* out_desc; 74 int32_t* out_desc;
76 ErrorInfo* error_info; 75 ErrorInfo* error_info;
77 bool pnacl_translate;
78 bool* op_complete_ptr; 76 bool* op_complete_ptr;
79 }; 77 };
80 78
81 struct CloseManifestEntryResource { 79 struct CloseManifestEntryResource {
82 public: 80 public:
83 CloseManifestEntryResource(int32_t desc_to_close, 81 CloseManifestEntryResource(int32_t desc_to_close,
84 bool* op_complete, 82 bool* op_complete,
85 bool* op_result) 83 bool* op_result)
86 : desc(desc_to_close), 84 : desc(desc_to_close),
87 op_complete_ptr(op_complete), 85 op_complete_ptr(op_complete),
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 275
278 PluginReverseInterface* rev_interface_; 276 PluginReverseInterface* rev_interface_;
279 277
280 NaClMutex mu_; 278 NaClMutex mu_;
281 int exit_status_; 279 int exit_status_;
282 }; 280 };
283 281
284 } // namespace plugin 282 } // namespace plugin
285 283
286 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SERVICE_RUNTIME_H_ 284 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SERVICE_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698