| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 class DictionaryValue; | 43 class DictionaryValue; |
| 44 class FilePath; | 44 class FilePath; |
| 45 } | 45 } |
| 46 | 46 |
| 47 namespace gfx { | 47 namespace gfx { |
| 48 class ImageSkia; | 48 class ImageSkia; |
| 49 } | 49 } |
| 50 | 50 |
| 51 namespace net { | 51 namespace net { |
| 52 class CookieOptions; | 52 class CookieOptions; |
| 53 class CookieStore; | |
| 54 class HttpNetworkSession; | 53 class HttpNetworkSession; |
| 55 class NetLog; | 54 class NetLog; |
| 56 class SSLCertRequestInfo; | 55 class SSLCertRequestInfo; |
| 57 class SSLInfo; | 56 class SSLInfo; |
| 58 class URLRequest; | 57 class URLRequest; |
| 59 class URLRequestContext; | 58 class URLRequestContext; |
| 60 class URLRequestContextGetter; | 59 class URLRequestContextGetter; |
| 61 class X509Certificate; | 60 class X509Certificate; |
| 62 } | 61 } |
| 63 | 62 |
| (...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 #endif | 618 #endif |
| 620 | 619 |
| 621 // Returns true if plugin referred to by the url can use | 620 // Returns true if plugin referred to by the url can use |
| 622 // pp::FileIO::RequestOSFileHandle. | 621 // pp::FileIO::RequestOSFileHandle. |
| 623 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 622 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
| 624 content::BrowserContext* browser_context, | 623 content::BrowserContext* browser_context, |
| 625 const GURL& url); | 624 const GURL& url); |
| 626 | 625 |
| 627 // Returns true if dev channel APIs are available for plugins. | 626 // Returns true if dev channel APIs are available for plugins. |
| 628 virtual bool IsPluginAllowedToUseDevChannelAPIs(); | 627 virtual bool IsPluginAllowedToUseDevChannelAPIs(); |
| 629 | |
| 630 // Returns a special cookie store to use for a given render process, or NULL | |
| 631 // if the default cookie store should be used | |
| 632 // This is called on the IO thread. | |
| 633 virtual net::CookieStore* OverrideCookieStoreForRenderProcess( | |
| 634 int render_process_id_); | |
| 635 }; | 628 }; |
| 636 | 629 |
| 637 } // namespace content | 630 } // namespace content |
| 638 | 631 |
| 639 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 632 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |