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

Unified Diff: components/autofill/browser/autocheckout/whitelist_manager.cc

Issue 13811045: Autofill:Autocheckout: Enable Autocheckout for finch experimenting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: components/autofill/browser/autocheckout/whitelist_manager.cc
diff --git a/components/autofill/browser/autocheckout/whitelist_manager.cc b/components/autofill/browser/autocheckout/whitelist_manager.cc
index aeb60f113393bfbe12ee93af31708c6632f2588a..ed735b68a35fb18d7f7bf5a8bb61437e609e3ff5 100644
--- a/components/autofill/browser/autocheckout/whitelist_manager.cc
+++ b/components/autofill/browser/autocheckout/whitelist_manager.cc
@@ -7,6 +7,7 @@
#include "base/command_line.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
+#include "base/metrics/field_trial.h"
#include "base/string_util.h"
#include "base/strings/string_split.h"
#include "components/autofill/common/autofill_switches.h"
@@ -41,7 +42,8 @@ WhitelistManager::WhitelistManager()
: callback_is_pending_(false),
experimental_form_filling_enabled_(
CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableExperimentalFormFilling)),
+ switches::kEnableExperimentalFormFilling) ||
+ base::FieldTrialList::FindFullName("Autocheckout") == "Yes"),
bypass_autocheckout_whitelist_(
CommandLine::ForCurrentProcess()->HasSwitch(
switches::kBypassAutocheckoutWhitelist)) {
« no previous file with comments | « no previous file | components/autofill/browser/autofill_manager.cc » ('j') | components/autofill/renderer/form_autofill_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698