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 IsPluginAllowedToUseDevChannelAPIs() OVERRIDE; |
| 276 |
275 private: | 277 private: |
276 #if defined(ENABLE_PLUGINS) | 278 #if defined(ENABLE_PLUGINS) |
277 // Set of origins that can use TCP/UDP private APIs from NaCl. | 279 // Set of origins that can use TCP/UDP private APIs from NaCl. |
278 std::set<std::string> allowed_socket_origins_; | 280 std::set<std::string> allowed_socket_origins_; |
279 // Set of origins that can get a handle for FileIO from NaCl. | 281 // Set of origins that can get a handle for FileIO from NaCl. |
280 std::set<std::string> allowed_file_handle_origins_; | 282 std::set<std::string> allowed_file_handle_origins_; |
281 #endif | 283 #endif |
282 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> | 284 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> |
283 permissions_policy_delegate_; | 285 permissions_policy_delegate_; |
284 | 286 |
285 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 287 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
286 }; | 288 }; |
287 | 289 |
288 } // namespace chrome | 290 } // namespace chrome |
289 | 291 |
290 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 292 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |