OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #include "components/nacl/common/test_nacl_browser_delegate.h" | |
6 | |
7 TestNaClBrowserDelegate::TestNaClBrowserDelegate() {} | |
8 | |
9 TestNaClBrowserDelegate::~TestNaClBrowserDelegate() {} | |
10 | |
11 void TestNaClBrowserDelegate::ShowNaClInfobar(int render_process_id, | |
12 int render_view_id, | |
13 int error_id) {} | |
14 | |
15 bool TestNaClBrowserDelegate::DialogsAreSuppressed() { | |
16 return false; | |
17 } | |
18 | |
19 bool TestNaClBrowserDelegate::GetCacheDirectory(base::FilePath* cache_dir) { | |
20 return false; | |
21 } | |
22 | |
23 bool TestNaClBrowserDelegate::GetPluginDirectory(base::FilePath* plugin_dir) { | |
24 return false; | |
25 } | |
26 | |
27 bool TestNaClBrowserDelegate::GetPnaclDirectory(base::FilePath* pnacl_dir) { | |
28 return false; | |
29 } | |
30 | |
31 bool TestNaClBrowserDelegate::GetUserDirectory(base::FilePath* user_dir) { | |
32 return false; | |
33 } | |
34 | |
35 std::string TestNaClBrowserDelegate::GetVersionString() const { | |
36 return std::string(); | |
37 } | |
38 | |
39 ppapi::host::HostFactory* TestNaClBrowserDelegate::CreatePpapiHostFactory( | |
40 content::BrowserPpapiHost* ppapi_host) { | |
41 return NULL; | |
42 } | |
43 | |
44 bool TestNaClBrowserDelegate::MapUrlToLocalFilePath(const GURL& url, | |
45 bool use_blocking_api, | |
46 base::FilePath* file_path) { | |
47 return false; | |
48 } | |
49 | |
50 void TestNaClBrowserDelegate::SetDebugPatterns(std::string debug_patterns) {} | |
51 | |
52 bool TestNaClBrowserDelegate::URLMatchesDebugPatterns( | |
53 const GURL& manifest_url) { | |
54 return false; | |
55 } | |
OLD | NEW |