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

Unified Diff: content/public/browser/web_contents_observer.cc

Issue 2639203003: Add certificate error handling to devtools. (Closed)
Patch Set: Add event parameters Created 3 years, 10 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
Index: content/public/browser/web_contents_observer.cc
diff --git a/content/public/browser/web_contents_observer.cc b/content/public/browser/web_contents_observer.cc
index 01d158d38d1bfb428b1a855ef5ee344affa18000..19d4e75c1fa9e50fa6ff27a2f3de9fd4d94716d7 100644
--- a/content/public/browser/web_contents_observer.cc
+++ b/content/public/browser/web_contents_observer.cc
@@ -72,4 +72,10 @@ void WebContentsObserver::ResetWebContents() {
web_contents_ = nullptr;
}
+bool WebContentsObserver::NotifyCertificateError(int cert_error,
+ const GURL& request_url,
+ CertErrorCallback callback) {
+ return false;
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698