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

Unified Diff: components/toolbar/toolbar_model_delegate.h

Issue 2331133002: [Material] Show "Dangerous" for Safe Browsing Security State (Closed)
Patch Set: Created 4 years, 3 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: components/toolbar/toolbar_model_delegate.h
diff --git a/components/toolbar/toolbar_model_delegate.h b/components/toolbar/toolbar_model_delegate.h
index 4bec77c372b319fe64c74519fa290975161b4d8e..32b351bebae99d25f69a0a94096eea93f885faca 100644
--- a/components/toolbar/toolbar_model_delegate.h
+++ b/components/toolbar/toolbar_model_delegate.h
@@ -43,6 +43,9 @@ class ToolbarModelDelegate {
// Returns the certificate for the current navigation entry.
virtual scoped_refptr<net::X509Certificate> GetCertificate() const = 0;
+ // Returns true if the current page fails the malware check.
+ virtual bool GetFailsMalwareCheck() const = 0;
Peter Kasting 2016/09/13 05:55:59 Nit: Just call this FailsMalwareCheck().
spqchan 2016/09/13 21:23:41 Done.
+
protected:
virtual ~ToolbarModelDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698