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 CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_ | 5 #ifndef CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_ |
6 #define CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_ | 6 #define CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 const base::FilePath& profile_directory, | 38 const base::FilePath& profile_directory, |
39 base::FilePath* file_path) OVERRIDE; | 39 base::FilePath* file_path) OVERRIDE; |
40 virtual void SetDebugPatterns(std::string debug_patterns) OVERRIDE; | 40 virtual void SetDebugPatterns(std::string debug_patterns) OVERRIDE; |
41 virtual bool URLMatchesDebugPatterns(const GURL& manifest_url) OVERRIDE; | 41 virtual bool URLMatchesDebugPatterns(const GURL& manifest_url) OVERRIDE; |
42 virtual content::BrowserPpapiHost::OnKeepaliveCallback | 42 virtual content::BrowserPpapiHost::OnKeepaliveCallback |
43 GetOnKeepaliveCallback() OVERRIDE; | 43 GetOnKeepaliveCallback() OVERRIDE; |
44 virtual bool IsNonSfiModeAllowed(const base::FilePath& profile_directory, | 44 virtual bool IsNonSfiModeAllowed(const base::FilePath& profile_directory, |
45 const GURL& manifest_url) OVERRIDE; | 45 const GURL& manifest_url) OVERRIDE; |
46 | 46 |
47 private: | 47 private: |
| 48 #if defined(ENABLE_EXTENSIONS) |
48 scoped_refptr<extensions::InfoMap> GetExtensionInfoMap( | 49 scoped_refptr<extensions::InfoMap> GetExtensionInfoMap( |
49 const base::FilePath& profile_directory); | 50 const base::FilePath& profile_directory); |
| 51 #endif |
| 52 |
50 ProfileManager* profile_manager_; | 53 ProfileManager* profile_manager_; |
51 std::vector<URLPattern> debug_patterns_; | 54 std::vector<URLPattern> debug_patterns_; |
52 bool inverse_debug_patterns_; | 55 bool inverse_debug_patterns_; |
53 std::set<std::string> allowed_nonsfi_origins_; | 56 std::set<std::string> allowed_nonsfi_origins_; |
54 DISALLOW_COPY_AND_ASSIGN(NaClBrowserDelegateImpl); | 57 DISALLOW_COPY_AND_ASSIGN(NaClBrowserDelegateImpl); |
55 }; | 58 }; |
56 | 59 |
57 | 60 |
58 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_ | 61 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_ |
OLD | NEW |