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

Unified Diff: components/autofill/core/browser/autofill_metrics_unittest.cc

Issue 1785923010: Remove kAutofillWalletSyncExperimentEnabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mark wallet_sync as obsolete, remove wallet_sync_enabled. 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: components/autofill/core/browser/autofill_metrics_unittest.cc
diff --git a/components/autofill/core/browser/autofill_metrics_unittest.cc b/components/autofill/core/browser/autofill_metrics_unittest.cc
index 15ac6e8fd7e42ecb21ed1cd465e1d010594830ca..1f84c6b1f043d8c9f7f38df46fbd6e6d0b208bb0 100644
--- a/components/autofill/core/browser/autofill_metrics_unittest.cc
+++ b/components/autofill/core/browser/autofill_metrics_unittest.cc
@@ -23,7 +23,6 @@
#include "components/autofill/core/browser/test_autofill_client.h"
#include "components/autofill/core/browser/test_autofill_driver.h"
#include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
-#include "components/autofill/core/common/autofill_pref_names.h"
#include "components/autofill/core/common/form_data.h"
#include "components/autofill/core/common/form_field_data.h"
#include "components/prefs/pref_service.h"
@@ -371,8 +370,6 @@ void AutofillMetricsTest::TearDown() {
}
void AutofillMetricsTest::EnableWalletSync() {
- autofill_client_.GetPrefs()->SetBoolean(
- prefs::kAutofillWalletSyncExperimentEnabled, true);
signin_manager_->SetAuthenticatedAccountInfo("12345", "syncuser@example.com");
}
@@ -1653,8 +1650,6 @@ TEST_F(AutofillMetricsTest, CreditCardSelectedFormEvents) {
// Test that we log filled form events for credit cards.
TEST_F(AutofillMetricsTest, CreditCardFilledFormEvents) {
- autofill_client_.GetPrefs()->SetBoolean(
- prefs::kAutofillWalletSyncExperimentEnabled, true);
// Creating all kinds of cards.
personal_data_->RecreateCreditCards(
true /* include_local_credit_card */,

Powered by Google App Engine
This is Rietveld 408576698