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

Unified Diff: components/password_manager/core/browser/password_manager_util.h

Issue 1668523002: [Password Manager] Switch password manager code to use the Feature framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses the review inputs. Created 4 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
Index: components/password_manager/core/browser/password_manager_util.h
diff --git a/components/password_manager/core/browser/password_manager_util.h b/components/password_manager/core/browser/password_manager_util.h
index a148d6e6c27868495e55d460989ec94a961c2e30..d40c5a1fbdf3c265dbb79d0031771e360cdf24db 100644
--- a/components/password_manager/core/browser/password_manager_util.h
+++ b/components/password_manager/core/browser/password_manager_util.h
@@ -11,6 +11,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
#include "components/password_manager/core/browser/password_manager_client.h"
+#include "components/password_manager/core/common/password_manager_features.h"
#include "ui/gfx/native_widget_types.h"
namespace autofill {
@@ -55,6 +56,9 @@ std::vector<scoped_ptr<autofill::PasswordForm>> ConvertScopedVector(
// and required to always return non-null.
bool IsLoggingActive(const password_manager::PasswordManagerClient* client);
+// Returns true if feature is disabled from commond line.
+bool IsFeatureDisabledFromCommandLine(const base::Feature& feature);
+
} // namespace password_manager_util
#endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698