Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 859213006: Cancel client auth requests when not promptable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@client-auth-cancel-1
Patch Set: extension test Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 int cert_error, 163 int cert_error,
164 const net::SSLInfo& ssl_info, 164 const net::SSLInfo& ssl_info,
165 const GURL& request_url, 165 const GURL& request_url,
166 content::ResourceType resource_type, 166 content::ResourceType resource_type,
167 bool overridable, 167 bool overridable,
168 bool strict_enforcement, 168 bool strict_enforcement,
169 bool expired_previous_decision, 169 bool expired_previous_decision,
170 const base::Callback<void(bool)>& callback, 170 const base::Callback<void(bool)>& callback,
171 content::CertificateRequestResultType* request) override; 171 content::CertificateRequestResultType* request) override;
172 void SelectClientCertificate( 172 void SelectClientCertificate(
173 int render_process_id, 173 content::WebContents* web_contents,
174 int render_frame_id,
175 net::SSLCertRequestInfo* cert_request_info, 174 net::SSLCertRequestInfo* cert_request_info,
176 const base::Callback<void(net::X509Certificate*)>& callback) override; 175 scoped_ptr<content::ClientCertificateDelegate> delegate) override;
177 void AddCertificate(net::CertificateMimeType cert_type, 176 void AddCertificate(net::CertificateMimeType cert_type,
178 const void* cert_data, 177 const void* cert_data,
179 size_t cert_size, 178 size_t cert_size,
180 int render_process_id, 179 int render_process_id,
181 int render_frame_id) override; 180 int render_frame_id) override;
182 content::MediaObserver* GetMediaObserver() override; 181 content::MediaObserver* GetMediaObserver() override;
183 content::PlatformNotificationService* GetPlatformNotificationService() 182 content::PlatformNotificationService* GetPlatformNotificationService()
184 override; 183 override;
185 void RequestPermission( 184 void RequestPermission(
186 content::PermissionType permission, 185 content::PermissionType permission,
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 335 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
337 336
338 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 337 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
339 338
340 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 339 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
341 }; 340 };
342 341
343 } // namespace chrome 342 } // namespace chrome
344 343
345 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 344 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698