[iOS] Create icb/passwords/bottom_sheet [chromium/src : main]

0 views
Skip to first unread message

Rafał Godlewski (Gerrit)

unread,
Jan 16, 2026, 7:34:23 AM (2 days ago) Jan 16
to Tommy Martino, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org, feature-me...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
Attention needed from Tommy Martino

Rafał Godlewski voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Tommy Martino
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Iec14b59323df22d8ca14724378b8b61bf8484fc0
Gerrit-Change-Number: 7486890
Gerrit-PatchSet: 2
Gerrit-Owner: Rafał Godlewski <rg...@google.com>
Gerrit-Reviewer: Rafał Godlewski <rg...@google.com>
Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
Gerrit-Comment-Date: Fri, 16 Jan 2026 12:34:11 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Tommy Martino (Gerrit)

unread,
Jan 16, 2026, 10:44:21 AM (2 days ago) Jan 16
to Rafał Godlewski, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org, feature-me...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
Attention needed from Rafał Godlewski

Tommy Martino added 1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Tommy Martino . unresolved

Thanks for picking this up!

As written, this largely replicates the same ui_bundled structure. My thinking was that the end state would instead be:

```
icb/passwords/bottom_sheet/
- coordinator/
- model/ (if necessary)
- public/
- ui/
- etc
```

so that `bottom_sheet` would be structured like top-level feature directories, just nested under `passwords`.

Was your plan to do that in a follow-up CL? Or was I perhaps not totally clear on what I had in mind? (Sorry, if the latter!)

Open in Gerrit

Related details

Attention is currently required from:
  • Rafał Godlewski
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Iec14b59323df22d8ca14724378b8b61bf8484fc0
    Gerrit-Change-Number: 7486890
    Gerrit-PatchSet: 2
    Gerrit-Owner: Rafał Godlewski <rg...@google.com>
    Gerrit-Reviewer: Rafał Godlewski <rg...@google.com>
    Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
    Gerrit-Attention: Rafał Godlewski <rg...@google.com>
    Gerrit-Comment-Date: Fri, 16 Jan 2026 15:44:12 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Rafał Godlewski (Gerrit)

    unread,
    Jan 16, 2026, 12:02:51 PM (2 days ago) Jan 16
    to Tommy Martino, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org, feature-me...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
    Attention needed from Tommy Martino

    Rafał Godlewski added 1 comment

    Patchset-level comments
    File-level comment, Patchset 2:
    Tommy Martino . resolved

    Thanks for picking this up!

    As written, this largely replicates the same ui_bundled structure. My thinking was that the end state would instead be:

    ```
    icb/passwords/bottom_sheet/
    - coordinator/
    - model/ (if necessary)
    - public/
    - ui/
    - etc
    ```

    so that `bottom_sheet` would be structured like top-level feature directories, just nested under `passwords`.

    Was your plan to do that in a follow-up CL? Or was I perhaps not totally clear on what I had in mind? (Sorry, if the latter!)

    Rafał Godlewski

    For some reason I thought the diffs would be cleaner if I split, but not sure what was the reason exactly 😄.

    Added test/, coordinator/, ui/

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Tommy Martino
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: Iec14b59323df22d8ca14724378b8b61bf8484fc0
      Gerrit-Change-Number: 7486890
      Gerrit-PatchSet: 3
      Gerrit-Owner: Rafał Godlewski <rg...@google.com>
      Gerrit-Reviewer: Rafał Godlewski <rg...@google.com>
      Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
      Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
      Gerrit-Comment-Date: Fri, 16 Jan 2026 17:02:34 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Tommy Martino <tmar...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Tommy Martino (Gerrit)

      unread,
      Jan 16, 2026, 3:07:40 PM (2 days ago) Jan 16
      to Rafał Godlewski, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org, feature-me...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
      Attention needed from Rafał Godlewski

      Tommy Martino voted and added 3 comments

      Votes added by Tommy Martino

      Code-Review+1

      3 comments

      Patchset-level comments
      Tommy Martino . resolved

      Thanks for picking this up!

      As written, this largely replicates the same ui_bundled structure. My thinking was that the end state would instead be:

      ```
      icb/passwords/bottom_sheet/
      - coordinator/
      - model/ (if necessary)
      - public/
      - ui/
      - etc
      ```

      so that `bottom_sheet` would be structured like top-level feature directories, just nested under `passwords`.

      Was your plan to do that in a follow-up CL? Or was I perhaps not totally clear on what I had in mind? (Sorry, if the latter!)

      Rafał Godlewski

      For some reason I thought the diffs would be cleaner if I split, but not sure what was the reason exactly 😄.

      Added test/, coordinator/, ui/

      Tommy Martino

      Thanks!

      For future reference, typically what I do is:
      1. Do a clean move of all files to their intended final destination, but don't update any includes, BUILD files, etc
      2. (specific to this type of directory unbundling) Copy the original BUILD file into each of the new directories
      3. `git cl upload`, ignoring any presubmits and warnings
      4. Update everything so it actually builds, passes presubmits, etc
      5. `git cl upload` again (on the same issue/branch)

      That way the diff between patchset 1 and patchset 2 is exactly the set of non-move/branch changes you made.

      File ios/chrome/browser/passwords/bottom_sheet/test/BUILD.gn
      Line 78, Patchset 4 (Latest):source_set("common") {
      sources = [
      "scoped_credential_suggestion_bottom_sheet_reauth_module_override.h",
      "scoped_credential_suggestion_bottom_sheet_reauth_module_override.mm",
      ]
      deps = [
      "//base",
      "//ios/chrome/common/ui/reauthentication",
      ]
      }
      Tommy Martino . unresolved

      Let's put this in `../public` instead, so that non-test things aren't depending on `test/`

      File ios/chrome/browser/passwords/bottom_sheet/ui/BUILD.gn
      Line 22, Patchset 4 (Latest): "//ios/chrome/browser/favicon/model",
      Tommy Martino . unresolved

      Is this include needed? It's generally not allowed for anything `ui` to depend on anything `model`, and in this case I skimmed and didn't see any inclusions of this path.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Rafał Godlewski
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: Iec14b59323df22d8ca14724378b8b61bf8484fc0
        Gerrit-Change-Number: 7486890
        Gerrit-PatchSet: 4
        Gerrit-Owner: Rafał Godlewski <rg...@google.com>
        Gerrit-Reviewer: Rafał Godlewski <rg...@google.com>
        Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
        Gerrit-Attention: Rafał Godlewski <rg...@google.com>
        Gerrit-Comment-Date: Fri, 16 Jan 2026 20:07:34 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        Comment-In-Reply-To: Rafał Godlewski <rg...@google.com>
        Comment-In-Reply-To: Tommy Martino <tmar...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy
        Reply all
        Reply to author
        Forward
        0 new messages