| 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; |
| 53 class HttpNetworkSession; | 54 class HttpNetworkSession; |
| 54 class NetLog; | 55 class NetLog; |
| 55 class SSLCertRequestInfo; | 56 class SSLCertRequestInfo; |
| 56 class SSLInfo; | 57 class SSLInfo; |
| 57 class URLRequest; | 58 class URLRequest; |
| 58 class URLRequestContext; | 59 class URLRequestContext; |
| 59 class URLRequestContextGetter; | 60 class URLRequestContextGetter; |
| 60 class X509Certificate; | 61 class X509Certificate; |
| 61 } | 62 } |
| 62 | 63 |
| (...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 #endif | 613 #endif |
| 613 | 614 |
| 614 // Returns true if plugin referred to by the url can use | 615 // Returns true if plugin referred to by the url can use |
| 615 // pp::FileIO::RequestOSFileHandle. | 616 // pp::FileIO::RequestOSFileHandle. |
| 616 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 617 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
| 617 content::BrowserContext* browser_context, | 618 content::BrowserContext* browser_context, |
| 618 const GURL& url); | 619 const GURL& url); |
| 619 | 620 |
| 620 // Returns true if dev channel APIs are available for plugins. | 621 // Returns true if dev channel APIs are available for plugins. |
| 621 virtual bool IsPluginAllowedToUseDevChannelAPIs(); | 622 virtual bool IsPluginAllowedToUseDevChannelAPIs(); |
| 623 |
| 624 // Returns a special cookie store to use for a given render process, or NULL |
| 625 // if the default cookie store should be used |
| 626 // This is called on the IO thread. |
| 627 virtual net::CookieStore* OverrideCookieStoreForRenderProcess( |
| 628 int render_process_id_); |
| 622 }; | 629 }; |
| 623 | 630 |
| 624 } // namespace content | 631 } // namespace content |
| 625 | 632 |
| 626 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 633 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |