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

Unified Diff: components/password_manager/core/browser/BUILD.gn

Issue 2714543006: Clean Obsolete HTTP Data from the Password Store (Closed)
Patch Set: Raw Cleaner Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/password_manager/DEPS ('k') | components/password_manager/core/browser/hsts_query.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/core/browser/BUILD.gn
diff --git a/components/password_manager/core/browser/BUILD.gn b/components/password_manager/core/browser/BUILD.gn
index 8b4356cda8a95e92cca4890d35e3092db09afd7b..6fd8cc44e2e33215da738e70906bb43e1896908b 100644
--- a/components/password_manager/core/browser/BUILD.gn
+++ b/components/password_manager/core/browser/BUILD.gn
@@ -74,8 +74,6 @@ static_library("browser") {
"login_database_win.cc",
"login_model.cc",
"login_model.h",
- "obsolete_http_cleaner.cc",
- "obsolete_http_cleaner.h",
"password_autofill_manager.cc",
"password_autofill_manager.h",
"password_bubble_experiment.cc",
@@ -167,6 +165,15 @@ static_library("browser") {
"//url",
]
+ if (!is_ios) {
+ sources += [
+ "hsts_query.cc",
+ "hsts_query.h",
+ "http_data_cleaner.cc",
+ "http_data_cleaner.h",
+ ]
+ }
+
if (is_mac || is_ios) {
sources -= [ "login_database_posix.cc" ]
}
@@ -223,6 +230,7 @@ static_library("test_support") {
deps = [
"//base",
"//components/autofill/core/common",
+ "//net:net",
"//testing/gtest",
]
}
@@ -288,7 +296,6 @@ source_set("unit_tests") {
"log_router_unittest.cc",
"login_database_unittest.cc",
"login_model_unittest.cc",
- "obsolete_http_cleaner_unittest.cc",
"password_autofill_manager_unittest.cc",
"password_bubble_experiment_unittest.cc",
"password_form_manager_unittest.cc",
@@ -312,6 +319,11 @@ source_set("unit_tests") {
}
if (is_ios) {
sources += [ "login_database_ios_unittest.cc" ]
+ } else {
+ sources += [
+ "hsts_query_unittest.cc",
+ "http_data_cleaner_unittest.cc",
+ ]
}
deps = [
":test_support",
« no previous file with comments | « components/password_manager/DEPS ('k') | components/password_manager/core/browser/hsts_query.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698