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
3 // found in the LICENSE file.
5 #include "components/nacl/browser/test_nacl_browser_delegate.h"
7 TestNaClBrowserDelegate::TestNaClBrowserDelegate() {}
9 TestNaClBrowserDelegate::~TestNaClBrowserDelegate() {}
11 void TestNaClBrowserDelegate::ShowMissingArchInfobar(int render_process_id
,
12 int render_view_id
) {}
14 bool TestNaClBrowserDelegate::DialogsAreSuppressed() {
18 bool TestNaClBrowserDelegate::GetCacheDirectory(base::FilePath
* cache_dir
) {
22 bool TestNaClBrowserDelegate::GetPluginDirectory(base::FilePath
* plugin_dir
) {
26 bool TestNaClBrowserDelegate::GetPnaclDirectory(base::FilePath
* pnacl_dir
) {
30 bool TestNaClBrowserDelegate::GetUserDirectory(base::FilePath
* user_dir
) {
34 std::string
TestNaClBrowserDelegate::GetVersionString() const {
38 ppapi::host::HostFactory
* TestNaClBrowserDelegate::CreatePpapiHostFactory(
39 content::BrowserPpapiHost
* ppapi_host
) {
43 bool TestNaClBrowserDelegate::MapUrlToLocalFilePath(
45 bool use_blocking_api
,
46 const base::FilePath
& profile_directory
,
47 base::FilePath
* file_path
) {
51 void TestNaClBrowserDelegate::SetDebugPatterns(
52 const std::string
& debug_patterns
) {}
54 bool TestNaClBrowserDelegate::URLMatchesDebugPatterns(
55 const GURL
& manifest_url
) {
59 content::BrowserPpapiHost::OnKeepaliveCallback
60 TestNaClBrowserDelegate::GetOnKeepaliveCallback() {
61 return content::BrowserPpapiHost::OnKeepaliveCallback();
64 bool TestNaClBrowserDelegate::IsNonSfiModeAllowed(
65 const base::FilePath
& profile_directory
,
66 const GURL
& manifest_url
) {