Remove chrome:: namespace from feedback_dialog_utils [chromium/src : main]

2 views
Skip to first unread message

Jincheol Jo (Gerrit)

unread,
Oct 28, 2025, 10:57:07 PM (3 days ago) Oct 28
to Jimmy Gong, Xiangdong Kong, Hidehiko Abe, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org, rrsilva+wat...@google.com
Attention needed from Hidehiko Abe, Jimmy Gong and Xiangdong Kong

Jincheol Jo added 1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Jincheol Jo . resolved

PTAL! Thanks

Open in Gerrit

Related details

Attention is currently required from:
  • Hidehiko Abe
  • Jimmy Gong
  • Xiangdong Kong
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: I0343a169fec510b0c6b6024221411591dfdef297
Gerrit-Change-Number: 7093497
Gerrit-PatchSet: 2
Gerrit-Owner: Jincheol Jo <jinch...@navercorp.com>
Gerrit-Reviewer: Hidehiko Abe <hide...@chromium.org>
Gerrit-Reviewer: Jimmy Gong <jimmy...@chromium.org>
Gerrit-Reviewer: Jincheol Jo <jinch...@navercorp.com>
Gerrit-Reviewer: Xiangdong Kong <xiangd...@google.com>
Gerrit-Attention: Jimmy Gong <jimmy...@chromium.org>
Gerrit-Attention: Xiangdong Kong <xiangd...@google.com>
Gerrit-Attention: Hidehiko Abe <hide...@chromium.org>
Gerrit-Comment-Date: Wed, 29 Oct 2025 02:56:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Hidehiko Abe (Gerrit)

unread,
Oct 29, 2025, 12:58:35 AM (3 days ago) Oct 29
to Jincheol Jo, Tom Lukaszewicz, Jimmy Gong, Xiangdong Kong, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org, rrsilva+wat...@google.com
Attention needed from Jimmy Gong, Jincheol Jo, Tom Lukaszewicz and Xiangdong Kong

Hidehiko Abe added 2 comments

Patchset-level comments
Hidehiko Abe . resolved

cc: tluk@ for browser code structure.

