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

Side by Side Diff: components/nacl/browser/test_nacl_browser_delegate.cc

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 #include "components/nacl/browser/test_nacl_browser_delegate.h" 5 #include "components/nacl/browser/test_nacl_browser_delegate.h"
6 6
7 TestNaClBrowserDelegate::TestNaClBrowserDelegate() {} 7 TestNaClBrowserDelegate::TestNaClBrowserDelegate() {}
8 8
9 TestNaClBrowserDelegate::~TestNaClBrowserDelegate() {} 9 TestNaClBrowserDelegate::~TestNaClBrowserDelegate() {}
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 bool TestNaClBrowserDelegate::URLMatchesDebugPatterns( 51 bool TestNaClBrowserDelegate::URLMatchesDebugPatterns(
52 const GURL& manifest_url) { 52 const GURL& manifest_url) {
53 return false; 53 return false;
54 } 54 }
55 55
56 content::BrowserPpapiHost::OnKeepaliveCallback 56 content::BrowserPpapiHost::OnKeepaliveCallback
57 TestNaClBrowserDelegate::GetOnKeepaliveCallback() { 57 TestNaClBrowserDelegate::GetOnKeepaliveCallback() {
58 return content::BrowserPpapiHost::OnKeepaliveCallback(); 58 return content::BrowserPpapiHost::OnKeepaliveCallback();
59 } 59 }
60
61 bool TestNaClBrowserDelegate::IsNonSfiModeAllowed(const GURL& manifest_url) {
62 return false;
63 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698