| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_SHELL_BROWSER_SHELL_NACL_BROWSER_DELEGATE_H_ | 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_NACL_BROWSER_DELEGATE_H_ |
| 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_NACL_BROWSER_DELEGATE_H_ | 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_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 23 matching lines...) Expand all Loading... |
| 34 bool GetUserDirectory(base::FilePath* user_dir) override; | 34 bool GetUserDirectory(base::FilePath* user_dir) override; |
| 35 std::string GetVersionString() const override; | 35 std::string GetVersionString() const override; |
| 36 ppapi::host::HostFactory* CreatePpapiHostFactory( | 36 ppapi::host::HostFactory* CreatePpapiHostFactory( |
| 37 content::BrowserPpapiHost* ppapi_host) override; | 37 content::BrowserPpapiHost* ppapi_host) override; |
| 38 bool MapUrlToLocalFilePath(const GURL& url, | 38 bool MapUrlToLocalFilePath(const GURL& url, |
| 39 bool is_blocking, | 39 bool is_blocking, |
| 40 const base::FilePath& profile_directory, | 40 const base::FilePath& profile_directory, |
| 41 base::FilePath* file_path) override; | 41 base::FilePath* file_path) override; |
| 42 void SetDebugPatterns(const std::string& debug_patterns) override; | 42 void SetDebugPatterns(const std::string& debug_patterns) override; |
| 43 bool URLMatchesDebugPatterns(const GURL& manifest_url) override; | 43 bool URLMatchesDebugPatterns(const GURL& manifest_url) override; |
| 44 content::BrowserPpapiHost::OnKeepaliveCallback GetOnKeepaliveCallback() | |
| 45 override; | |
| 46 bool IsNonSfiModeAllowed(const base::FilePath& profile_directory, | 44 bool IsNonSfiModeAllowed(const base::FilePath& profile_directory, |
| 47 const GURL& manifest_url) override; | 45 const GURL& manifest_url) override; |
| 48 | 46 |
| 49 private: | 47 private: |
| 50 content::BrowserContext* browser_context_; // Not owned. | 48 content::BrowserContext* browser_context_; // Not owned. |
| 51 | 49 |
| 52 DISALLOW_COPY_AND_ASSIGN(ShellNaClBrowserDelegate); | 50 DISALLOW_COPY_AND_ASSIGN(ShellNaClBrowserDelegate); |
| 53 }; | 51 }; |
| 54 | 52 |
| 55 } // namespace extensions | 53 } // namespace extensions |
| 56 | 54 |
| 57 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_NACL_BROWSER_DELEGATE_H_ | 55 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_NACL_BROWSER_DELEGATE_H_ |
| OLD | NEW |