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

Side by Side Diff: components/password_manager/core/common/experiments.cc

Issue 1193143003: Enable import/export of passwords into/from Password Manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed import-complete dialog. 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/password_manager/core/common/experiments.h" 5 #include "components/password_manager/core/common/experiments.h"
6 6
7 #include "components/password_manager/core/common/password_manager_features.h" 7 #include "components/password_manager/core/common/password_manager_features.h"
8 8
9 namespace password_manager { 9 namespace password_manager {
10 10
11 bool ForceSavingExperimentEnabled() { 11 bool ForceSavingExperimentEnabled() {
12 return base::FeatureList::IsEnabled( 12 return base::FeatureList::IsEnabled(
13 password_manager::features::kEnablePasswordForceSaving); 13 password_manager::features::kEnablePasswordForceSaving);
14 } 14 }
15 15
16 bool ManualPasswordGenerationEnabled() { 16 bool ManualPasswordGenerationEnabled() {
17 return base::FeatureList::IsEnabled( 17 return base::FeatureList::IsEnabled(
18 password_manager::features::kEnableManualPasswordGeneration); 18 password_manager::features::kEnableManualPasswordGeneration);
19 } 19 }
20 20
21 bool ImportExportExperimentEnabled() {
vabr (Chromium) 2016/03/10 10:53:33 The call to base::FeatureList is so simple, that I
xunlu 2016/03/16 07:23:59 Done.
22 return base::FeatureList::IsEnabled(
23 password_manager::features::kEnablePasswordImportExport);
24 }
25
21 } // namespace password_manager 26 } // namespace password_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698