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 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 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 int render_process_id, | 143 int render_process_id, |
144 int render_view_id, | 144 int render_view_id, |
145 const net::HttpNetworkSession* network_session, | 145 const net::HttpNetworkSession* network_session, |
146 net::SSLCertRequestInfo* cert_request_info, | 146 net::SSLCertRequestInfo* cert_request_info, |
147 const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; | 147 const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; |
148 virtual void AddNewCertificate( | 148 virtual void AddNewCertificate( |
149 net::URLRequest* request, | 149 net::URLRequest* request, |
150 net::X509Certificate* cert, | 150 net::X509Certificate* cert, |
151 int render_process_id, | 151 int render_process_id, |
152 int render_view_id) OVERRIDE; | 152 int render_view_id) OVERRIDE; |
| 153 #if defined(OS_ANDROID) |
| 154 virtual void AddNewCertificateOrKeychainAndroid( |
| 155 net::URLRequest* request, |
| 156 const char* data, |
| 157 size_t data_len, |
| 158 bool is_pkcs12) OVERRIDE; |
| 159 #endif |
153 virtual content::MediaObserver* GetMediaObserver() OVERRIDE; | 160 virtual content::MediaObserver* GetMediaObserver() OVERRIDE; |
154 virtual void RequestDesktopNotificationPermission( | 161 virtual void RequestDesktopNotificationPermission( |
155 const GURL& source_origin, | 162 const GURL& source_origin, |
156 int callback_context, | 163 int callback_context, |
157 int render_process_id, | 164 int render_process_id, |
158 int render_view_id) OVERRIDE; | 165 int render_view_id) OVERRIDE; |
159 virtual WebKit::WebNotificationPresenter::Permission | 166 virtual WebKit::WebNotificationPresenter::Permission |
160 CheckDesktopNotificationPermission( | 167 CheckDesktopNotificationPermission( |
161 const GURL& source_origin, | 168 const GURL& source_origin, |
162 content::ResourceContext* context, | 169 content::ResourceContext* context, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 // Cached version of the locale so we can return the locale on the I/O | 245 // Cached version of the locale so we can return the locale on the I/O |
239 // thread. | 246 // thread. |
240 std::string io_thread_application_locale_; | 247 std::string io_thread_application_locale_; |
241 | 248 |
242 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 249 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
243 }; | 250 }; |
244 | 251 |
245 } // namespace chrome | 252 } // namespace chrome |
246 | 253 |
247 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 254 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |