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

Side by Side Diff: components/autofill/core/browser/autofill_manager.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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/autofill/core/browser/autofill_manager.h" 5 #include "components/autofill/core/browser/autofill_manager.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 AutofillManager::~AutofillManager() {} 173 AutofillManager::~AutofillManager() {}
174 174
175 // static 175 // static
176 void AutofillManager::RegisterProfilePrefs( 176 void AutofillManager::RegisterProfilePrefs(
177 user_prefs::PrefRegistrySyncable* registry) { 177 user_prefs::PrefRegistrySyncable* registry) {
178 registry->RegisterBooleanPref( 178 registry->RegisterBooleanPref(
179 prefs::kAutofillEnabled, 179 prefs::kAutofillEnabled,
180 true, 180 true,
181 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); 181 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
182 registry->RegisterBooleanPref(prefs::kAutofillWalletSyncExperimentEnabled,
183 false);
184 // TODO(estade): Should this be syncable? 182 // TODO(estade): Should this be syncable?
185 registry->RegisterBooleanPref( 183 registry->RegisterBooleanPref(
186 prefs::kAutofillWalletImportEnabled, 184 prefs::kAutofillWalletImportEnabled,
187 true, 185 true,
188 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); 186 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
189 // This choice is made on a per-device basis, so it's not syncable. 187 // This choice is made on a per-device basis, so it's not syncable.
190 registry->RegisterBooleanPref( 188 registry->RegisterBooleanPref(
191 prefs::kAutofillWalletImportStorageCheckboxState, true); 189 prefs::kAutofillWalletImportStorageCheckboxState, true);
192 } 190 }
193 191
(...skipping 1637 matching lines...) Expand 10 before | Expand all | Expand 10 after
1831 if (i > 0) 1829 if (i > 0)
1832 fputs("Next oldest form:\n", file); 1830 fputs("Next oldest form:\n", file);
1833 } 1831 }
1834 fputs("\n", file); 1832 fputs("\n", file);
1835 1833
1836 fclose(file); 1834 fclose(file);
1837 } 1835 }
1838 #endif // ENABLE_FORM_DEBUG_DUMP 1836 #endif // ENABLE_FORM_DEBUG_DUMP
1839 1837
1840 } // namespace autofill 1838 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698