Commit 37cb83a6 authored by Scott Wu's avatar Scott Wu Committed by Commit Bot

Move password_controller.js to components folder.

Note: In order to provide __crWeb.passwords, looks like the password_controller.js file needs to be included in js_compile targets as source file.

Bug: 865114
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I9a2447259247c58a86b36a354737fdd7ab1fa443
Reviewed-on: https://chromium-review.googlesource.com/1168959Reviewed-by: default avatarVasilii Sukhanov <vasilii@chromium.org>
Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Reviewed-by: default avatarJohn Wu <jzw@chromium.org>
Reviewed-by: default avatarHiroshi Ichikawa <ichikawa@chromium.org>
Commit-Queue: Scott Wu <scottwu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586234}
parent 41f48d18
...@@ -42,7 +42,6 @@ source_set("passwords") { ...@@ -42,7 +42,6 @@ source_set("passwords") {
"update_password_infobar_controller.mm", "update_password_infobar_controller.mm",
] ]
deps = [ deps = [
":injected_js",
"//base", "//base",
"//base:i18n", "//base:i18n",
"//components/autofill/core/browser", "//components/autofill/core/browser",
...@@ -182,14 +181,3 @@ source_set("eg_tests") { ...@@ -182,14 +181,3 @@ source_set("eg_tests") {
"XCTest.framework", "XCTest.framework",
] ]
} }
js_compile_checked("injected_js") {
visibility = [ ":passwords" ]
sources = [
"resources/password_controller.js",
]
js_modules = [
"//components/autofill/ios/form_util/resources/form.js",
"//components/autofill/ios/form_util/resources/fill.js",
]
}
...@@ -143,7 +143,7 @@ js_compile_bundle("chrome_bundle_main_frame") { ...@@ -143,7 +143,7 @@ js_compile_bundle("chrome_bundle_main_frame") {
sources = [ sources = [
"//components/autofill/ios/browser/resources/autofill_controller.js", "//components/autofill/ios/browser/resources/autofill_controller.js",
"//components/autofill/ios/form_util/resources/fill.js", "//components/autofill/ios/form_util/resources/fill.js",
"//ios/chrome/browser/passwords/resources/password_controller.js", "//components/password_manager/ios/resources/password_controller.js",
"resources/chrome_bundle_main_frame.js", "resources/chrome_bundle_main_frame.js",
"resources/image_fetch.js", "resources/image_fetch.js",
"resources/print.js", "resources/print.js",
......
...@@ -415,7 +415,7 @@ js_compile_bundle("web_view_bundle") { ...@@ -415,7 +415,7 @@ js_compile_bundle("web_view_bundle") {
"//components/autofill/ios/browser/resources/autofill_controller.js", "//components/autofill/ios/browser/resources/autofill_controller.js",
"//components/autofill/ios/form_util/resources/fill.js", "//components/autofill/ios/form_util/resources/fill.js",
"//components/autofill/ios/form_util/resources/form.js", "//components/autofill/ios/form_util/resources/form.js",
"//ios/chrome/browser/passwords/resources/password_controller.js", "//components/password_manager/ios/resources/password_controller.js",
"resources/web_view_bundle.js", "resources/web_view_bundle.js",
] ]
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment