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

Unified Diff: components/toolbar/toolbar_model_delegate.h

Issue 2331133002: [Material] Show "Dangerous" for Safe Browsing Security State (Closed)
Patch Set: Fix for pkasting 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
« no previous file with comments | « components/omnibox_strings.grdp ('k') | components/toolbar/toolbar_model_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..1fb8e83514f69b040705abdcc5e7c1d184203379 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 FailsMalwareCheck() const = 0;
+
protected:
virtual ~ToolbarModelDelegate() {}
};
« no previous file with comments | « components/omnibox_strings.grdp ('k') | components/toolbar/toolbar_model_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698