Implement Profile Reset for Proxy Settings [chromium/src : main]

1 view
Skip to first unread message

Scott Violet (Gerrit)

unread,
Sep 5, 2024, 7:52:15 PM9/5/24
to Thomas Cedeno, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, Steven Bennetts, chromium...@chromium.org, telemetr...@chromium.org
Attention needed from Steven Bennetts

Scott Violet added 2 comments

File chrome/browser/profile_resetter/profile_resetter.h
Line 66, Patchset 9 (Latest): // These flags are using in conjunction with
Scott Violet . unresolved

using->used

File chrome/browser/profile_resetter/profile_resetter.cc
Line 451, Patchset 9 (Latest): MarkAsDone(DNS_CONFIGURATIONS);
Scott Violet . unresolved

What ensures dns is reset after extensions are done?

Open in Gerrit

Related details

Attention is currently required from:
  • Steven Bennetts
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
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: I21567b47888cc03f5b721de2665020fc875883ba
Gerrit-Change-Number: 5747390
Gerrit-PatchSet: 9
Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
Gerrit-Reviewer: Scott Violet <s...@chromium.org>
Gerrit-Reviewer: Steven Bennetts <stev...@chromium.org>
Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-Attention: Steven Bennetts <stev...@chromium.org>
Gerrit-Comment-Date: Thu, 05 Sep 2024 23:52:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Thomas Cedeno (Gerrit)

unread,
Sep 6, 2024, 12:25:46 PM9/6/24
to Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, Steven Bennetts, chromium...@chromium.org, telemetr...@chromium.org
Attention needed from Scott Violet and Steven Bennetts

Thomas Cedeno voted and added 2 comments

Votes added by Thomas Cedeno

Auto-Submit+1
Commit-Queue+1

2 comments

File chrome/browser/profile_resetter/profile_resetter.h
Line 66, Patchset 9 (Latest): // These flags are using in conjunction with
Scott Violet . resolved

using->used

Thomas Cedeno

Done

File chrome/browser/profile_resetter/profile_resetter.cc
Line 451, Patchset 9 (Latest): MarkAsDone(DNS_CONFIGURATIONS);
Scott Violet . resolved

What ensures dns is reset after extensions are done?

Thomas Cedeno

Using the sequence_checker ensures that every method launched in ProfileResetter is launched in sequential order in ResetSettingsImpl, I also manually confirmed this behavior through some debug logging, technically DCHECK_CALLED_ON_VALID_SEQUENCE would fail before this check.

Open in Gerrit

Related details

Attention is currently required from:
  • Scott Violet
  • Steven Bennetts
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
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: I21567b47888cc03f5b721de2665020fc875883ba
Gerrit-Change-Number: 5747390
Gerrit-PatchSet: 9
Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
Gerrit-Reviewer: Scott Violet <s...@chromium.org>
Gerrit-Reviewer: Steven Bennetts <stev...@chromium.org>
Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-Attention: Scott Violet <s...@chromium.org>
Gerrit-Attention: Steven Bennetts <stev...@chromium.org>
Gerrit-Comment-Date: Fri, 06 Sep 2024 16:25:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Scott Violet <s...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Scott Violet (Gerrit)

unread,
Sep 6, 2024, 3:27:57 PM9/6/24
to Thomas Cedeno, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, Steven Bennetts, chromium...@chromium.org, telemetr...@chromium.org
Attention needed from Steven Bennetts and Thomas Cedeno

Scott Violet added 1 comment

File chrome/browser/profile_resetter/profile_resetter.cc
Line 451, Patchset 9: MarkAsDone(DNS_CONFIGURATIONS);
Scott Violet . unresolved

What ensures dns is reset after extensions are done?

Thomas Cedeno

Using the sequence_checker ensures that every method launched in ProfileResetter is launched in sequential order in ResetSettingsImpl, I also manually confirmed this behavior through some debug logging, technically DCHECK_CALLED_ON_VALID_SEQUENCE would fail before this check.

Scott Violet

The sequence_checker_ doesn't really impact that. What matters is that extensions are cleared first *and* extensions completes synchronously. AFAICT this is what the code does. Given these two constraints, it shouldn't be possible to hit this code. By that I mean pending_reset_flags_ should never contain EXTENSIONS by the time this function is called. Unless I'm missing something I recommend adding a dcheck to that effect.

Open in Gerrit

Related details

