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

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

Issue 10381051: Show the "cannot proceed" text only when appropriate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/ssl/ssl_policy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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 "base/logging.h" 10 #include "base/logging.h"
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 void MockContentBrowserClient::ShowItemInFolder(const FilePath& path) { 180 void MockContentBrowserClient::ShowItemInFolder(const FilePath& path) {
181 } 181 }
182 182
183 void MockContentBrowserClient::AllowCertificateError( 183 void MockContentBrowserClient::AllowCertificateError(
184 int render_process_id, 184 int render_process_id,
185 int render_view_id, 185 int render_view_id,
186 int cert_error, 186 int cert_error,
187 const net::SSLInfo& ssl_info, 187 const net::SSLInfo& ssl_info,
188 const GURL& request_url, 188 const GURL& request_url,
189 bool overridable, 189 bool overridable,
190 bool strict_enforcement,
190 const base::Callback<void(bool)>& callback, 191 const base::Callback<void(bool)>& callback,
191 bool* cancel_request) { 192 bool* cancel_request) {
192 } 193 }
193 194
194 void MockContentBrowserClient::SelectClientCertificate( 195 void MockContentBrowserClient::SelectClientCertificate(
195 int render_process_id, 196 int render_process_id,
196 int render_view_id, 197 int render_view_id,
197 const net::HttpNetworkSession* network_session, 198 const net::HttpNetworkSession* network_session,
198 net::SSLCertRequestInfo* cert_request_info, 199 net::SSLCertRequestInfo* cert_request_info,
199 const base::Callback<void(net::X509Certificate*)>& callback) { 200 const base::Callback<void(net::X509Certificate*)>& callback) {
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 #endif 339 #endif
339 340
340 #if defined(USE_NSS) 341 #if defined(USE_NSS)
341 crypto::CryptoModuleBlockingPasswordDelegate* 342 crypto::CryptoModuleBlockingPasswordDelegate*
342 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 343 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
343 return NULL; 344 return NULL;
344 } 345 }
345 #endif 346 #endif
346 347
347 } // namespace content 348 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/ssl/ssl_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698