OLD | NEW |
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 22 matching lines...) Expand all Loading... |
33 | 33 |
34 std::string TestNaClBrowserDelegate::GetVersionString() const { | 34 std::string TestNaClBrowserDelegate::GetVersionString() const { |
35 return std::string(); | 35 return std::string(); |
36 } | 36 } |
37 | 37 |
38 ppapi::host::HostFactory* TestNaClBrowserDelegate::CreatePpapiHostFactory( | 38 ppapi::host::HostFactory* TestNaClBrowserDelegate::CreatePpapiHostFactory( |
39 content::BrowserPpapiHost* ppapi_host) { | 39 content::BrowserPpapiHost* ppapi_host) { |
40 return NULL; | 40 return NULL; |
41 } | 41 } |
42 | 42 |
43 bool TestNaClBrowserDelegate::MapUrlToLocalFilePath(const GURL& url, | 43 bool TestNaClBrowserDelegate::MapUrlToLocalFilePath( |
44 bool use_blocking_api, | 44 const GURL& url, |
45 base::FilePath* file_path) { | 45 bool use_blocking_api, |
| 46 const base::FilePath& profile_directory, |
| 47 base::FilePath* file_path) { |
46 return false; | 48 return false; |
47 } | 49 } |
48 | 50 |
49 void TestNaClBrowserDelegate::SetDebugPatterns(std::string debug_patterns) {} | 51 void TestNaClBrowserDelegate::SetDebugPatterns(std::string debug_patterns) {} |
50 | 52 |
51 bool TestNaClBrowserDelegate::URLMatchesDebugPatterns( | 53 bool TestNaClBrowserDelegate::URLMatchesDebugPatterns( |
52 const GURL& manifest_url) { | 54 const GURL& manifest_url) { |
53 return false; | 55 return false; |
54 } | 56 } |
55 | 57 |
56 content::BrowserPpapiHost::OnKeepaliveCallback | 58 content::BrowserPpapiHost::OnKeepaliveCallback |
57 TestNaClBrowserDelegate::GetOnKeepaliveCallback() { | 59 TestNaClBrowserDelegate::GetOnKeepaliveCallback() { |
58 return content::BrowserPpapiHost::OnKeepaliveCallback(); | 60 return content::BrowserPpapiHost::OnKeepaliveCallback(); |
59 } | 61 } |
OLD | NEW |