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 CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 virtual | 611 virtual |
612 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 612 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
613 const GURL& url); | 613 const GURL& url); |
614 #endif | 614 #endif |
615 | 615 |
616 // Returns true if plugin referred to by the url can use | 616 // Returns true if plugin referred to by the url can use |
617 // pp::FileIO::RequestOSFileHandle. | 617 // pp::FileIO::RequestOSFileHandle. |
618 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 618 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
619 content::BrowserContext* browser_context, | 619 content::BrowserContext* browser_context, |
620 const GURL& url); | 620 const GURL& url); |
| 621 |
| 622 // Returns true if dev channel APIs are available for plugins. |
| 623 virtual bool IsPluginAllowedToUseDevChannelAPIs(); |
621 }; | 624 }; |
622 | 625 |
623 } // namespace content | 626 } // namespace content |
624 | 627 |
625 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 628 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |