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

Unified Diff: chrome/browser/autofill/android/personal_data_manager_android.cc

Issue 959053003: Revert of Show Autofill/Wallet options only when signed in. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | chrome/browser/ui/webui/options/autofill_options_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/android/personal_data_manager_android.cc
diff --git a/chrome/browser/autofill/android/personal_data_manager_android.cc b/chrome/browser/autofill/android/personal_data_manager_android.cc
index 68e6ac1d9117ec4fc865692e3d81e8ba761cfe63..9059f5db2b82cb69ea9392169a6ae7a653d9a63d 100644
--- a/chrome/browser/autofill/android/personal_data_manager_android.cc
+++ b/chrome/browser/autofill/android/personal_data_manager_android.cc
@@ -342,13 +342,7 @@
// Returns whether the Wallet import feature is available.
static jboolean IsWalletImportFeatureAvailable(JNIEnv* env, jclass clazz) {
- // TODO(estade): what to do in the IsManaged case?
- ProfileSyncService* service =
- ProfileSyncServiceFactory::GetInstance()->GetForProfile(GetProfile());
- PersonalDataManager* pdm = PersonalDataManagerFactory::GetForProfile(
- GetProfile());
- return service->IsSyncEnabledAndLoggedIn() &&
- pdm->IsExperimentalWalletIntegrationEnabled();
+ return false;
}
// Returns whether the Wallet import feature is enabled.
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/autofill_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698