Chromium Code Reviews| 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 26 matching lines...) Expand all Loading... | |
| 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 { | 46 namespace crypto { |
| 47 class CryptoModuleBlockingPasswordDelegate; | 47 class NSSCryptoModuleDelegate; |
|
jam
2013/12/12 06:42:50
nit: not used
mattm
2013/12/12 21:49:18
Done.
| |
| 48 } | 48 } |
| 49 | 49 |
| 50 namespace gfx { | 50 namespace gfx { |
| 51 class ImageSkia; | 51 class ImageSkia; |
| 52 } | 52 } |
| 53 | 53 |
| 54 namespace net { | 54 namespace net { |
| 55 class CookieOptions; | 55 class CookieOptions; |
| 56 class HttpNetworkSession; | 56 class HttpNetworkSession; |
| 57 class NetLog; | 57 class NetLog; |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 598 // Returns the name of the dll that contains cursors and other resources. | 598 // Returns the name of the dll that contains cursors and other resources. |
| 599 virtual const wchar_t* GetResourceDllName(); | 599 virtual const wchar_t* GetResourceDllName(); |
| 600 | 600 |
| 601 // This is called on the PROCESS_LAUNCHER thread before the renderer process | 601 // 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 | 602 // is launched. It gives the embedder a chance to add loosen the sandbox |
| 603 // policy. | 603 // policy. |
| 604 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, | 604 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, |
| 605 bool* success) {} | 605 bool* success) {} |
| 606 #endif | 606 #endif |
| 607 | 607 |
| 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 | 608 // Returns true if plugin referred to by the url can use |
| 617 // pp::FileIO::RequestOSFileHandle. | 609 // pp::FileIO::RequestOSFileHandle. |
| 618 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 610 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
| 619 content::BrowserContext* browser_context, | 611 content::BrowserContext* browser_context, |
| 620 const GURL& url); | 612 const GURL& url); |
| 621 }; | 613 }; |
| 622 | 614 |
| 623 } // namespace content | 615 } // namespace content |
| 624 | 616 |
| 625 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 617 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |