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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_ui_controller.cc

Issue 1213193003: Remove DCHECK_IMPLIES and CHECK_IMPLIES (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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: chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc b/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
index 8f05ef954d7fc8d4bf098f97f9c8b0b8b9fa922b..6c535bcd0e1966a084aec46f97e7f988d22d969f 100644
--- a/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
@@ -108,7 +108,7 @@ bool ManagePasswordsUIController::OnChooseCredentials(
ScopedVector<autofill::PasswordForm> federated_credentials,
const GURL& origin,
base::Callback<void(const password_manager::CredentialInfo&)> callback) {
- DCHECK_IMPLIES(local_credentials.empty(), !federated_credentials.empty());
+ DCHECK(!local_credentials.empty() || !federated_credentials.empty());
passwords_data_.OnRequestCredentials(local_credentials.Pass(),
federated_credentials.Pass(),
origin);
« no previous file with comments | « cc/trees/property_tree_builder.cc ('k') | content/browser/android/in_process/synchronous_compositor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698