OLD | NEW |
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/browser/login_database.h" | 5 #include "components/password_manager/core/browser/login_database.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <limits> | 8 #include <limits> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram_macros.h" |
14 #include "base/pickle.h" | 14 #include "base/pickle.h" |
15 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
16 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
18 #include "components/autofill/core/common/password_form.h" | 18 #include "components/autofill/core/common/password_form.h" |
19 #include "components/password_manager/core/browser/affiliation_utils.h" | 19 #include "components/password_manager/core/browser/affiliation_utils.h" |
20 #include "components/password_manager/core/browser/password_manager_client.h" | 20 #include "components/password_manager/core/browser/password_manager_client.h" |
21 #include "components/password_manager/core/browser/password_manager_metrics_util
.h" | 21 #include "components/password_manager/core/browser/password_manager_metrics_util
.h" |
22 #include "google_apis/gaia/gaia_auth_util.h" | 22 #include "google_apis/gaia/gaia_auth_util.h" |
23 #include "google_apis/gaia/gaia_urls.h" | 23 #include "google_apis/gaia/gaia_urls.h" |
(...skipping 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
955 UMA_HISTOGRAM_ENUMERATION("PasswordManager.PslDomainMatchTriggering", | 955 UMA_HISTOGRAM_ENUMERATION("PasswordManager.PslDomainMatchTriggering", |
956 psl_domain_match_metric, PSL_DOMAIN_MATCH_COUNT); | 956 psl_domain_match_metric, PSL_DOMAIN_MATCH_COUNT); |
957 } | 957 } |
958 | 958 |
959 if (!statement->Succeeded()) | 959 if (!statement->Succeeded()) |
960 return false; | 960 return false; |
961 return true; | 961 return true; |
962 } | 962 } |
963 | 963 |
964 } // namespace password_manager | 964 } // namespace password_manager |
OLD | NEW |