| 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 25 matching lines...) Expand all Loading... |
| 36 struct WebPreferences; | 36 struct WebPreferences; |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 struct WebWindowFeatures; | 39 struct WebWindowFeatures; |
| 40 } | 40 } |
| 41 | 41 |
| 42 namespace base { | 42 namespace base { |
| 43 class DictionaryValue; | 43 class DictionaryValue; |
| 44 class FilePath; | 44 class FilePath; |
| 45 } | 45 } |
| 46 namespace crypto { | |
| 47 class CryptoModuleBlockingPasswordDelegate; | |
| 48 } | |
| 49 | 46 |
| 50 namespace gfx { | 47 namespace gfx { |
| 51 class ImageSkia; | 48 class ImageSkia; |
| 52 } | 49 } |
| 53 | 50 |
| 54 namespace net { | 51 namespace net { |
| 55 class CookieOptions; | 52 class CookieOptions; |
| 56 class HttpNetworkSession; | 53 class HttpNetworkSession; |
| 57 class NetLog; | 54 class NetLog; |
| 58 class SSLCertRequestInfo; | 55 class SSLCertRequestInfo; |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 // Returns the name of the dll that contains cursors and other resources. | 595 // Returns the name of the dll that contains cursors and other resources. |
| 599 virtual const wchar_t* GetResourceDllName(); | 596 virtual const wchar_t* GetResourceDllName(); |
| 600 | 597 |
| 601 // This is called on the PROCESS_LAUNCHER thread before the renderer process | 598 // This is called on the PROCESS_LAUNCHER thread before the renderer process |
| 602 // is launched. It gives the embedder a chance to add loosen the sandbox | 599 // is launched. It gives the embedder a chance to add loosen the sandbox |
| 603 // policy. | 600 // policy. |
| 604 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, | 601 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, |
| 605 bool* success) {} | 602 bool* success) {} |
| 606 #endif | 603 #endif |
| 607 | 604 |
| 608 #if defined(USE_NSS) | |
| 609 // Return a delegate to authenticate and unlock |module|. | |
| 610 // This is called on a worker thread. | |
| 611 virtual | |
| 612 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | |
| 613 const GURL& url); | |
| 614 #endif | |
| 615 | |
| 616 // Returns true if plugin referred to by the url can use | 605 // Returns true if plugin referred to by the url can use |
| 617 // pp::FileIO::RequestOSFileHandle. | 606 // pp::FileIO::RequestOSFileHandle. |
| 618 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 607 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
| 619 content::BrowserContext* browser_context, | 608 content::BrowserContext* browser_context, |
| 620 const GURL& url); | 609 const GURL& url); |
| 621 }; | 610 }; |
| 622 | 611 |
| 623 } // namespace content | 612 } // namespace content |
| 624 | 613 |
| 625 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 614 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |