| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 GetTemporaryStorageEvictionPolicy(content::BrowserContext* context) override; | 170 GetTemporaryStorageEvictionPolicy(content::BrowserContext* context) override; |
| 171 void AllowCertificateError( | 171 void AllowCertificateError( |
| 172 content::WebContents* web_contents, | 172 content::WebContents* web_contents, |
| 173 int cert_error, | 173 int cert_error, |
| 174 const net::SSLInfo& ssl_info, | 174 const net::SSLInfo& ssl_info, |
| 175 const GURL& request_url, | 175 const GURL& request_url, |
| 176 content::ResourceType resource_type, | 176 content::ResourceType resource_type, |
| 177 bool overridable, | 177 bool overridable, |
| 178 bool strict_enforcement, | 178 bool strict_enforcement, |
| 179 bool expired_previous_decision, | 179 bool expired_previous_decision, |
| 180 const base::Callback<void(bool)>& callback, | 180 const base::Callback<void(content::CertificateRequestResultType)>& |
| 181 content::CertificateRequestResultType* request) override; | 181 callback) override; |
| 182 void SelectClientCertificate( | 182 void SelectClientCertificate( |
| 183 content::WebContents* web_contents, | 183 content::WebContents* web_contents, |
| 184 net::SSLCertRequestInfo* cert_request_info, | 184 net::SSLCertRequestInfo* cert_request_info, |
| 185 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; | 185 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; |
| 186 void AddCertificate(net::CertificateMimeType cert_type, | 186 void AddCertificate(net::CertificateMimeType cert_type, |
| 187 const void* cert_data, | 187 const void* cert_data, |
| 188 size_t cert_size, | 188 size_t cert_size, |
| 189 int render_process_id, | 189 int render_process_id, |
| 190 int render_frame_id) override; | 190 int render_frame_id) override; |
| 191 content::MediaObserver* GetMediaObserver() override; | 191 content::MediaObserver* GetMediaObserver() override; |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 // Vector of additional ChromeContentBrowserClientParts. | 344 // Vector of additional ChromeContentBrowserClientParts. |
| 345 // Parts are deleted in the reverse order they are added. | 345 // Parts are deleted in the reverse order they are added. |
| 346 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 346 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 347 | 347 |
| 348 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 348 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 349 | 349 |
| 350 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 350 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 351 }; | 351 }; |
| 352 | 352 |
| 353 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 353 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |