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

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

Issue 807193006: Remove nonsfi token workaround. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
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 8a816900f473e8d206819222f1144e5d4adcf122..bdfab839d44167318aa10d049b508935b981c6b0 100644
--- a/components/nacl/renderer/nexe_load_manager.h
+++ b/components/nacl/renderer/nexe_load_manager.h
@@ -121,6 +121,9 @@ class NexeLoadManager {
crash_info_shmem_handle_ = h;
}
+ bool nonsfi() const { return nonsfi_; }
+ void set_nonsfi(bool nonsfi) { nonsfi_ = nonsfi; }
+
private:
DISALLOW_COPY_AND_ASSIGN(NexeLoadManager);
@@ -182,6 +185,9 @@ class NexeLoadManager {
base::Time pnacl_start_time_;
+ // A flag that indicates if the plugin is using Non-SFI mode.
+ bool nonsfi_;
+
base::SharedMemoryHandle crash_info_shmem_handle_;
scoped_ptr<TrustedPluginChannel> trusted_plugin_channel_;
« no previous file with comments | « no previous file | components/nacl/renderer/nexe_load_manager.cc » ('j') | components/nacl/renderer/ppb_nacl_private_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698