File chrome/browser/feedback/feedback_dialog_utils.h
Line 15, Patchset 2 (Parent):namespace chrome {
Hidehiko Abe . unresolved

I saw some discussion about similar pattern.

https://chromium-review.googlesource.com/c/chromium/src/+/6472403/comments/1da4c962_b2600f31

and there looks no very clear consensus? The linked bug also looked very old and so based on old C++ specs.

quoting: the description of the original comment

Methods in the global scope should be used rarely and have distinct names; prefer static methods on classes where possible.

I think this is still conceptually valid. In this specific case, everything that are being distributed into global namespace is feedback dialog related. Can we just group them into the case?
Any discussions did you have with surrounding/expert people already? If so, could you share the reference so that I can take a look?

Open in Gerrit

Related details

Attention is currently required from:
  • Jimmy Gong
  • Jincheol Jo
  • Tom Lukaszewicz
  • Xiangdong Kong
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: I0343a169fec510b0c6b6024221411591dfdef297
    Gerrit-Change-Number: 7093497
    Gerrit-PatchSet: 2
    Gerrit-Owner: Jincheol Jo <jinch...@navercorp.com>
    Gerrit-Reviewer: Hidehiko Abe <hide...@chromium.org>
    Gerrit-Reviewer: Jimmy Gong <jimmy...@chromium.org>
    Gerrit-Reviewer: Jincheol Jo <jinch...@navercorp.com>
    Gerrit-Reviewer: Xiangdong Kong <xiangd...@google.com>
    Gerrit-CC: Tom Lukaszewicz <tl...@chromium.org>
    Gerrit-Attention: Jimmy Gong <jimmy...@chromium.org>
    Gerrit-Attention: Xiangdong Kong <xiangd...@google.com>
    Gerrit-Attention: Jincheol Jo <jinch...@navercorp.com>
    Gerrit-Attention: Tom Lukaszewicz <tl...@chromium.org>
    Gerrit-Comment-Date: Wed, 29 Oct 2025 04:58:11 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Jincheol Jo (Gerrit)

    unread,
    Oct 29, 2025, 1:14:54 AM (3 days ago) Oct 29
    to Tom Lukaszewicz, Jimmy Gong, Xiangdong Kong, Hidehiko Abe, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org, rrsilva+wat...@google.com
    Attention needed from Hidehiko Abe, Jimmy Gong, Tom Lukaszewicz and Xiangdong Kong

    Jincheol Jo added 1 comment

    File chrome/browser/feedback/feedback_dialog_utils.h
    Hidehiko Abe . resolved

    I saw some discussion about similar pattern.

    https://chromium-review.googlesource.com/c/chromium/src/+/6472403/comments/1da4c962_b2600f31

    and there looks no very clear consensus? The linked bug also looked very old and so based on old C++ specs.

    quoting: the description of the original comment

    Methods in the global scope should be used rarely and have distinct names; prefer static methods on classes where possible.

    I think this is still conceptually valid. In this specific case, everything that are being distributed into global namespace is feedback dialog related. Can we just group them into the case?
    Any discussions did you have with surrounding/expert people already? If so, could you share the reference so that I can take a look?

    Jincheol Jo

    Hi. Hidehiko.

    1. When you say “group them into the case,” do you mean putting them into a feedback_dialog_utils class or namespace?

    2. I haven’t discussed this with any experts — I just made the contribution based on that issue.

    Thanks

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Hidehiko Abe
    • Jimmy Gong
    • Tom Lukaszewicz
    • Xiangdong Kong
    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: I0343a169fec510b0c6b6024221411591dfdef297
      Gerrit-Change-Number: 7093497
      Gerrit-PatchSet: 2
      Gerrit-Owner: Jincheol Jo <jinch...@navercorp.com>
      Gerrit-Reviewer: Hidehiko Abe <hide...@chromium.org>
      Gerrit-Reviewer: Jimmy Gong <jimmy...@chromium.org>
      Gerrit-Reviewer: Jincheol Jo <jinch...@navercorp.com>
      Gerrit-Reviewer: Xiangdong Kong <xiangd...@google.com>
      Gerrit-CC: Tom Lukaszewicz <tl...@chromium.org>
      Gerrit-Attention: Jimmy Gong <jimmy...@chromium.org>
      Gerrit-Attention: Xiangdong Kong <xiangd...@google.com>
      Gerrit-Attention: Tom Lukaszewicz <tl...@chromium.org>
      Gerrit-Attention: Hidehiko Abe <hide...@chromium.org>
      Gerrit-Comment-Date: Wed, 29 Oct 2025 05:14:23 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Hidehiko Abe <hide...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Hidehiko Abe (Gerrit)

      unread,
      Oct 29, 2025, 7:10:24 AM (2 days ago) Oct 29
      to Jincheol Jo, Tom Lukaszewicz, Jimmy Gong, Xiangdong Kong, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org, rrsilva+wat...@google.com
      Attention needed from Jimmy Gong, Jincheol Jo, Tom Lukaszewicz and Xiangdong Kong

      Hidehiko Abe added 1 comment

      File chrome/browser/feedback/feedback_dialog_utils.h
      Hidehiko Abe . unresolved

      I saw some discussion about similar pattern.

      https://chromium-review.googlesource.com/c/chromium/src/+/6472403/comments/1da4c962_b2600f31

      and there looks no very clear consensus? The linked bug also looked very old and so based on old C++ specs.

      quoting: the description of the original comment

      Methods in the global scope should be used rarely and have distinct names; prefer static methods on classes where possible.

      I think this is still conceptually valid. In this specific case, everything that are being distributed into global namespace is feedback dialog related. Can we just group them into the case?
      Any discussions did you have with surrounding/expert people already? If so, could you share the reference so that I can take a look?

      Jincheol Jo

      Hi. Hidehiko.

      1. When you say “group them into the case,” do you mean putting them into a feedback_dialog_utils class or namespace?

      2. I haven’t discussed this with any experts — I just made the contribution based on that issue.

      Thanks

      Hidehiko Abe

      Marked as unresolved.

      “group them into the case,” do you mean putting them into a feedback_dialog_utils class or namespace?

      something like that, but TBD details. (Up to the owner of feedback module)

      I haven’t discussed this with any experts — I just made the contribution based on that issue.

      I'd recommend to do this with holding on this CL review, as starting point to move forward. We can resume the CL review, once we have clear consensus/recommendations from the experts.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Jimmy Gong
      • Jincheol Jo
      • Tom Lukaszewicz
      • Xiangdong Kong
      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: I0343a169fec510b0c6b6024221411591dfdef297
        Gerrit-Change-Number: 7093497
        Gerrit-PatchSet: 2
        Gerrit-Owner: Jincheol Jo <jinch...@navercorp.com>
        Gerrit-Reviewer: Hidehiko Abe <hide...@chromium.org>
        Gerrit-Reviewer: Jimmy Gong <jimmy...@chromium.org>
        Gerrit-Reviewer: Jincheol Jo <jinch...@navercorp.com>
        Gerrit-Reviewer: Xiangdong Kong <xiangd...@google.com>
        Gerrit-CC: Tom Lukaszewicz <tl...@chromium.org>
        Gerrit-Attention: Jimmy Gong <jimmy...@chromium.org>
        Gerrit-Attention: Xiangdong Kong <xiangd...@google.com>
        Gerrit-Attention: Jincheol Jo <jinch...@navercorp.com>
        Gerrit-Attention: Tom Lukaszewicz <tl...@chromium.org>
        Gerrit-Comment-Date: Wed, 29 Oct 2025 11:09:52 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Jincheol Jo <jinch...@navercorp.com>
        Comment-In-Reply-To: Hidehiko Abe <hide...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Tom Lukaszewicz (Gerrit)

        unread,
        Oct 30, 2025, 11:05:39 PM (17 hours ago) Oct 30
        to Jincheol Jo, Jimmy Gong, Xiangdong Kong, Hidehiko Abe, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org, rrsilva+wat...@google.com
        Attention needed from Hidehiko Abe, Jimmy Gong, Jincheol Jo and Xiangdong Kong

        Tom Lukaszewicz added 1 comment

        File chrome/browser/feedback/feedback_dialog_utils.h
        Hidehiko Abe . resolved

        I saw some discussion about similar pattern.

        https://chromium-review.googlesource.com/c/chromium/src/+/6472403/comments/1da4c962_b2600f31

        and there looks no very clear consensus? The linked bug also looked very old and so based on old C++ specs.

        quoting: the description of the original comment

        Methods in the global scope should be used rarely and have distinct names; prefer static methods on classes where possible.

        I think this is still conceptually valid. In this specific case, everything that are being distributed into global namespace is feedback dialog related. Can we just group them into the case?
        Any discussions did you have with surrounding/expert people already? If so, could you share the reference so that I can take a look?

        Jincheol Jo

        Hi. Hidehiko.

        1. When you say “group them into the case,” do you mean putting them into a feedback_dialog_utils class or namespace?

        2. I haven’t discussed this with any experts — I just made the contribution based on that issue.

        Thanks

        Hidehiko Abe

        Marked as unresolved.

        “group them into the case,” do you mean putting them into a feedback_dialog_utils class or namespace?

        something like that, but TBD details. (Up to the owner of feedback module)

        I haven’t discussed this with any experts — I just made the contribution based on that issue.

        I'd recommend to do this with holding on this CL review, as starting point to move forward. We can resume the CL review, once we have clear consensus/recommendations from the experts.

        Tom Lukaszewicz

        +1 on hidehiko's comment above - we should re-open this discussion and cc others from the CL above and get to consensus before proceeding further with this refactor.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Hidehiko Abe
        • Jimmy Gong
        • Jincheol Jo
        • Xiangdong Kong
        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: I0343a169fec510b0c6b6024221411591dfdef297
          Gerrit-Change-Number: 7093497
          Gerrit-PatchSet: 2
          Gerrit-Owner: Jincheol Jo <jinch...@navercorp.com>
          Gerrit-Reviewer: Hidehiko Abe <hide...@chromium.org>
          Gerrit-Reviewer: Jimmy Gong <jimmy...@chromium.org>
          Gerrit-Reviewer: Jincheol Jo <jinch...@navercorp.com>
          Gerrit-Reviewer: Xiangdong Kong <xiangd...@google.com>
          Gerrit-CC: Tom Lukaszewicz <tl...@chromium.org>
          Gerrit-Attention: Jimmy Gong <jimmy...@chromium.org>
          Gerrit-Attention: Xiangdong Kong <xiangd...@google.com>
          Gerrit-Attention: Jincheol Jo <jinch...@navercorp.com>
          Gerrit-Attention: Hidehiko Abe <hide...@chromium.org>
          Gerrit-Comment-Date: Fri, 31 Oct 2025 03:05:04 +0000
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Tom Lukaszewicz (Gerrit)

          unread,
          Oct 30, 2025, 11:06:54 PM (17 hours ago) Oct 30
          to Jincheol Jo, Jimmy Gong, Xiangdong Kong, Hidehiko Abe, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org, rrsilva+wat...@google.com
          Attention needed from Hidehiko Abe, Jimmy Gong, Jincheol Jo and Xiangdong Kong

          Tom Lukaszewicz added 1 comment

          File chrome/browser/feedback/feedback_dialog_utils.h
          Hidehiko Abe . unresolved

          I saw some discussion about similar pattern.

          https://chromium-review.googlesource.com/c/chromium/src/+/6472403/comments/1da4c962_b2600f31

          and there looks no very clear consensus? The linked bug also looked very old and so based on old C++ specs.

          quoting: the description of the original comment

          Methods in the global scope should be used rarely and have distinct names; prefer static methods on classes where possible.

          I think this is still conceptually valid. In this specific case, everything that are being distributed into global namespace is feedback dialog related. Can we just group them into the case?
          Any discussions did you have with surrounding/expert people already? If so, could you share the reference so that I can take a look?

          Jincheol Jo

          Hi. Hidehiko.

          1. When you say “group them into the case,” do you mean putting them into a feedback_dialog_utils class or namespace?

          2. I haven’t discussed this with any experts — I just made the contribution based on that issue.

          Thanks

          Hidehiko Abe

          Marked as unresolved.

          “group them into the case,” do you mean putting them into a feedback_dialog_utils class or namespace?

          something like that, but TBD details. (Up to the owner of feedback module)

          I haven’t discussed this with any experts — I just made the contribution based on that issue.

          I'd recommend to do this with holding on this CL review, as starting point to move forward. We can resume the CL review, once we have clear consensus/recommendations from the experts.

          Tom Lukaszewicz

          +1 on hidehiko's comment above - we should re-open this discussion and cc others from the CL above and get to consensus before proceeding further with this refactor.

          Tom Lukaszewicz

          Marked as unresolved.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Hidehiko Abe
          • Jimmy Gong
          • Jincheol Jo
          • Xiangdong Kong
          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: I0343a169fec510b0c6b6024221411591dfdef297
            Gerrit-Change-Number: 7093497
            Gerrit-PatchSet: 2
            Gerrit-Owner: Jincheol Jo <jinch...@navercorp.com>
            Gerrit-Reviewer: Hidehiko Abe <hide...@chromium.org>
            Gerrit-Reviewer: Jimmy Gong <jimmy...@chromium.org>
            Gerrit-Reviewer: Jincheol Jo <jinch...@navercorp.com>
            Gerrit-Reviewer: Xiangdong Kong <xiangd...@google.com>
            Gerrit-CC: Tom Lukaszewicz <tl...@chromium.org>
            Gerrit-Attention: Jimmy Gong <jimmy...@chromium.org>
            Gerrit-Attention: Xiangdong Kong <xiangd...@google.com>
            Gerrit-Attention: Jincheol Jo <jinch...@navercorp.com>
            Gerrit-Attention: Hidehiko Abe <hide...@chromium.org>
            Gerrit-Comment-Date: Fri, 31 Oct 2025 03:06:21 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: Jincheol Jo <jinch...@navercorp.com>
            Comment-In-Reply-To: Tom Lukaszewicz <tl...@chromium.org>
            Comment-In-Reply-To: Hidehiko Abe <hide...@chromium.org>
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy
            Reply all
            Reply to author
            Forward
            0 new messages