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

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 "content/browser/webui/empty_web_ui_factory.h" 9 #include "content/browser/webui/empty_web_ui_factory.h"
10 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 void MockContentBrowserClient::RevealFolderInOS(const FilePath& path) { 113 void MockContentBrowserClient::RevealFolderInOS(const FilePath& path) {
114 } 114 }
115 115
116 void MockContentBrowserClient::AllowCertificateError( 116 void MockContentBrowserClient::AllowCertificateError(
117 SSLCertErrorHandler* handler, 117 SSLCertErrorHandler* handler,
118 bool overridable, 118 bool overridable,
119 Callback2<SSLCertErrorHandler*, bool>::Type* callback) { 119 Callback2<SSLCertErrorHandler*, bool>::Type* callback) {
120 } 120 }
121 121
122 void MockContentBrowserClient::ShowClientCertificateRequestDialog( 122 void MockContentBrowserClient::SelectClientCertificate(
123 int render_process_id, 123 int render_process_id,
124 int render_view_id, 124 int render_view_id,
125 SSLClientAuthHandler* handler) { 125 SSLClientAuthHandler* handler) {
126 } 126 }
127 127
128 void MockContentBrowserClient::AddNewCertificate( 128 void MockContentBrowserClient::AddNewCertificate(
129 net::URLRequest* request, 129 net::URLRequest* request,
130 net::X509Certificate* cert, 130 net::X509Certificate* cert,
131 int render_process_id, 131 int render_process_id,
132 int render_view_id) { 132 int render_view_id) {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 #endif 227 #endif
228 228
229 #if defined(USE_NSS) 229 #if defined(USE_NSS)
230 crypto::CryptoModuleBlockingPasswordDelegate* 230 crypto::CryptoModuleBlockingPasswordDelegate*
231 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 231 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
232 return NULL; 232 return NULL;
233 } 233 }
234 #endif 234 #endif
235 235
236 } // namespace content 236 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698