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

Unified Diff: components/nacl/renderer/nexe_load_manager.h

Issue 356923002: Pepper: Move Pnacl init time out of trusted plugin. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/nacl/renderer/ppb_nacl_private_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/renderer/nexe_load_manager.h
diff --git a/components/nacl/renderer/nexe_load_manager.h b/components/nacl/renderer/nexe_load_manager.h
index 16a97296a48b42e5c94e7fa638271c1ca64fce2a..84ba0bf0bfb86c7fa965fea672a2dca849b8a106 100644
--- a/components/nacl/renderer/nexe_load_manager.h
+++ b/components/nacl/renderer/nexe_load_manager.h
@@ -104,6 +104,12 @@ class NexeLoadManager {
// Returns true if dev interfaces are enabled for this plugin.
bool DevInterfacesEnabled() const;
+ // Returns the time that the work for PNaCl translation began.
+ base::Time pnacl_start_time() const { return pnacl_start_time_; }
+ void set_pnacl_start_time(base::Time time) {
+ pnacl_start_time_ = time;
+ }
+
private:
DISALLOW_COPY_AND_ASSIGN(NexeLoadManager);
@@ -159,6 +165,8 @@ class NexeLoadManager {
// lowercase.
std::string mime_type_;
+ base::Time pnacl_start_time_;
+
scoped_ptr<TrustedPluginChannel> trusted_plugin_channel_;
scoped_ptr<ManifestServiceChannel> manifest_service_channel_;
base::WeakPtrFactory<NexeLoadManager> weak_factory_;
« no previous file with comments | « no previous file | components/nacl/renderer/ppb_nacl_private_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698