| 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 30 matching lines...) Expand all Loading... |
| 41 } | 41 } |
| 42 | 42 |
| 43 bool TestNaClBrowserDelegate::MapUrlToLocalFilePath( | 43 bool TestNaClBrowserDelegate::MapUrlToLocalFilePath( |
| 44 const GURL& url, | 44 const GURL& url, |
| 45 bool use_blocking_api, | 45 bool use_blocking_api, |
| 46 const base::FilePath& profile_directory, | 46 const base::FilePath& profile_directory, |
| 47 base::FilePath* file_path) { | 47 base::FilePath* file_path) { |
| 48 return false; | 48 return false; |
| 49 } | 49 } |
| 50 | 50 |
| 51 void TestNaClBrowserDelegate::SetDebugPatterns(std::string debug_patterns) {} | 51 void TestNaClBrowserDelegate::SetDebugPatterns( |
| 52 const std::string& debug_patterns) {} |
| 52 | 53 |
| 53 bool TestNaClBrowserDelegate::URLMatchesDebugPatterns( | 54 bool TestNaClBrowserDelegate::URLMatchesDebugPatterns( |
| 54 const GURL& manifest_url) { | 55 const GURL& manifest_url) { |
| 55 return false; | 56 return false; |
| 56 } | 57 } |
| 57 | 58 |
| 58 content::BrowserPpapiHost::OnKeepaliveCallback | 59 content::BrowserPpapiHost::OnKeepaliveCallback |
| 59 TestNaClBrowserDelegate::GetOnKeepaliveCallback() { | 60 TestNaClBrowserDelegate::GetOnKeepaliveCallback() { |
| 60 return content::BrowserPpapiHost::OnKeepaliveCallback(); | 61 return content::BrowserPpapiHost::OnKeepaliveCallback(); |
| 61 } | 62 } |
| 62 | 63 |
| 63 bool TestNaClBrowserDelegate::IsNonSfiModeAllowed( | 64 bool TestNaClBrowserDelegate::IsNonSfiModeAllowed( |
| 64 const base::FilePath& profile_directory, | 65 const base::FilePath& profile_directory, |
| 65 const GURL& manifest_url) { | 66 const GURL& manifest_url) { |
| 66 return false; | 67 return false; |
| 67 } | 68 } |
| OLD | NEW |