diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-30 21:59:58 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-30 21:59:58 +0000 |
commit | 8a27abf866ca54fe5a1aa7427094cdd79e0241ec (patch) | |
tree | fb13223c6131a1cb7d550cea3c771988dd6dff9b /content/shell | |
parent | 5c12f4a7d56afa3a3cd2d2a83dbfd65e321c71d8 (diff) | |
download | chromium_src-8a27abf866ca54fe5a1aa7427094cdd79e0241ec.zip chromium_src-8a27abf866ca54fe5a1aa7427094cdd79e0241ec.tar.gz chromium_src-8a27abf866ca54fe5a1aa7427094cdd79e0241ec.tar.bz2 |
Use new callbacks for SSL UI.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8080010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell')
-rw-r--r-- | content/shell/shell_content_browser_client.cc | 2 | ||||
-rw-r--r-- | content/shell/shell_content_browser_client.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/content/shell/shell_content_browser_client.cc b/content/shell/shell_content_browser_client.cc index d98d292..3028b48 100644 --- a/content/shell/shell_content_browser_client.cc +++ b/content/shell/shell_content_browser_client.cc @@ -156,7 +156,7 @@ void ShellContentBrowserClient::ShowItemInFolder(const FilePath& path) { void ShellContentBrowserClient::AllowCertificateError( SSLCertErrorHandler* handler, bool overridable, - Callback2<SSLCertErrorHandler*, bool>::Type* callback) { + const base::Callback<void(SSLCertErrorHandler*, bool)>& callback) { } void ShellContentBrowserClient::SelectClientCertificate( diff --git a/content/shell/shell_content_browser_client.h b/content/shell/shell_content_browser_client.h index 38c63f9..8128137 100644 --- a/content/shell/shell_content_browser_client.h +++ b/content/shell/shell_content_browser_client.h @@ -84,7 +84,8 @@ class ShellContentBrowserClient : public ContentBrowserClient virtual void AllowCertificateError( SSLCertErrorHandler* handler, bool overridable, - Callback2<SSLCertErrorHandler*, bool>::Type* callback) OVERRIDE; + const base::Callback<void(SSLCertErrorHandler*, bool)>& callback) + OVERRIDE; virtual void SelectClientCertificate( int render_process_id, int render_view_id, |