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

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: fix test 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
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 2cdff83dc4f67284a19ce71250ed0a4fa829e11d..97960d1a250aa06559160856f2e881dc5d75dc4f 100644
--- a/components/nacl/browser/nacl_browser_delegate.h
+++ b/components/nacl/browser/nacl_browser_delegate.h
@@ -75,6 +75,9 @@ 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 GURL& manifest_url) = 0;
};
#endif // COMPONENTS_NACL_BROWSER_NACL_BROWSER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698