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

Side by Side Diff: content/shell/shell_content_browser_client.h

Issue 9384014: Remove knowledge about SSLClientAuthHandler from chrome. Instead a callback is given to the embed... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix aura Created 8 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 | Annotate | Revision Log
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 CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 virtual void OpenItem(const FilePath& path) OVERRIDE; 89 virtual void OpenItem(const FilePath& path) OVERRIDE;
90 virtual void ShowItemInFolder(const FilePath& path) OVERRIDE; 90 virtual void ShowItemInFolder(const FilePath& path) OVERRIDE;
91 virtual void AllowCertificateError( 91 virtual void AllowCertificateError(
92 SSLCertErrorHandler* handler, 92 SSLCertErrorHandler* handler,
93 bool overridable, 93 bool overridable,
94 const base::Callback<void(SSLCertErrorHandler*, bool)>& callback) 94 const base::Callback<void(SSLCertErrorHandler*, bool)>& callback)
95 OVERRIDE; 95 OVERRIDE;
96 virtual void SelectClientCertificate( 96 virtual void SelectClientCertificate(
97 int render_process_id, 97 int render_process_id,
98 int render_view_id, 98 int render_view_id,
99 SSLClientAuthHandler* handler) OVERRIDE; 99 const net::HttpNetworkSession* network_session,
100 net::SSLCertRequestInfo* cert_request_info,
101 const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE;
100 virtual void AddNewCertificate( 102 virtual void AddNewCertificate(
101 net::URLRequest* request, 103 net::URLRequest* request,
102 net::X509Certificate* cert, 104 net::X509Certificate* cert,
103 int render_process_id, 105 int render_process_id,
104 int render_view_id) OVERRIDE; 106 int render_view_id) OVERRIDE;
105 virtual void RequestDesktopNotificationPermission( 107 virtual void RequestDesktopNotificationPermission(
106 const GURL& source_origin, 108 const GURL& source_origin,
107 int callback_context, 109 int callback_context,
108 int render_process_id, 110 int render_process_id,
109 int render_view_id) OVERRIDE; 111 int render_view_id) OVERRIDE;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 const GURL& url) OVERRIDE; 163 const GURL& url) OVERRIDE;
162 #endif 164 #endif
163 165
164 private: 166 private:
165 ShellBrowserMainParts* shell_browser_main_parts_; 167 ShellBrowserMainParts* shell_browser_main_parts_;
166 }; 168 };
167 169
168 } // namespace content 170 } // namespace content
169 171
170 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 172 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698