Fix experimental app list search box disappearing on profile switch.
[chromium-blink-merge.git] / components / nacl / browser / test_nacl_browser_delegate.cc
blob3dbb7e1050b3f73d6290f726c975546a79d836b0
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() {
15 return false;
18 bool TestNaClBrowserDelegate::GetCacheDirectory(base::FilePath* cache_dir) {
19 return false;
22 bool TestNaClBrowserDelegate::GetPluginDirectory(base::FilePath* plugin_dir) {
23 return false;
26 bool TestNaClBrowserDelegate::GetPnaclDirectory(base::FilePath* pnacl_dir) {
27 return false;
30 bool TestNaClBrowserDelegate::GetUserDirectory(base::FilePath* user_dir) {
31 return false;
34 std::string TestNaClBrowserDelegate::GetVersionString() const {
35 return std::string();
38 ppapi::host::HostFactory* TestNaClBrowserDelegate::CreatePpapiHostFactory(
39 content::BrowserPpapiHost* ppapi_host) {
40 return NULL;
43 bool TestNaClBrowserDelegate::MapUrlToLocalFilePath(
44 const GURL& url,
45 bool use_blocking_api,
46 const base::FilePath& profile_directory,
47 base::FilePath* file_path) {
48 return false;
51 void TestNaClBrowserDelegate::SetDebugPatterns(
52 const std::string& debug_patterns) {}
54 bool TestNaClBrowserDelegate::URLMatchesDebugPatterns(
55 const GURL& manifest_url) {
56 return false;
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) {
67 return false;