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

Unified Diff: content/public/browser/content_browser_client.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/ssl/ssl_policy.cc ('k') | content/shell/shell_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.h
===================================================================
--- content/public/browser/content_browser_client.h (revision 137166)
+++ content/public/browser/content_browser_client.h (working copy)
@@ -261,12 +261,11 @@
// Show the given file in a file manager. If possible, select the file.
virtual void ShowItemInFolder(const FilePath& path) = 0;
- // Informs the embedder that a certificate error has occured. If overridable
- // is true, the user can ignore the error and continue. If it's false, then
- // the certificate error is severe and the user isn't allowed to proceed. The
- // embedder can call the callback asynchronously. If |cancel_request| is set
- // to true, the request will be cancelled immediately and the callback won't
- // be run.
+ // Informs the embedder that a certificate error has occured. If
+ // |overridable| is true and if |strict_enforcement| is false, the user
+ // can ignore the error and continue. The embedder can call the callback
+ // asynchronously. If |cancel_request| is set to true, the request will be
+ // cancelled immediately and the callback won't be run.
virtual void AllowCertificateError(
int render_process_id,
int render_view_id,
@@ -274,6 +273,7 @@
const net::SSLInfo& ssl_info,
const GURL& request_url,
bool overridable,
+ bool strict_enforcement,
const base::Callback<void(bool)>& callback,
bool* cancel_request) = 0;
« no previous file with comments | « content/browser/ssl/ssl_policy.cc ('k') | content/shell/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698