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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_util.cc

Issue 1134603004: Remove the finch gate from the UWS interstitial (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 7 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 | « chrome/browser/safe_browsing/safe_browsing_util.h ('k') | chrome/browser/safe_browsing/ui_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/safe_browsing_util.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_util.cc b/chrome/browser/safe_browsing/safe_browsing_util.cc
index 65b2710e5b4859ad5ea7121de2fdc03f02989ca6..6a043c591f8221df7138353947563b331d6c2b74 100644
--- a/chrome/browser/safe_browsing/safe_browsing_util.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_util.cc
@@ -5,7 +5,6 @@
#include "chrome/browser/safe_browsing/safe_browsing_util.h"
#include "base/logging.h"
-#include "base/metrics/field_trial.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "chrome/browser/browser_process.h"
@@ -169,13 +168,6 @@ bool IsKnownList(const std::string& name) {
}
return false;
}
-
-// String constants for the M40 UwS Finch trial.
-const char kUnwantedTrialName[] = "UwSInterstitialStatus";
-const char kOff[] = "Off";
-const char kOnButInvisible[] = "OnButInvisible";
-const char kOn[] = "On";
-
} // namespace
namespace safe_browsing_util {
@@ -532,15 +524,4 @@ std::string SBFullHashToString(const SBFullHash& hash) {
return std::string(hash.full_hash, sizeof(hash.full_hash));
}
-UnwantedStatus GetUnwantedTrialGroup() {
- std::string status(base::FieldTrialList::FindFullName(kUnwantedTrialName));
- if (status == kOff)
- return UWS_OFF;
- if (status == kOnButInvisible)
- return UWS_ON_INVISIBLE;
- if (status == kOn)
- return UWS_ON;
- return UWS_ON;
-}
-
} // namespace safe_browsing_util
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_util.h ('k') | chrome/browser/safe_browsing/ui_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698