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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h

Issue 2821163002: Clean up DownloadAttribution Finch experiments (Closed)
Patch Set: revert partial change is InEnabledAndReady() Created 3 years, 8 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: chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h
diff --git a/chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h b/chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h
index d07af76d67d6559c88a3269dea52b3cd2fdde7c5..7d0416751f1c4c7335699f76ac56d288296d5431 100644
--- a/chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h
+++ b/chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h
@@ -95,8 +95,6 @@ struct NavigationEventList {
class SafeBrowsingNavigationObserverManager
: public base::RefCountedThreadSafe<SafeBrowsingNavigationObserverManager> {
public:
- static const base::Feature kDownloadAttribution;
-
// For UMA histogram counting. Do NOT change order.
enum AttributionResult {
SUCCESS = 1, // Identified referrer chain is not empty.
@@ -120,8 +118,8 @@ class SafeBrowsingNavigationObserverManager
static GURL ClearEmptyRef(const GURL& url);
// Checks if we should enable observing navigations for safe browsing purpose.
- // Return true if the safe browsing service and the |kDownloadAttribution|
- // feature are both enabled, and safe browsing service is initialized.
+ // Return true if the safe browsing safe browsing service is enabled and
+ // initialized.
static bool IsEnabledAndReady(Profile* profile);
SafeBrowsingNavigationObserverManager();

Powered by Google App Engine
This is Rietveld 408576698