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

Unified Diff: components/nacl/browser/nacl_browser_delegate.h

Issue 264923011: Add a whitelist check for nacl-nonsfi mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add includes (windows compile fail) Created 6 years, 7 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 | « chrome/common/pepper_permission_util_unittest.cc ('k') | components/nacl/browser/nacl_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/browser/nacl_browser_delegate.h
diff --git a/components/nacl/browser/nacl_browser_delegate.h b/components/nacl/browser/nacl_browser_delegate.h
index 0e1c655a7b92fc161a7db7c8ae813673e0e83a86..bf23965709143709fc36fc8dab5acb8ac8964ac7 100644
--- a/components/nacl/browser/nacl_browser_delegate.h
+++ b/components/nacl/browser/nacl_browser_delegate.h
@@ -76,6 +76,10 @@ class NaClBrowserDelegate {
// Returns a callback that handles NaCl idle state transitions.
virtual content::BrowserPpapiHost::OnKeepaliveCallback
GetOnKeepaliveCallback() = 0;
+
+ // Returns whether Non-SFI mode is allowed for a given manifest URL.
+ virtual bool IsNonSfiModeAllowed(const base::FilePath& profile_directory,
+ const GURL& manifest_url) = 0;
};
#endif // COMPONENTS_NACL_BROWSER_NACL_BROWSER_DELEGATE_H_
« no previous file with comments | « chrome/common/pepper_permission_util_unittest.cc ('k') | components/nacl/browser/nacl_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698