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

Side by Side Diff: components/autofill/core/browser/autofill_experiments.cc

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_experiments.h" 5 #include "components/autofill/core/browser/autofill_experiments.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/feature_list.h" 8 #include "base/feature_list.h"
9 #include "base/metrics/field_trial.h" 9 #include "base/metrics/field_trial.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "components/autofill/core/common/autofill_pref_names.h" 13 #include "components/autofill/core/common/autofill_pref_names.h"
14 #include "components/autofill/core/common/autofill_switches.h" 14 #include "components/autofill/core/common/autofill_switches.h"
15 #include "components/prefs/pref_service.h" 15 #include "components/prefs/pref_service.h"
16 #include "components/sync_driver/sync_service.h" 16 #include "components/sync/driver/sync_service.h"
17 #include "components/variations/variations_associated_data.h" 17 #include "components/variations/variations_associated_data.h"
18 #include "google_apis/gaia/gaia_auth_util.h" 18 #include "google_apis/gaia/gaia_auth_util.h"
19 19
20 namespace autofill { 20 namespace autofill {
21 21
22 const base::Feature kAutofillCreditCardAssist{ 22 const base::Feature kAutofillCreditCardAssist{
23 "AutofillCreditCardAssist", base::FEATURE_DISABLED_BY_DEFAULT}; 23 "AutofillCreditCardAssist", base::FEATURE_DISABLED_BY_DEFAULT};
24 const base::Feature kAutofillProfileCleanup{"AutofillProfileCleanup", 24 const base::Feature kAutofillProfileCleanup{"AutofillProfileCleanup",
25 base::FEATURE_DISABLED_BY_DEFAULT}; 25 base::FEATURE_DISABLED_BY_DEFAULT};
26 const base::Feature kAutofillCreditCardSigninPromo{ 26 const base::Feature kAutofillCreditCardSigninPromo{
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 } 133 }
134 if (base::CommandLine::ForCurrentProcess()->HasSwitch( 134 if (base::CommandLine::ForCurrentProcess()->HasSwitch(
135 switches::kDisableOfferUploadCreditCards)) { 135 switches::kDisableOfferUploadCreditCards)) {
136 return false; 136 return false;
137 } 137 }
138 138
139 return !group_name.empty() && group_name != "Disabled"; 139 return !group_name.empty() && group_name != "Disabled";
140 } 140 }
141 141
142 } // namespace autofill 142 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/browser/DEPS ('k') | components/autofill/core/browser/autofill_wallet_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698