| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 #if defined(USE_NSS) | 265 #if defined(USE_NSS) |
| 266 virtual | 266 virtual |
| 267 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 267 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
| 268 const GURL& url) OVERRIDE; | 268 const GURL& url) OVERRIDE; |
| 269 #endif | 269 #endif |
| 270 | 270 |
| 271 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 271 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
| 272 content::BrowserContext* browser_context, | 272 content::BrowserContext* browser_context, |
| 273 const GURL& url) OVERRIDE; | 273 const GURL& url) OVERRIDE; |
| 274 | 274 |
| 275 virtual bool AllowWebGLDebugRendererInfoForDomain( |
| 276 const GURL& url) const OVERRIDE; |
| 277 |
| 275 private: | 278 private: |
| 276 #if defined(ENABLE_PLUGINS) | 279 #if defined(ENABLE_PLUGINS) |
| 277 // Set of origins that can use TCP/UDP private APIs from NaCl. | 280 // Set of origins that can use TCP/UDP private APIs from NaCl. |
| 278 std::set<std::string> allowed_socket_origins_; | 281 std::set<std::string> allowed_socket_origins_; |
| 279 // Set of origins that can get a handle for FileIO from NaCl. | 282 // Set of origins that can get a handle for FileIO from NaCl. |
| 280 std::set<std::string> allowed_file_handle_origins_; | 283 std::set<std::string> allowed_file_handle_origins_; |
| 281 #endif | 284 #endif |
| 282 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> | 285 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> |
| 283 permissions_policy_delegate_; | 286 permissions_policy_delegate_; |
| 284 | 287 |
| 285 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 288 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 286 }; | 289 }; |
| 287 | 290 |
| 288 } // namespace chrome | 291 } // namespace chrome |
| 289 | 292 |
| 290 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 293 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |