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

Unified Diff: components/autofill/core/browser/options_util.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/options_util.cc
diff --git a/components/autofill/core/browser/options_util.cc b/components/autofill/core/browser/options_util.cc
deleted file mode 100644
index 0f9d37f79617deeeed90c4a07eea0d509cbc1ce8..0000000000000000000000000000000000000000
--- a/components/autofill/core/browser/options_util.cc
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2015 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 "components/autofill/core/browser/options_util.h"
-
-#include "components/autofill/core/browser/personal_data_manager.h"
-#include "components/autofill/core/common/autofill_pref_names.h"
-#include "components/sync_driver/sync_service.h"
-
-namespace autofill {
-
-bool WalletIntegrationAvailable(
- sync_driver::SyncService* sync_service,
- const PersonalDataManager& personal_data_manager) {
- if (!(sync_service && sync_service->CanSyncStart() &&
- sync_service->GetPreferredDataTypes().Has(syncer::AUTOFILL_PROFILE))) {
- return false;
- }
-
- return personal_data_manager.IsExperimentalWalletIntegrationEnabled();
-}
-
-} // namespace autofill
« no previous file with comments | « components/autofill/core/browser/options_util.h ('k') | components/autofill/core/browser/options_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698