OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "content/browser/content_browser_client.h" | 10 #include "content/browser/content_browser_client.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 const content::ResourceContext& context, | 38 const content::ResourceContext& context, |
39 int render_process_id, | 39 int render_process_id, |
40 int render_view_id) OVERRIDE; | 40 int render_view_id) OVERRIDE; |
41 virtual bool AllowSetCookie(const GURL& url, | 41 virtual bool AllowSetCookie(const GURL& url, |
42 const GURL& first_party, | 42 const GURL& first_party, |
43 const std::string& cookie_line, | 43 const std::string& cookie_line, |
44 const content::ResourceContext& context, | 44 const content::ResourceContext& context, |
45 int render_process_id, | 45 int render_process_id, |
46 int render_view_id, | 46 int render_view_id, |
47 net::CookieOptions* options) OVERRIDE; | 47 net::CookieOptions* options) OVERRIDE; |
| 48 virtual bool AllowSaveLocalState( |
| 49 const content::ResourceContext& context) OVERRIDE; |
48 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; | 50 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; |
49 virtual void RevealFolderInOS(const FilePath& path) OVERRIDE; | 51 virtual void RevealFolderInOS(const FilePath& path) OVERRIDE; |
50 virtual void AllowCertificateError( | 52 virtual void AllowCertificateError( |
51 SSLCertErrorHandler* handler, | 53 SSLCertErrorHandler* handler, |
52 bool overridable, | 54 bool overridable, |
53 Callback2<SSLCertErrorHandler*, bool>::Type* callback) OVERRIDE; | 55 Callback2<SSLCertErrorHandler*, bool>::Type* callback) OVERRIDE; |
54 virtual void ShowClientCertificateRequestDialog( | 56 virtual void ShowClientCertificateRequestDialog( |
55 int render_process_id, | 57 int render_process_id, |
56 int render_view_id, | 58 int render_view_id, |
57 SSLClientAuthHandler* handler) OVERRIDE; | 59 SSLClientAuthHandler* handler) OVERRIDE; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 #if defined(USE_NSS) | 95 #if defined(USE_NSS) |
94 virtual | 96 virtual |
95 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 97 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
96 const GURL& url) OVERRIDE; | 98 const GURL& url) OVERRIDE; |
97 #endif | 99 #endif |
98 }; | 100 }; |
99 | 101 |
100 } // namespace chrome | 102 } // namespace chrome |
101 | 103 |
102 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 104 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |