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

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

Issue 1569283002: NaCl cleanup: Remove SrpcParams and SrpcClient, which are unused now (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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_coordinator.h" 5 #include "components/nacl/renderer/plugin/pnacl_coordinator.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <sstream> 8 #include <sstream>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 PnaclCoordinator::PnaclCoordinator( 89 PnaclCoordinator::PnaclCoordinator(
90 Plugin* plugin, 90 Plugin* plugin,
91 const std::string& pexe_url, 91 const std::string& pexe_url,
92 const PP_PNaClOptions& pnacl_options, 92 const PP_PNaClOptions& pnacl_options,
93 const pp::CompletionCallback& translate_notify_callback) 93 const pp::CompletionCallback& translate_notify_callback)
94 : translate_finish_error_(PP_OK), 94 : translate_finish_error_(PP_OK),
95 plugin_(plugin), 95 plugin_(plugin),
96 translate_notify_callback_(translate_notify_callback), 96 translate_notify_callback_(translate_notify_callback),
97 translation_finished_reported_(false), 97 translation_finished_reported_(false),
98 compiler_subprocess_("compiler.nexe", NULL, NULL), 98 compiler_subprocess_("compiler.nexe", NULL),
99 ld_subprocess_("linker.nexe", NULL, NULL), 99 ld_subprocess_("linker.nexe", NULL),
100 pexe_url_(pexe_url), 100 pexe_url_(pexe_url),
101 pnacl_options_(pnacl_options), 101 pnacl_options_(pnacl_options),
102 architecture_attributes_(GetArchitectureAttributes(plugin)), 102 architecture_attributes_(GetArchitectureAttributes(plugin)),
103 split_module_count_(0), 103 split_module_count_(0),
104 num_threads_(0), 104 num_threads_(0),
105 error_already_reported_(false), 105 error_already_reported_(false),
106 pexe_size_(0), 106 pexe_size_(0),
107 pexe_bytes_compiled_(0), 107 pexe_bytes_compiled_(0),
108 expected_pexe_size_(-1) { 108 expected_pexe_size_(-1) {
109 callback_factory_.Initialize(this); 109 callback_factory_.Initialize(this);
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 "PnaclCoordinator: Linker process could not be created."); 485 "PnaclCoordinator: Linker process could not be created.");
486 return; 486 return;
487 } 487 }
488 GetNaClInterface()->LogTranslateTime( 488 GetNaClInterface()->LogTranslateTime(
489 "NaCl.Perf.PNaClLoadTime.LoadLinker", 489 "NaCl.Perf.PNaClLoadTime.LoadLinker",
490 NaClGetTimeOfDayMicroseconds() - ld_load_start_time); 490 NaClGetTimeOfDayMicroseconds() - ld_load_start_time);
491 translate_thread_->RunLink(); 491 translate_thread_->RunLink();
492 } 492 }
493 493
494 } // namespace plugin 494 } // namespace plugin
OLDNEW
« no previous file with comments | « components/nacl/renderer/plugin/pnacl_coordinator.h ('k') | components/nacl/renderer/plugin/service_runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698