Attention is currently required from:
  • Steven Bennetts
  • Thomas Cedeno
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: I21567b47888cc03f5b721de2665020fc875883ba
    Gerrit-Change-Number: 5747390
    Gerrit-PatchSet: 10
    Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
    Gerrit-Reviewer: Scott Violet <s...@chromium.org>
    Gerrit-Reviewer: Steven Bennetts <stev...@chromium.org>
    Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
    Gerrit-Attention: Steven Bennetts <stev...@chromium.org>
    Gerrit-Attention: Thomas Cedeno <thomas...@google.com>
    Gerrit-Comment-Date: Fri, 06 Sep 2024 19:27:49 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Scott Violet <s...@chromium.org>
    Comment-In-Reply-To: Thomas Cedeno <thomas...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Thomas Cedeno (Gerrit)

    unread,
    Sep 9, 2024, 10:18:28 AM9/9/24
    to Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, Steven Bennetts, chromium...@chromium.org, telemetr...@chromium.org
    Attention needed from Scott Violet and Steven Bennetts

    Thomas Cedeno voted and added 1 comment

    Votes added by Thomas Cedeno

    Auto-Submit+1
    Commit-Queue+1

    1 comment

    File chrome/browser/profile_resetter/profile_resetter.cc
    Line 451, Patchset 9: MarkAsDone(DNS_CONFIGURATIONS);
    Scott Violet . unresolved

    What ensures dns is reset after extensions are done?

    Thomas Cedeno

    Using the sequence_checker ensures that every method launched in ProfileResetter is launched in sequential order in ResetSettingsImpl, I also manually confirmed this behavior through some debug logging, technically DCHECK_CALLED_ON_VALID_SEQUENCE would fail before this check.

    Scott Violet

    The sequence_checker_ doesn't really impact that. What matters is that extensions are cleared first *and* extensions completes synchronously. AFAICT this is what the code does. Given these two constraints, it shouldn't be possible to hit this code. By that I mean pending_reset_flags_ should never contain EXTENSIONS by the time this function is called. Unless I'm missing something I recommend adding a dcheck to that effect.

    Thomas Cedeno

    IIUC CHECK is preferred over DCHECK; change is reflected otherwise

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Scott Violet
    • Steven Bennetts
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: I21567b47888cc03f5b721de2665020fc875883ba
    Gerrit-Change-Number: 5747390
    Gerrit-PatchSet: 12
    Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
    Gerrit-Reviewer: Scott Violet <s...@chromium.org>
    Gerrit-Reviewer: Steven Bennetts <stev...@chromium.org>
    Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
    Gerrit-Attention: Scott Violet <s...@chromium.org>
    Gerrit-Attention: Steven Bennetts <stev...@chromium.org>
    Gerrit-Comment-Date: Mon, 09 Sep 2024 14:18:17 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Scott Violet (Gerrit)

    unread,
    Sep 9, 2024, 10:30:55 AM9/9/24
    to Thomas Cedeno, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, Steven Bennetts, chromium...@chromium.org, telemetr...@chromium.org
    Attention needed from Steven Bennetts and Thomas Cedeno

    Scott Violet added 1 comment

    File chrome/browser/profile_resetter/profile_resetter.cc
    Line 451, Patchset 9: MarkAsDone(DNS_CONFIGURATIONS);
    Scott Violet . unresolved

    What ensures dns is reset after extensions are done?

    Thomas Cedeno

    Using the sequence_checker ensures that every method launched in ProfileResetter is launched in sequential order in ResetSettingsImpl, I also manually confirmed this behavior through some debug logging, technically DCHECK_CALLED_ON_VALID_SEQUENCE would fail before this check.

    Scott Violet

    The sequence_checker_ doesn't really impact that. What matters is that extensions are cleared first *and* extensions completes synchronously. AFAICT this is what the code does. Given these two constraints, it shouldn't be possible to hit this code. By that I mean pending_reset_flags_ should never contain EXTENSIONS by the time this function is called. Unless I'm missing something I recommend adding a dcheck to that effect.

    Thomas Cedeno

    IIUC CHECK is preferred over DCHECK; change is reflected otherwise

    Scott Violet

    Sorry if I wasn't clear. Based on my second comment in this thread I think lines 450-453 should change to:
    ```
    // DNS must be reset after extensions. Extensions are reset first, so by
    // the time we get here we should not be waiting on extensions.
    CHECK(!(pending_reset_flags_ & EXTENSIONS));
    ```

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Steven Bennetts
    • Thomas Cedeno
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: I21567b47888cc03f5b721de2665020fc875883ba
    Gerrit-Change-Number: 5747390
    Gerrit-PatchSet: 12
    Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
    Gerrit-Reviewer: Scott Violet <s...@chromium.org>
    Gerrit-Reviewer: Steven Bennetts <stev...@chromium.org>
    Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
    Gerrit-Attention: Steven Bennetts <stev...@chromium.org>
    Gerrit-Attention: Thomas Cedeno <thomas...@google.com>
    Gerrit-Comment-Date: Mon, 09 Sep 2024 14:30:46 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Thomas Cedeno (Gerrit)

    unread,
    Sep 9, 2024, 10:50:49 AM9/9/24
    to Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, Steven Bennetts, chromium...@chromium.org, telemetr...@chromium.org
    Attention needed from Scott Violet and Steven Bennetts

    Thomas Cedeno voted and added 1 comment

    Votes added by Thomas Cedeno

    Auto-Submit+1

    1 comment

    File chrome/browser/profile_resetter/profile_resetter.cc
    Line 451, Patchset 9: MarkAsDone(DNS_CONFIGURATIONS);
    Scott Violet . resolved

    What ensures dns is reset after extensions are done?

    Thomas Cedeno

    Using the sequence_checker ensures that every method launched in ProfileResetter is launched in sequential order in ResetSettingsImpl, I also manually confirmed this behavior through some debug logging, technically DCHECK_CALLED_ON_VALID_SEQUENCE would fail before this check.

    Scott Violet

    The sequence_checker_ doesn't really impact that. What matters is that extensions are cleared first *and* extensions completes synchronously. AFAICT this is what the code does. Given these two constraints, it shouldn't be possible to hit this code. By that I mean pending_reset_flags_ should never contain EXTENSIONS by the time this function is called. Unless I'm missing something I recommend adding a dcheck to that effect.

    Thomas Cedeno

    IIUC CHECK is preferred over DCHECK; change is reflected otherwise

    Scott Violet

    Sorry if I wasn't clear. Based on my second comment in this thread I think lines 450-453 should change to:
    ```
    // DNS must be reset after extensions. Extensions are reset first, so by
    // the time we get here we should not be waiting on extensions.
    CHECK(!(pending_reset_flags_ & EXTENSIONS));
    ```

    Thomas Cedeno

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Scott Violet
    • Steven Bennetts
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    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: I21567b47888cc03f5b721de2665020fc875883ba
    Gerrit-Change-Number: 5747390
    Gerrit-PatchSet: 13
    Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
    Gerrit-Reviewer: Scott Violet <s...@chromium.org>
    Gerrit-Reviewer: Steven Bennetts <stev...@chromium.org>
    Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
    Gerrit-Attention: Scott Violet <s...@chromium.org>
    Gerrit-Attention: Steven Bennetts <stev...@chromium.org>
    Gerrit-Comment-Date: Mon, 09 Sep 2024 14:50:40 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Scott Violet (Gerrit)

    unread,
    Sep 9, 2024, 12:20:08 PM9/9/24
    to Thomas Cedeno, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, Steven Bennetts, chromium...@chromium.org, telemetr...@chromium.org
    Attention needed from Steven Bennetts and Thomas Cedeno

    Scott Violet voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Steven Bennetts
    • Thomas Cedeno
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    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: I21567b47888cc03f5b721de2665020fc875883ba
    Gerrit-Change-Number: 5747390
    Gerrit-PatchSet: 13
    Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
    Gerrit-Reviewer: Scott Violet <s...@chromium.org>
    Gerrit-Reviewer: Steven Bennetts <stev...@chromium.org>
    Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
    Gerrit-Attention: Steven Bennetts <stev...@chromium.org>
    Gerrit-Attention: Thomas Cedeno <thomas...@google.com>
    Gerrit-Comment-Date: Mon, 09 Sep 2024 16:19:57 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Behnood Momenzadeh (Gerrit)

    unread,
    Sep 9, 2024, 6:15:24 PM9/9/24
    to Thomas Cedeno, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, Steven Bennetts, chromium...@chromium.org, telemetr...@chromium.org
    Attention needed from Steven Bennetts and Thomas Cedeno

    Behnood Momenzadeh added 1 comment

    File chrome/browser/profile_resetter/profile_resetter.cc
    Line 189, Patchset 13 (Latest): } flagToMethod[] = {
    Behnood Momenzadeh . unresolved

    Just a quick nit, now that we rely on the order of the methods here for the dns and proxy resets, leave a comment here as well, so no one accidentally changes the order of the methods here.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Steven Bennetts
    • Thomas Cedeno
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      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: I21567b47888cc03f5b721de2665020fc875883ba
      Gerrit-Change-Number: 5747390
      Gerrit-PatchSet: 13
      Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
      Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
      Gerrit-Reviewer: Scott Violet <s...@chromium.org>
      Gerrit-Reviewer: Steven Bennetts <stev...@chromium.org>
      Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
      Gerrit-Attention: Steven Bennetts <stev...@chromium.org>
      Gerrit-Attention: Thomas Cedeno <thomas...@google.com>
      Gerrit-Comment-Date: Mon, 09 Sep 2024 22:15:13 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Thomas Cedeno (Gerrit)

      unread,
      Sep 10, 2024, 10:43:09 AM9/10/24
      to Kyle Horimoto, Behnood Momenzadeh, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, telemetr...@chromium.org
      Attention needed from Behnood Momenzadeh and Kyle Horimoto

      Thomas Cedeno voted and added 1 comment

      Votes added by Thomas Cedeno

      Auto-Submit+1

      1 comment

      File chrome/browser/profile_resetter/profile_resetter.cc
      Line 189, Patchset 13: } flagToMethod[] = {
      Behnood Momenzadeh . resolved

      Just a quick nit, now that we rely on the order of the methods here for the dns and proxy resets, leave a comment here as well, so no one accidentally changes the order of the methods here.

      Thomas Cedeno

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Behnood Momenzadeh
      • Kyle Horimoto
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Review
      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: I21567b47888cc03f5b721de2665020fc875883ba
      Gerrit-Change-Number: 5747390
      Gerrit-PatchSet: 14
      Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
      Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
      Gerrit-Reviewer: Kyle Horimoto <khor...@chromium.org>
      Gerrit-Reviewer: Scott Violet <s...@chromium.org>
      Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
      Gerrit-Attention: Behnood Momenzadeh <behn...@chromium.org>
      Gerrit-Attention: Kyle Horimoto <khor...@chromium.org>
      Gerrit-Comment-Date: Tue, 10 Sep 2024 14:42:57 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Behnood Momenzadeh <behn...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Kyle Horimoto (Gerrit)

      unread,
      Sep 13, 2024, 12:39:50 PM9/13/24
      to Thomas Cedeno, Andreea Costinas, Behnood Momenzadeh, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, telemetr...@chromium.org, Kyle Horimoto
      Attention needed from Andreea Costinas, Behnood Momenzadeh and Thomas Cedeno

      Kyle Horimoto added 1 comment

      Patchset-level comments
      File-level comment, Patchset 15 (Latest):
      Kyle Horimoto . resolved

      I'm not a great reviewer for proxies; adding @acos...@google.com instead.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Andreea Costinas
      • Behnood Momenzadeh
      • Thomas Cedeno
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Review
      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: I21567b47888cc03f5b721de2665020fc875883ba
      Gerrit-Change-Number: 5747390
      Gerrit-PatchSet: 15
      Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
      Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
      Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
      Gerrit-Reviewer: Scott Violet <s...@chromium.org>
      Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
      Gerrit-Attention: Behnood Momenzadeh <behn...@chromium.org>
      Gerrit-Attention: Andreea Costinas <acos...@google.com>
      Gerrit-Attention: Thomas Cedeno <thomas...@google.com>
      Gerrit-Comment-Date: Fri, 13 Sep 2024 16:39:34 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Andreea Costinas (Gerrit)

      unread,
      Sep 16, 2024, 3:47:31 AM9/16/24
      to Thomas Cedeno, Behnood Momenzadeh, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, telemetr...@chromium.org
      Attention needed from Behnood Momenzadeh and Thomas Cedeno

      Andreea Costinas added 2 comments

      Patchset-level comments
      Andreea Costinas . resolved

      Hi Thomas,

      The approach LGTM but would it be possible to add a browser test that sets the proxy "from the settings UI" (like ProxyConfigServiceImplTest.NetworkProxy), run PlatfromSanitizeSettings and then check that the proxy is ignored?

      File chrome/browser/ui/webui/settings/reset_settings_handler.cc
      Line 135, Patchset 15 (Parent): "performSanitizeSettings",
      Andreea Costinas . unresolved

      Sorry if the question is silly, but why remove the callback registration? Isn't this callback still being called from os_sanitize_dialog.ts?

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Behnood Momenzadeh
      • Thomas Cedeno
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        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: I21567b47888cc03f5b721de2665020fc875883ba
        Gerrit-Change-Number: 5747390
        Gerrit-PatchSet: 15
        Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
        Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
        Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
        Gerrit-Reviewer: Scott Violet <s...@chromium.org>
        Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
        Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
        Gerrit-Attention: Behnood Momenzadeh <behn...@chromium.org>
        Gerrit-Attention: Thomas Cedeno <thomas...@google.com>
        Gerrit-Comment-Date: Mon, 16 Sep 2024 07:47:14 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Thomas Cedeno (Gerrit)

        unread,
        Sep 16, 2024, 3:01:39 PM9/16/24
        to Andreea Costinas, Behnood Momenzadeh, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, telemetr...@chromium.org
        Attention needed from Andreea Costinas and Behnood Momenzadeh

        Thomas Cedeno voted and added 1 comment

        Votes added by Thomas Cedeno

        Auto-Submit+1

        1 comment

        File chrome/browser/ui/webui/settings/reset_settings_handler.cc
        Line 135, Patchset 15 (Parent): "performSanitizeSettings",
        Andreea Costinas . resolved

        Sorry if the question is silly, but why remove the callback registration? Isn't this callback still being called from os_sanitize_dialog.ts?

        Thomas Cedeno

        This function was re-implemented at the request of an external team, this code removal is just come proactive clean-up on the side: https://chromium-review.googlesource.com/c/chromium/src/+/5649400/27/chrome/browser/ash/sanitize/chrome_sanitize_ui_delegate.cc.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Andreea Costinas
        • Behnood Momenzadeh
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Review
        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: I21567b47888cc03f5b721de2665020fc875883ba
        Gerrit-Change-Number: 5747390
        Gerrit-PatchSet: 15
        Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
        Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
        Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
        Gerrit-Reviewer: Scott Violet <s...@chromium.org>
        Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
        Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
        Gerrit-Attention: Behnood Momenzadeh <behn...@chromium.org>
        Gerrit-Attention: Andreea Costinas <acos...@google.com>
        Gerrit-Comment-Date: Mon, 16 Sep 2024 19:01:24 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        Comment-In-Reply-To: Andreea Costinas <acos...@google.com>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Thomas Cedeno (Gerrit)

        unread,
        Sep 20, 2024, 12:02:33 PM9/20/24
        to Andreea Costinas, Behnood Momenzadeh, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, telemetr...@chromium.org
        Attention needed from Andreea Costinas, Behnood Momenzadeh and Scott Violet

        Thomas Cedeno voted and added 1 comment

        Votes added by Thomas Cedeno

        Auto-Submit+0

        1 comment

        File chrome/browser/ash/system_web_apps/apps/sanitize_app_integration_browsertest.cc
        Line 72, Patchset 16 (Latest): content::EvalJsResult result =
        EvalJs(app_browser->tab_strip_model()->GetActiveWebContents(),
        "onPerformSanitize");
        Thomas Cedeno . unresolved

        @acos...@google.com, this is the "non-working" part I'm trying to figure out; after the Sanitize SWA opens it only presents one button that performs this Javascript function (https://source.corp.google.com/h/chrome-internal/codesearch/chrome/src/+/main:ash/webui/sanitize_ui/resources/sanitize_initial.ts;l=52?q=onPerformSanitize&ss=h%2Fchrome-internal%2Fcodesearch%2Fchrome%2Fsrc%2F%2B%2Frefs%2Fheads%2Fmain) in its call stack to initially begin the process. What is the best practice for executing this code for testing?

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Andreea Costinas
        • Behnood Momenzadeh
        • Scott Violet
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          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: I21567b47888cc03f5b721de2665020fc875883ba
          Gerrit-Change-Number: 5747390
          Gerrit-PatchSet: 16
          Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
          Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
          Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
          Gerrit-Reviewer: Scott Violet <s...@chromium.org>
          Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
          Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
          Gerrit-Attention: Behnood Momenzadeh <behn...@chromium.org>
          Gerrit-Attention: Andreea Costinas <acos...@google.com>
          Gerrit-Attention: Scott Violet <s...@chromium.org>
          Gerrit-Comment-Date: Fri, 20 Sep 2024 16:02:21 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Thomas Cedeno (Gerrit)

          unread,
          Sep 26, 2024, 3:30:24 PM9/26/24
          to Andreea Costinas, Behnood Momenzadeh, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, oshima...@chromium.org, telemetr...@chromium.org
          Attention needed from Andreea Costinas and Behnood Momenzadeh

          Thomas Cedeno added 1 comment

          File chrome/browser/ash/system_web_apps/apps/sanitize_app_integration_browsertest.cc
          Line 72, Patchset 16: content::EvalJsResult result =

          EvalJs(app_browser->tab_strip_model()->GetActiveWebContents(),
          "onPerformSanitize");
          Thomas Cedeno . resolved

          @acos...@google.com, this is the "non-working" part I'm trying to figure out; after the Sanitize SWA opens it only presents one button that performs this Javascript function (https://source.corp.google.com/h/chrome-internal/codesearch/chrome/src/+/main:ash/webui/sanitize_ui/resources/sanitize_initial.ts;l=52?q=onPerformSanitize&ss=h%2Fchrome-internal%2Fcodesearch%2Fchrome%2Fsrc%2F%2B%2Frefs%2Fheads%2Fmain) in its call stack to initially begin the process. What is the best practice for executing this code for testing?

          Thomas Cedeno

          Done

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Andreea Costinas
          • Behnood Momenzadeh
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not satisfiedCode-Review
          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: I21567b47888cc03f5b721de2665020fc875883ba
          Gerrit-Change-Number: 5747390
          Gerrit-PatchSet: 17
          Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
          Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
          Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
          Gerrit-Reviewer: Scott Violet <s...@chromium.org>
          Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
          Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
          Gerrit-Attention: Behnood Momenzadeh <behn...@chromium.org>
          Gerrit-Attention: Andreea Costinas <acos...@google.com>
          Gerrit-Comment-Date: Thu, 26 Sep 2024 19:30:14 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Thomas Cedeno <thomas...@google.com>
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Thomas Cedeno (Gerrit)

          unread,
          Sep 27, 2024, 3:49:41 PM9/27/24
          to Andreea Costinas, Behnood Momenzadeh, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, oshima...@chromium.org, telemetr...@chromium.org
          Attention needed from Andreea Costinas and Behnood Momenzadeh

          Thomas Cedeno voted

          Auto-Submit+1
          Commit-Queue+1
          Open in Gerrit

          Related details

          Attention is currently required from:
          • Andreea Costinas
          • Behnood Momenzadeh
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not satisfiedCode-Review
          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: I21567b47888cc03f5b721de2665020fc875883ba
          Gerrit-Change-Number: 5747390
          Gerrit-PatchSet: 19
          Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
          Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
          Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
          Gerrit-Reviewer: Scott Violet <s...@chromium.org>
          Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
          Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
          Gerrit-Attention: Behnood Momenzadeh <behn...@chromium.org>
          Gerrit-Attention: Andreea Costinas <acos...@google.com>
          Gerrit-Comment-Date: Fri, 27 Sep 2024 19:49:34 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Thomas Cedeno (Gerrit)

          unread,
          Oct 1, 2024, 10:05:25 AM10/1/24
          to Andreea Costinas, Behnood Momenzadeh, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, oshima...@chromium.org, telemetr...@chromium.org
          Attention needed from Andreea Costinas and Behnood Momenzadeh

          Thomas Cedeno voted

          Auto-Submit+1
          Commit-Queue+1
          Open in Gerrit

          Related details

          Attention is currently required from:
          • Andreea Costinas
          • Behnood Momenzadeh
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not satisfiedCode-Review
          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: I21567b47888cc03f5b721de2665020fc875883ba
          Gerrit-Change-Number: 5747390
          Gerrit-PatchSet: 21
          Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
          Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
          Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
          Gerrit-Reviewer: Scott Violet <s...@chromium.org>
          Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
          Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
          Gerrit-Attention: Behnood Momenzadeh <behn...@chromium.org>
          Gerrit-Attention: Andreea Costinas <acos...@google.com>
          Gerrit-Comment-Date: Tue, 01 Oct 2024 14:05:17 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Thomas Cedeno (Gerrit)

          unread,
          Oct 1, 2024, 10:25:26 AM10/1/24
          to Andreea Costinas, Behnood Momenzadeh, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, oshima...@chromium.org, telemetr...@chromium.org
          Attention needed from Andreea Costinas and Behnood Momenzadeh

          Thomas Cedeno voted

          Auto-Submit+1
          Commit-Queue+1
          Open in Gerrit

          Related details

          Attention is currently required from:
          • Andreea Costinas
          • Behnood Momenzadeh
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not satisfiedCode-Review
          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: I21567b47888cc03f5b721de2665020fc875883ba
          Gerrit-Change-Number: 5747390
          Gerrit-PatchSet: 22
          Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
          Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
          Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
          Gerrit-Reviewer: Scott Violet <s...@chromium.org>
          Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
          Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
          Gerrit-Attention: Behnood Momenzadeh <behn...@chromium.org>
          Gerrit-Attention: Andreea Costinas <acos...@google.com>
          Gerrit-Comment-Date: Tue, 01 Oct 2024 14:25:21 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Andreea Costinas (Gerrit)

          unread,
          Oct 1, 2024, 11:07:25 AM10/1/24
          to Thomas Cedeno, Behnood Momenzadeh, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, oshima...@chromium.org, telemetr...@chromium.org
          Attention needed from Behnood Momenzadeh and Thomas Cedeno

          Andreea Costinas voted and added 1 comment

          Votes added by Andreea Costinas

          Code-Review+1
          Commit-Queue+2

          1 comment

          Patchset-level comments
          File-level comment, Patchset 22 (Latest):
          Andreea Costinas . resolved

          Thanks for adding the tests!!

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Behnood Momenzadeh
          • Thomas Cedeno
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not satisfiedCode-Review
          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: I21567b47888cc03f5b721de2665020fc875883ba
          Gerrit-Change-Number: 5747390
          Gerrit-PatchSet: 22
          Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
          Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
          Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
          Gerrit-Reviewer: Scott Violet <s...@chromium.org>
          Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
          Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
          Gerrit-Attention: Behnood Momenzadeh <behn...@chromium.org>
          Gerrit-Attention: Thomas Cedeno <thomas...@google.com>
          Gerrit-Comment-Date: Tue, 01 Oct 2024 15:07:13 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Thomas Cedeno (Gerrit)

          unread,
          Oct 1, 2024, 11:43:23 AM10/1/24
          to Kyle Horimoto, Andreea Costinas, Behnood Momenzadeh, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, oshima...@chromium.org, telemetr...@chromium.org
          Attention needed from Andreea Costinas, Behnood Momenzadeh and Kyle Horimoto

          Thomas Cedeno voted Commit-Queue+1

          Commit-Queue+1
          Open in Gerrit

          Related details

          Attention is currently required from:
          • Andreea Costinas
          • Behnood Momenzadeh
          • Kyle Horimoto
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not satisfiedCode-Review
          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: I21567b47888cc03f5b721de2665020fc875883ba
          Gerrit-Change-Number: 5747390
          Gerrit-PatchSet: 22
          Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
          Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
          Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
          Gerrit-Reviewer: Kyle Horimoto <khor...@chromium.org>
          Gerrit-Reviewer: Scott Violet <s...@chromium.org>
          Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
          Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
          Gerrit-Attention: Behnood Momenzadeh <behn...@chromium.org>
          Gerrit-Attention: Andreea Costinas <acos...@google.com>
          Gerrit-Attention: Kyle Horimoto <khor...@chromium.org>
          Gerrit-Comment-Date: Tue, 01 Oct 2024 15:43:15 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Kyle Horimoto (Gerrit)

          unread,
          Oct 1, 2024, 4:49:53 PM10/1/24
          to Thomas Cedeno, Kyle Horimoto, Andreea Costinas, Behnood Momenzadeh, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, oshima...@chromium.org, telemetr...@chromium.org
          Attention needed from Andreea Costinas, Behnood Momenzadeh and Thomas Cedeno

          Kyle Horimoto added 2 comments

          Commit Message
          Line 11, Patchset 22 (Latest):"Allow proxies for shared networks" in chrome://settings and it's
          Kyle Horimoto . unresolved

          `its`

          File chrome/browser/ash/sanitize/chrome_sanitize_ui_delegate.cc
          Line 51, Patchset 22 (Latest): if (restart_chrome_) {
          chrome::AttemptRestart();
          }
          }
          Kyle Horimoto . unresolved

          Is there any way that we can get the test to set some test global in `chrome::AttemptRestart()`? This CL adds a lot of extra boilerplate in several places, which adds a lot of complexity for a test-only feature.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Andreea Costinas
          • Behnood Momenzadeh
          • Thomas Cedeno
          Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement is not satisfiedCode-Review
            • requirement is not satisfiedNo-Unresolved-Comments
            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: I21567b47888cc03f5b721de2665020fc875883ba
            Gerrit-Change-Number: 5747390
            Gerrit-PatchSet: 22
            Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
            Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
            Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
            Gerrit-Reviewer: Kyle Horimoto <khor...@chromium.org>
            Gerrit-Reviewer: Scott Violet <s...@chromium.org>
            Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
            Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
            Gerrit-Attention: Behnood Momenzadeh <behn...@chromium.org>
            Gerrit-Attention: Andreea Costinas <acos...@google.com>
            Gerrit-Attention: Thomas Cedeno <thomas...@google.com>
            Gerrit-Comment-Date: Tue, 01 Oct 2024 20:49:41 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Thomas Cedeno (Gerrit)

            unread,
            Oct 2, 2024, 12:16:14 PM10/2/24
            to Kyle Horimoto, Andreea Costinas, Behnood Momenzadeh, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, oshima...@chromium.org, telemetr...@chromium.org
            Attention needed from Andreea Costinas, Behnood Momenzadeh and Kyle Horimoto

            Thomas Cedeno voted and added 2 comments

            Votes added by Thomas Cedeno

            Auto-Submit+1
            Commit-Queue+1

            2 comments

            Commit Message
            Line 11, Patchset 22:"Allow proxies for shared networks" in chrome://settings and it's
            Kyle Horimoto . resolved

            `its`

            Thomas Cedeno

            Done

            File chrome/browser/ash/sanitize/chrome_sanitize_ui_delegate.cc
            Line 51, Patchset 22: if (restart_chrome_) {
            chrome::AttemptRestart();
            }
            }
            Kyle Horimoto . resolved

            Is there any way that we can get the test to set some test global in `chrome::AttemptRestart()`? This CL adds a lot of extra boilerplate in several places, which adds a lot of complexity for a test-only feature.

            Thomas Cedeno

            To be honest, the answer is mostly no, there is no global within Chrome::AttemptRestart. Other browser tests who have similar considerations (https://source.corp.google.com/search?q=file:browsertest%20AttemptRestart&ss=h%2Fchromium%2Fchromium%2Fsrc%2F%2B%2Frefs%2Fheads%2Fmain) mainly inject chrome::AttemptRestart as a functional closure during testing. I'll modify the CL since this is slightly cleaner than using bools for control.

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Andreea Costinas
            • Behnood Momenzadeh
            • Kyle Horimoto
            Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement is not satisfiedCode-Review
            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: I21567b47888cc03f5b721de2665020fc875883ba
            Gerrit-Change-Number: 5747390
            Gerrit-PatchSet: 24
            Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
            Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
            Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
            Gerrit-Reviewer: Kyle Horimoto <khor...@chromium.org>
            Gerrit-Reviewer: Scott Violet <s...@chromium.org>
            Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
            Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
            Gerrit-Attention: Behnood Momenzadeh <behn...@chromium.org>
            Gerrit-Attention: Andreea Costinas <acos...@google.com>
            Gerrit-Attention: Kyle Horimoto <khor...@chromium.org>
            Gerrit-Comment-Date: Wed, 02 Oct 2024 16:16:02 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes
            Comment-In-Reply-To: Kyle Horimoto <khor...@chromium.org>
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Thomas Cedeno (Gerrit)

            unread,
            Oct 2, 2024, 2:07:15 PM10/2/24
            to Kyle Horimoto, Andreea Costinas, Behnood Momenzadeh, Scott Violet, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, oshima...@chromium.org, telemetr...@chromium.org
            Attention needed from Andreea Costinas, Behnood Momenzadeh and Kyle Horimoto

            Thomas Cedeno voted

            Auto-Submit+1
            Commit-Queue+1
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Andreea Costinas
            • Behnood Momenzadeh
            • Kyle Horimoto
            Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement is not satisfiedCode-Review
            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: I21567b47888cc03f5b721de2665020fc875883ba
            Gerrit-Change-Number: 5747390
            Gerrit-PatchSet: 25
            Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
            Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
            Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
            Gerrit-Reviewer: Kyle Horimoto <khor...@chromium.org>
            Gerrit-Reviewer: Scott Violet <s...@chromium.org>
            Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
            Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
            Gerrit-Attention: Behnood Momenzadeh <behn...@chromium.org>
            Gerrit-Attention: Andreea Costinas <acos...@google.com>
            Gerrit-Attention: Kyle Horimoto <khor...@chromium.org>
            Gerrit-Comment-Date: Wed, 02 Oct 2024 18:07:07 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Scott Violet (Gerrit)

            unread,
            Oct 9, 2024, 1:54:29 PM10/9/24
            to Thomas Cedeno, Scott Violet, Kyle Horimoto, Andreea Costinas, Behnood Momenzadeh, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, oshima...@chromium.org, telemetr...@chromium.org
            Attention needed from Andreea Costinas, Kyle Horimoto and Thomas Cedeno

            Scott Violet voted and added 1 comment

            Votes added by Scott Violet

            Code-Review+1

            1 comment

            File chrome/test/data/webui/chromeos/sanitize_ui/sanitize_ui_browsertest.cc
            Line 117, Patchset 25 (Latest): const GURL urls[] = {GURL("http://foo"), GURL("http://bar")};
            Scott Violet . unresolved

            Can you share these constants with line 78? Perhaps a function to return a vector of urls?

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Andreea Costinas
            • Kyle Horimoto
            • Thomas Cedeno
            Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement is not satisfiedCode-Review
              • requirement is not satisfiedNo-Unresolved-Comments
              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: I21567b47888cc03f5b721de2665020fc875883ba
              Gerrit-Change-Number: 5747390
              Gerrit-PatchSet: 25
              Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
              Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
              Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
              Gerrit-Reviewer: Kyle Horimoto <khor...@chromium.org>
              Gerrit-Reviewer: Scott Violet <s...@chromium.org>
              Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
              Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
              Gerrit-Attention: Andreea Costinas <acos...@google.com>
              Gerrit-Attention: Kyle Horimoto <khor...@chromium.org>
              Gerrit-Attention: Thomas Cedeno <thomas...@google.com>
              Gerrit-Comment-Date: Wed, 09 Oct 2024 17:54:17 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Thomas Cedeno (Gerrit)

              unread,
              Oct 9, 2024, 5:04:51 PM10/9/24
              to Scott Violet, Kyle Horimoto, Andreea Costinas, Behnood Momenzadeh, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, oshima...@chromium.org, telemetr...@chromium.org
              Attention needed from Andreea Costinas and Kyle Horimoto

              Thomas Cedeno voted and added 1 comment

              Votes added by Thomas Cedeno

              Auto-Submit+1

              1 comment

              File chrome/test/data/webui/chromeos/sanitize_ui/sanitize_ui_browsertest.cc
              Line 117, Patchset 25: const GURL urls[] = {GURL("http://foo"), GURL("http://bar")};
              Scott Violet . resolved

              Can you share these constants with line 78? Perhaps a function to return a vector of urls?

              Thomas Cedeno

              I've collated the strings as constexpr - the raw values are used beyond GURL() constructors.

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Andreea Costinas
              • Kyle Horimoto
              Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement is not satisfiedCode-Review
              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: I21567b47888cc03f5b721de2665020fc875883ba
              Gerrit-Change-Number: 5747390
              Gerrit-PatchSet: 26
              Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
              Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
              Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
              Gerrit-Reviewer: Kyle Horimoto <khor...@chromium.org>
              Gerrit-Reviewer: Scott Violet <s...@chromium.org>
              Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
              Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
              Gerrit-Attention: Andreea Costinas <acos...@google.com>
              Gerrit-Attention: Kyle Horimoto <khor...@chromium.org>
              Gerrit-Comment-Date: Wed, 09 Oct 2024 21:04:37 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: Yes
              Comment-In-Reply-To: Scott Violet <s...@chromium.org>
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Andreea Costinas (Gerrit)

              unread,
              Oct 10, 2024, 3:03:45 AM10/10/24
              to Thomas Cedeno, Scott Violet, Kyle Horimoto, Behnood Momenzadeh, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, oshima...@chromium.org, telemetr...@chromium.org
              Attention needed from Kyle Horimoto and Thomas Cedeno

              Andreea Costinas voted Code-Review+1

              Code-Review+1
              Open in Gerrit

              Related details

              Attention is currently required from:
              • Kyle Horimoto
              • Thomas Cedeno
              Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement satisfiedCode-Review
              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: I21567b47888cc03f5b721de2665020fc875883ba
              Gerrit-Change-Number: 5747390
              Gerrit-PatchSet: 26
              Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
              Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
              Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
              Gerrit-Reviewer: Kyle Horimoto <khor...@chromium.org>
              Gerrit-Reviewer: Scott Violet <s...@chromium.org>
              Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
              Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
              Gerrit-Attention: Kyle Horimoto <khor...@chromium.org>
              Gerrit-Attention: Thomas Cedeno <thomas...@google.com>
              Gerrit-Comment-Date: Thu, 10 Oct 2024 07:03:34 +0000
              Gerrit-HasComments: No
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              open
              diffy

              Thomas Cedeno (Gerrit)

              unread,
              Oct 15, 2024, 9:53:07 AM10/15/24
              to Andreea Costinas, Scott Violet, Kyle Horimoto, Behnood Momenzadeh, Tricium, AyeAye, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, oshima...@chromium.org, telemetr...@chromium.org
              Attention needed from Kyle Horimoto

              Thomas Cedeno voted Commit-Queue+2

              Commit-Queue+2
              Open in Gerrit

              Related details

              Attention is currently required from:
              • Kyle Horimoto
              Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement satisfiedCode-Review
              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: I21567b47888cc03f5b721de2665020fc875883ba
              Gerrit-Change-Number: 5747390
              Gerrit-PatchSet: 26
              Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
              Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
              Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
              Gerrit-Reviewer: Kyle Horimoto <khor...@chromium.org>
              Gerrit-Reviewer: Scott Violet <s...@chromium.org>
              Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
              Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
              Gerrit-Attention: Kyle Horimoto <khor...@chromium.org>
              Gerrit-Comment-Date: Tue, 15 Oct 2024 13:52:56 +0000
              Gerrit-HasComments: No
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              open
              diffy

              Chromium LUCI CQ (Gerrit)

              unread,
              Oct 15, 2024, 12:02:23 PM10/15/24
              to Thomas Cedeno, Andreea Costinas, Scott Violet, Kyle Horimoto, Behnood Momenzadeh, Tricium, AyeAye, Code Review Nudger, chromium...@chromium.org, oshima...@chromium.org, telemetr...@chromium.org

              Chromium LUCI CQ submitted the change

              Change information

              Commit message:
              Implement Profile Reset for Proxy Settings

              As part of Back to Safety, implements a reset of proxy settings
              of the profile tied to the default network, changes
              "Allow proxies for shared networks" in chrome://settings and its
              associated Shill settings.
              Bug: b:339226276
              Change-Id: I21567b47888cc03f5b721de2665020fc875883ba
              Auto-Submit: Thomas Cedeno <thomas...@google.com>
              Reviewed-by: Andreea Costinas <acos...@google.com>
              Reviewed-by: Scott Violet <s...@chromium.org>
              Commit-Queue: Thomas Cedeno <thomas...@google.com>
              Cr-Commit-Position: refs/heads/main@{#1368811}
              Files:
              • M ash/webui/sanitize_ui/sanitize_ui.cc
              • M ash/webui/sanitize_ui/sanitize_ui.h
              • M ash/webui/sanitize_ui/sanitize_ui_delegate.h
              • M chrome/browser/ash/sanitize/chrome_sanitize_ui_delegate.cc
              • M chrome/browser/ash/sanitize/chrome_sanitize_ui_delegate.h
              • M chrome/browser/ash/sanitize/chrome_sanitize_ui_delegate_unittest.cc
              • M chrome/browser/profile_resetter/profile_resetter.cc
              • M chrome/browser/profile_resetter/profile_resetter.h
              • M chrome/browser/ui/webui/settings/reset_settings_handler.cc
              • M chrome/browser/ui/webui/settings/reset_settings_handler.h
              • M chrome/test/data/webui/BUILD.gn
              • A chrome/test/data/webui/chromeos/sanitize_ui/DEPS
              • M chrome/test/data/webui/chromeos/sanitize_ui/sanitize_ui_browsertest.cc
              • M chrome/test/data/webui/chromeos/sanitize_ui/sanitize_ui_test.ts
              Change size: L
              Delta: 14 files changed, 210 insertions(+), 93 deletions(-)
              Branch: refs/heads/main
              Submit Requirements:
              • requirement satisfiedCode-Review: +1 by Scott Violet, +1 by Andreea Costinas
              Open in Gerrit
              Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
              Gerrit-MessageType: merged
              Gerrit-Project: chromium/src
              Gerrit-Branch: main
              Gerrit-Change-Id: I21567b47888cc03f5b721de2665020fc875883ba
              Gerrit-Change-Number: 5747390
              Gerrit-PatchSet: 27
              Gerrit-Owner: Thomas Cedeno <thomas...@google.com>
              Gerrit-Reviewer: Andreea Costinas <acos...@google.com>
              Gerrit-Reviewer: Behnood Momenzadeh <behn...@chromium.org>
              Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
              Gerrit-Reviewer: Kyle Horimoto <khor...@chromium.org>
              Gerrit-Reviewer: Scott Violet <s...@chromium.org>
              Gerrit-Reviewer: Thomas Cedeno <thomas...@google.com>
              open
              diffy
              satisfied_requirement
              Reply all
              Reply to author
              Forward
              0 new messages