| Index: chrome/browser/safe_browsing/safe_browsing_tab_observer.cc
|
| diff --git a/chrome/browser/safe_browsing/safe_browsing_tab_observer.cc b/chrome/browser/safe_browsing/safe_browsing_tab_observer.cc
|
| index 0d10195b664b488104c596e0a79fec3387b238aa..a34c06cbcbbcef02f4afbbce7934529669283f55 100644
|
| --- a/chrome/browser/safe_browsing/safe_browsing_tab_observer.cc
|
| +++ b/chrome/browser/safe_browsing/safe_browsing_tab_observer.cc
|
| @@ -80,4 +80,14 @@ void SafeBrowsingTabObserver::UpdateSafebrowsingDetectionHost() {
|
| #endif
|
| }
|
|
|
| + // Forwards to detection host is client-side detection is enabled.
|
| +bool SafeBrowsingTabObserver::DidPageReceiveSafeBrowsingMatch() const {
|
| +#if defined(FULL_SAFE_BROWSING)
|
| + return safebrowsing_detection_host_ &&
|
| + safebrowsing_detection_host_->DidPageReceiveSafeBrowsingMatch();
|
| +#else
|
| + return false;
|
| +#endif
|
| +}
|
| +
|
| } // namespace safe_browsing
|
|
|