| 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 #ifndef COMPONENTS_NACL_BROWSER_TEST_NACL_BROWSER_DELEGATE_H_ | 5 #ifndef COMPONENTS_NACL_BROWSER_TEST_NACL_BROWSER_DELEGATE_H_ |
| 6 #define COMPONENTS_NACL_BROWSER_TEST_NACL_BROWSER_DELEGATE_H_ | 6 #define COMPONENTS_NACL_BROWSER_TEST_NACL_BROWSER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "components/nacl/browser/nacl_browser_delegate.h" | 10 #include "components/nacl/browser/nacl_browser_delegate.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 bool GetUserDirectory(base::FilePath* user_dir) override; | 31 bool GetUserDirectory(base::FilePath* user_dir) override; |
| 32 std::string GetVersionString() const override; | 32 std::string GetVersionString() const override; |
| 33 ppapi::host::HostFactory* CreatePpapiHostFactory( | 33 ppapi::host::HostFactory* CreatePpapiHostFactory( |
| 34 content::BrowserPpapiHost* ppapi_host) override; | 34 content::BrowserPpapiHost* ppapi_host) override; |
| 35 bool MapUrlToLocalFilePath(const GURL& url, | 35 bool MapUrlToLocalFilePath(const GURL& url, |
| 36 bool use_blocking_api, | 36 bool use_blocking_api, |
| 37 const base::FilePath& profile_directory, | 37 const base::FilePath& profile_directory, |
| 38 base::FilePath* file_path) override; | 38 base::FilePath* file_path) override; |
| 39 void SetDebugPatterns(const std::string& debug_patterns) override; | 39 void SetDebugPatterns(const std::string& debug_patterns) override; |
| 40 bool URLMatchesDebugPatterns(const GURL& manifest_url) override; | 40 bool URLMatchesDebugPatterns(const GURL& manifest_url) override; |
| 41 content::BrowserPpapiHost::OnKeepaliveCallback GetOnKeepaliveCallback() | |
| 42 override; | |
| 43 bool IsNonSfiModeAllowed(const base::FilePath& profile_directory, | 41 bool IsNonSfiModeAllowed(const base::FilePath& profile_directory, |
| 44 const GURL& manifest_url) override; | 42 const GURL& manifest_url) override; |
| 45 | 43 |
| 46 private: | 44 private: |
| 47 DISALLOW_COPY_AND_ASSIGN(TestNaClBrowserDelegate); | 45 DISALLOW_COPY_AND_ASSIGN(TestNaClBrowserDelegate); |
| 48 }; | 46 }; |
| 49 | 47 |
| 50 #endif // COMPONENTS_NACL_BROWSER_TEST_NACL_BROWSER_DELEGATE_H_ | 48 #endif // COMPONENTS_NACL_BROWSER_TEST_NACL_BROWSER_DELEGATE_H_ |
| OLD | NEW |