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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 #endif | 619 #endif |
619 | 620 |
620 // Returns true if plugin referred to by the url can use | 621 // Returns true if plugin referred to by the url can use |
621 // pp::FileIO::RequestOSFileHandle. | 622 // pp::FileIO::RequestOSFileHandle. |
622 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 623 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
623 content::BrowserContext* browser_context, | 624 content::BrowserContext* browser_context, |
624 const GURL& url); | 625 const GURL& url); |
625 | 626 |
626 // Returns true if dev channel APIs are available for plugins. | 627 // Returns true if dev channel APIs are available for plugins. |
627 virtual bool IsPluginAllowedToUseDevChannelAPIs(); | 628 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_); |
628 }; | 635 }; |
629 | 636 |
630 } // namespace content | 637 } // namespace content |
631 | 638 |
632 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 639 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |