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

Unified Diff: chrome/browser/prefetch/prefetch_field_trial.cc

Issue 1800723002: Simplify checking for prefetch field trial in RDH (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@link-rel
Patch Set: rebased on top of master Created 4 years, 9 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/prefetch/prefetch_field_trial.cc
diff --git a/chrome/browser/prefetch/prefetch_field_trial.cc b/chrome/browser/prefetch/prefetch_field_trial.cc
deleted file mode 100644
index f984a3a16121a9576ad94e2efeb8f6f87f3d109d..0000000000000000000000000000000000000000
--- a/chrome/browser/prefetch/prefetch_field_trial.cc
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/prefetch/prefetch_field_trial.h"
-
-#include <string>
-
-#include "base/metrics/field_trial.h"
-#include "base/strings/string_util.h"
-#include "chrome/browser/prerender/prerender_field_trial.h"
-
-namespace prefetch {
-
-bool DisableForFieldTrial() {
- std::string experiment = base::FieldTrialList::FindFullName("Prefetch");
- return base::StartsWith(experiment, "ExperimentDisable",
- base::CompareCase::INSENSITIVE_ASCII);
-}
-
-} // namespace prefetch

Powered by Google App Engine
This is Rietveld 408576698