Add a FeatureParam for disabling StorageAccessAPI grant refreshes [chromium/src : main]

0 views
Skip to first unread message

Chris Fredrickson (Gerrit)

unread,
Jun 7, 2023, 1:11:46 PM6/7/23
to Shuran Huang, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org

Attention is currently required from: Shuran Huang.

Chris Fredrickson would like Shuran Huang to review this change.

View Change

Add a FeatureParam for disabling StorageAccessAPI grant refreshes

When the param is disabled, we still create the SAA service, but all calls into it will be a no-op, and it will not start its periodic
cache-clearing timer.

Bug: 1450356
Change-Id: I694cd3c40a497db477a70f60e5e89d51ab69a75c
---
M chrome/browser/storage_access_api/storage_access_api_service_impl.cc
M chrome/browser/storage_access_api/storage_access_api_service_impl.h
M third_party/blink/common/features.cc
M third_party/blink/public/common/features.h
4 files changed, 25 insertions(+), 1 deletion(-)


To view, visit change 4598574. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I694cd3c40a497db477a70f60e5e89d51ab69a75c
Gerrit-Change-Number: 4598574
Gerrit-PatchSet: 3
Gerrit-Owner: Chris Fredrickson <cfre...@chromium.org>
Gerrit-Reviewer: Chris Fredrickson <cfre...@chromium.org>
Gerrit-Reviewer: Shuran Huang <shu...@chromium.org>
Gerrit-Attention: Shuran Huang <shu...@chromium.org>

Chris Fredrickson (Gerrit)

unread,
Jun 7, 2023, 1:11:49 PM6/7/23
to blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, Shuran Huang, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Shuran Huang.

Patch set 3:Commit-Queue +1

