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

Side by Side 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: feedback, add a 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef COMPONENTS_NACL_BROWSER_NACL_BROWSER_DELEGATE_H_ 5 #ifndef COMPONENTS_NACL_BROWSER_NACL_BROWSER_DELEGATE_H_
6 #define COMPONENTS_NACL_BROWSER_NACL_BROWSER_DELEGATE_H_ 6 #define COMPONENTS_NACL_BROWSER_NACL_BROWSER_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 base::FilePath* file_path) = 0; 68 base::FilePath* file_path) = 0;
69 // Set match patterns which will be checked before enabling debug stub. 69 // Set match patterns which will be checked before enabling debug stub.
70 virtual void SetDebugPatterns(std::string debug_patterns) = 0; 70 virtual void SetDebugPatterns(std::string debug_patterns) = 0;
71 71
72 // Returns whether NaCl application with this manifest URL should be debugged. 72 // Returns whether NaCl application with this manifest URL should be debugged.
73 virtual bool URLMatchesDebugPatterns(const GURL& manifest_url) = 0; 73 virtual bool URLMatchesDebugPatterns(const GURL& manifest_url) = 0;
74 74
75 // Returns a callback that handles NaCl idle state transitions. 75 // Returns a callback that handles NaCl idle state transitions.
76 virtual content::BrowserPpapiHost::OnKeepaliveCallback 76 virtual content::BrowserPpapiHost::OnKeepaliveCallback
77 GetOnKeepaliveCallback() = 0; 77 GetOnKeepaliveCallback() = 0;
78
79 // Returns whether Non-SFI mode is allowed for a given manifest URL.
80 virtual bool IsNonSfiModeAllowed(const GURL& manifest_url) = 0;
78 }; 81 };
79 82
80 #endif // COMPONENTS_NACL_BROWSER_NACL_BROWSER_DELEGATE_H_ 83 #endif // COMPONENTS_NACL_BROWSER_NACL_BROWSER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698