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

Side by Side Diff: content/browser/mock_content_browser_client.cc

Issue 7537025: Add new Content settings type AUTO-SUBMIT-CERTIFICATE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "content/browser/mock_content_browser_client.h" 5 #include "content/browser/mock_content_browser_client.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "content/browser/webui/empty_web_ui_factory.h" 10 #include "content/browser/webui/empty_web_ui_factory.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 void MockContentBrowserClient::ShowItemInFolder(const FilePath& path) { 117 void MockContentBrowserClient::ShowItemInFolder(const FilePath& path) {
118 } 118 }
119 119
120 void MockContentBrowserClient::AllowCertificateError( 120 void MockContentBrowserClient::AllowCertificateError(
121 SSLCertErrorHandler* handler, 121 SSLCertErrorHandler* handler,
122 bool overridable, 122 bool overridable,
123 Callback2<SSLCertErrorHandler*, bool>::Type* callback) { 123 Callback2<SSLCertErrorHandler*, bool>::Type* callback) {
124 } 124 }
125 125
126 void MockContentBrowserClient::ShowClientCertificateRequestDialog( 126 void MockContentBrowserClient::SelectClientCertificate(
127 int render_process_id, 127 int render_process_id,
128 int render_view_id, 128 int render_view_id,
129 SSLClientAuthHandler* handler) { 129 SSLClientAuthHandler* handler) {
130 } 130 }
131 131
132 void MockContentBrowserClient::AddNewCertificate( 132 void MockContentBrowserClient::AddNewCertificate(
133 net::URLRequest* request, 133 net::URLRequest* request,
134 net::X509Certificate* cert, 134 net::X509Certificate* cert,
135 int render_process_id, 135 int render_process_id,
136 int render_view_id) { 136 int render_view_id) {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 #endif 235 #endif
236 236
237 #if defined(USE_NSS) 237 #if defined(USE_NSS)
238 crypto::CryptoModuleBlockingPasswordDelegate* 238 crypto::CryptoModuleBlockingPasswordDelegate*
239 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 239 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
240 return NULL; 240 return NULL;
241 } 241 }
242 #endif 242 #endif
243 243
244 } // namespace content 244 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/ssl/ssl_client_auth_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698