View Change

    To view, visit change 4598574. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I694cd3c40a497db477a70f60e5e89d51ab69a75c
    Gerrit-Change-Number: 4598574
    Gerrit-PatchSet: 3
    Gerrit-Owner: Chris Fredrickson <cfre...@chromium.org>
    Gerrit-Reviewer: Chris Fredrickson <cfre...@chromium.org>
    Gerrit-Reviewer: Shuran Huang <shu...@chromium.org>
    Gerrit-Attention: Shuran Huang <shu...@chromium.org>
    Gerrit-Comment-Date: Wed, 07 Jun 2023 17:11:43 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes

    Shuran Huang (Gerrit)

    unread,
    Jun 7, 2023, 3:49:01 PM6/7/23
    to Chris Fredrickson, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Chris Fredrickson.

    View Change

    2 comments:

    • File chrome/browser/storage_access_api/storage_access_api_service_impl.cc:

    To view, visit change 4598574. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I694cd3c40a497db477a70f60e5e89d51ab69a75c
    Gerrit-Change-Number: 4598574
    Gerrit-PatchSet: 4
    Gerrit-Owner: Chris Fredrickson <cfre...@chromium.org>
    Gerrit-Reviewer: Chris Fredrickson <cfre...@chromium.org>
    Gerrit-Reviewer: Shuran Huang <shu...@chromium.org>
    Gerrit-Attention: Chris Fredrickson <cfre...@chromium.org>
    Gerrit-Comment-Date: Wed, 07 Jun 2023 19:48:55 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No

    Chris Fredrickson (Gerrit)

    unread,
    Jun 7, 2023, 4:16:59 PM6/7/23
    to blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, Shuran Huang, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Shuran Huang.

    View Change

    2 comments:

    • File chrome/browser/storage_access_api/storage_access_api_service_impl.cc:

      • Done

      • Done

    To view, visit change 4598574. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I694cd3c40a497db477a70f60e5e89d51ab69a75c
    Gerrit-Change-Number: 4598574
    Gerrit-PatchSet: 5
    Gerrit-Owner: Chris Fredrickson <cfre...@chromium.org>
    Gerrit-Reviewer: Chris Fredrickson <cfre...@chromium.org>
    Gerrit-Reviewer: Shuran Huang <shu...@chromium.org>
    Gerrit-Attention: Shuran Huang <shu...@chromium.org>
    Gerrit-Comment-Date: Wed, 07 Jun 2023 20:16:51 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Shuran Huang <shu...@chromium.org>

    Shuran Huang (Gerrit)

    unread,
    Jun 8, 2023, 4:56:21 PM6/8/23
    to Chris Fredrickson, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Chris Fredrickson.

    Patch set 5:Code-Review +1

    View Change

    1 comment:

    To view, visit change 4598574. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I694cd3c40a497db477a70f60e5e89d51ab69a75c
    Gerrit-Change-Number: 4598574
    Gerrit-PatchSet: 5
    Gerrit-Owner: Chris Fredrickson <cfre...@chromium.org>
    Gerrit-Reviewer: Chris Fredrickson <cfre...@chromium.org>
    Gerrit-Reviewer: Shuran Huang <shu...@chromium.org>
    Gerrit-Attention: Chris Fredrickson <cfre...@chromium.org>
    Gerrit-Comment-Date: Thu, 08 Jun 2023 20:56:14 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes

    Chris Fredrickson (Gerrit)

    unread,
    Jun 8, 2023, 5:01:44 PM6/8/23
    to Joey Arhar, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, Shuran Huang

    Attention is currently required from: Joey Arhar.

    Chris Fredrickson would like Joey Arhar to review this change.

    View Change

    Add a FeatureParam for disabling StorageAccessAPI grant refreshes

    When the param is disabled, we still create the SAA service, but all calls into it will be a no-op, and it will not start its periodic
    cache-clearing timer.

    Bug: 1450356
    Change-Id: I694cd3c40a497db477a70f60e5e89d51ab69a75c
    ---
    M chrome/browser/storage_access_api/storage_access_api_service_impl.cc
    M chrome/browser/storage_access_api/storage_access_api_service_impl.h
    M chrome/browser/storage_access_api/storage_access_api_service_impl_unittest.cc
    M third_party/blink/common/features.cc
    M third_party/blink/public/common/features.h
    5 files changed, 82 insertions(+), 2 deletions(-)


    To view, visit change 4598574. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: newchange
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I694cd3c40a497db477a70f60e5e89d51ab69a75c
    Gerrit-Change-Number: 4598574
    Gerrit-PatchSet: 5
    Gerrit-Owner: Chris Fredrickson <cfre...@chromium.org>
    Gerrit-Reviewer: Chris Fredrickson <cfre...@chromium.org>
    Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
    Gerrit-Reviewer: Shuran Huang <shu...@chromium.org>
    Gerrit-Attention: Joey Arhar <jar...@chromium.org>

    Chris Fredrickson (Gerrit)

    unread,
    Jun 8, 2023, 5:01:48 PM6/8/23
    to blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, Joey Arhar, Shuran Huang, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Joey Arhar.

    Patch set 5:Auto-Submit +1

    View Change

    1 comment:

    To view, visit change 4598574. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I694cd3c40a497db477a70f60e5e89d51ab69a75c
    Gerrit-Change-Number: 4598574
    Gerrit-PatchSet: 5
    Gerrit-Owner: Chris Fredrickson <cfre...@chromium.org>
    Gerrit-Reviewer: Chris Fredrickson <cfre...@chromium.org>
    Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
    Gerrit-Reviewer: Shuran Huang <shu...@chromium.org>
    Gerrit-Attention: Joey Arhar <jar...@chromium.org>
    Gerrit-Comment-Date: Thu, 08 Jun 2023 21:01:42 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes

    Joey Arhar (Gerrit)

    unread,
    Jun 9, 2023, 10:44:03 AM6/9/23
    to Chris Fredrickson, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, Shuran Huang, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Chris Fredrickson.

    Patch set 5:Code-Review +1Commit-Queue +2

    View Change

      To view, visit change 4598574. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I694cd3c40a497db477a70f60e5e89d51ab69a75c
      Gerrit-Change-Number: 4598574
      Gerrit-PatchSet: 5
      Gerrit-Owner: Chris Fredrickson <cfre...@chromium.org>
      Gerrit-Reviewer: Chris Fredrickson <cfre...@chromium.org>
      Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
      Gerrit-Reviewer: Shuran Huang <shu...@chromium.org>
      Gerrit-Attention: Chris Fredrickson <cfre...@chromium.org>
      Gerrit-Comment-Date: Fri, 09 Jun 2023 14:43:55 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes

      Chromium LUCI CQ (Gerrit)

      unread,
      Jun 9, 2023, 12:00:54 PM6/9/23
      to Chris Fredrickson, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, Joey Arhar, Shuran Huang, chromium...@chromium.org

      Chromium LUCI CQ submitted this change.

      View Change

      Approvals: Chris Fredrickson: Send CL to CQ automatically after approval Shuran Huang: Looks good to me Joey Arhar: Looks good to me; Commit
      Add a FeatureParam for disabling StorageAccessAPI grant refreshes

      When the param is disabled, we still create the SAA service, but all calls into it will be a no-op, and it will not start its periodic
      cache-clearing timer.

      Bug: 1450356
      Change-Id: I694cd3c40a497db477a70f60e5e89d51ab69a75c
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4598574
      Reviewed-by: Joey Arhar <jar...@chromium.org>
      Commit-Queue: Joey Arhar <jar...@chromium.org>
      Reviewed-by: Shuran Huang <shu...@chromium.org>
      Auto-Submit: Chris Fredrickson <cfre...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1155551}

      ---
      M chrome/browser/storage_access_api/storage_access_api_service_impl.cc
      M chrome/browser/storage_access_api/storage_access_api_service_impl.h
      M chrome/browser/storage_access_api/storage_access_api_service_impl_unittest.cc
      M third_party/blink/common/features.cc
      M third_party/blink/public/common/features.h
      5 files changed, 82 insertions(+), 2 deletions(-)


      To view, visit change 4598574. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-MessageType: merged
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I694cd3c40a497db477a70f60e5e89d51ab69a75c
      Gerrit-Change-Number: 4598574
      Gerrit-PatchSet: 6
      Gerrit-Owner: Chris Fredrickson <cfre...@chromium.org>
      Gerrit-Reviewer: Chris Fredrickson <cfre...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
      Gerrit-Reviewer: Shuran Huang <shu...@chromium.org>
      Reply all
      Reply to author
      Forward
      0 new messages