[Translation API] Remove TranslationAPI feature flag. [chromium/src : main]

0 views
Skip to first unread message

Isaac Ahouma (Gerrit)

unread,
Dec 22, 2025, 9:52:01 AM (6 days ago) Dec 22
to Mike Wasserman, Enterprise Policy Reviews, AyeAye, Chromium LUCI CQ, network-ser...@chromium.org, jmedle...@chromium.org, asvitki...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
Attention needed from Mike Wasserman

Isaac Ahouma added 1 comment

File components/on_device_translation/features.cc
File-level comment, Patchset 27:
Isaac Ahouma . unresolved

@m...@chromium.org I removed these changes, those to service_controlled and to the test files as I think these need to be kept if we are keeping the runtime enabled features as discussed. Do you agree?

Open in Gerrit

Related details

Attention is currently required from:
  • Mike Wasserman
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: I38dd4518fd7677dc0c8f8a80ab0fac2f623c1614
Gerrit-Change-Number: 7254791
Gerrit-PatchSet: 28
Gerrit-Owner: Isaac Ahouma <iah...@google.com>
Gerrit-Reviewer: Isaac Ahouma <iah...@google.com>
Gerrit-Reviewer: Mike Wasserman <m...@chromium.org>
Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
Gerrit-Attention: Mike Wasserman <m...@chromium.org>
Gerrit-Comment-Date: Mon, 22 Dec 2025 14:51:44 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Mike Wasserman (Gerrit)

unread,
Dec 22, 2025, 1:43:35 PM (6 days ago) Dec 22
to Isaac Ahouma, Enterprise Policy Reviews, AyeAye, Chromium LUCI CQ, network-ser...@chromium.org, jmedle...@chromium.org, asvitki...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
Attention needed from Isaac Ahouma

Mike Wasserman added 4 comments

File chrome/browser/on_device_translation/on_device_translation_browsertest.cc
Line 1860, Patchset 27: embedded_https_test_server().SetSSLConfig(
Mike Wasserman . unresolved

Why are these server + resolve and the url host checks below needed?

File chrome/browser/on_device_translation/service_controller_manager.h
Line 66, Patchset 27: // Sets a temporary override for the maximum service count for testing.
// This method should only be called in test contexts.
void SetMaxServiceCountForTesting(std::optional<size_t> count);

// Gets the maximum number of services allowed.
size_t GetMaxServiceCount() const;
Mike Wasserman . unresolved
I think it's fine to revert these changes and keep the feature param. Otherwise:
nit: inline accessors, make the value non-optional + non-test-specific + init here.
```
size_t get_max_service_count_for_testing() { return max_service_count_; }
void set_max_service_count_for_testing(size_t count) { max_service_count_ = count; }
...
size_t max_service_count_ = 10;
```
File components/on_device_translation/features.cc
Isaac Ahouma . unresolved

@m...@chromium.org I removed these changes, those to service_controlled and to the test files as I think these need to be kept if we are keeping the runtime enabled features as discussed. Do you agree?

Mike Wasserman

Please do revert feature params changes, we'll just remove the about_flags entry for now. Feature params are still viable for command-line and test overrides.

File third_party/blink/renderer/platform/runtime_enabled_features.json5
Line 5423, Patchset 27: base_feature_status: "enabled",
copied_from_base_feature_if: "overridden",
Mike Wasserman . unresolved

Apparently we can remove these and retain finch kill switch functionality?

Open in Gerrit

Related details

Attention is currently required from:
  • Isaac Ahouma
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: I38dd4518fd7677dc0c8f8a80ab0fac2f623c1614
Gerrit-Change-Number: 7254791
Gerrit-PatchSet: 28
Gerrit-Owner: Isaac Ahouma <iah...@google.com>
Gerrit-Reviewer: Isaac Ahouma <iah...@google.com>
Gerrit-Reviewer: Mike Wasserman <m...@chromium.org>
Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
Gerrit-Attention: Isaac Ahouma <iah...@google.com>
Gerrit-Comment-Date: Mon, 22 Dec 2025 18:43:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Isaac Ahouma <iah...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Isaac Ahouma (Gerrit)

unread,
Dec 22, 2025, 1:59:50 PM (6 days ago) Dec 22
to Mike Wasserman, Enterprise Policy Reviews, AyeAye, Chromium LUCI CQ, network-ser...@chromium.org, jmedle...@chromium.org, asvitki...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
Attention needed from Mike Wasserman

Isaac Ahouma added 4 comments

File chrome/browser/on_device_translation/on_device_translation_browsertest.cc
Line 1860, Patchset 27: embedded_https_test_server().SetSSLConfig(
Mike Wasserman . resolved

Why are these server + resolve and the url host checks below needed?

Isaac Ahouma

Done

File chrome/browser/on_device_translation/service_controller_manager.h
Line 66, Patchset 27: // Sets a temporary override for the maximum service count for testing.
// This method should only be called in test contexts.
void SetMaxServiceCountForTesting(std::optional<size_t> count);

// Gets the maximum number of services allowed.
size_t GetMaxServiceCount() const;
Mike Wasserman . resolved
I think it's fine to revert these changes and keep the feature param. Otherwise:
nit: inline accessors, make the value non-optional + non-test-specific + init here.
```
size_t get_max_service_count_for_testing() { return max_service_count_; }
void set_max_service_count_for_testing(size_t count) { max_service_count_ = count; }
...
size_t max_service_count_ = 10;
```
Isaac Ahouma

Marked as resolved.

File components/on_device_translation/features.cc
File-level comment, Patchset 27:
Isaac Ahouma . resolved

@m...@chromium.org I removed these changes, those to service_controlled and to the test files as I think these need to be kept if we are keeping the runtime enabled features as discussed. Do you agree?

Mike Wasserman

Please do revert feature params changes, we'll just remove the about_flags entry for now. Feature params are still viable for command-line and test overrides.

Isaac Ahouma

Resolved.

File third_party/blink/renderer/platform/runtime_enabled_features.json5
Line 5423, Patchset 27: base_feature_status: "enabled",
copied_from_base_feature_if: "overridden",
Mike Wasserman . resolved

Apparently we can remove these and retain finch kill switch functionality?

Isaac Ahouma

This is an older patchset. I removed these changes based on what we found out about the killswitch. I just wrote my above comment as an FYI. Sorry for not clarifying that.

Open in Gerrit

Related details

Attention is currently required from:
  • Mike Wasserman
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: I38dd4518fd7677dc0c8f8a80ab0fac2f623c1614
    Gerrit-Change-Number: 7254791
    Gerrit-PatchSet: 28
    Gerrit-Owner: Isaac Ahouma <iah...@google.com>
    Gerrit-Reviewer: Isaac Ahouma <iah...@google.com>
    Gerrit-Reviewer: Mike Wasserman <m...@chromium.org>
    Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
    Gerrit-Attention: Mike Wasserman <m...@chromium.org>
    Gerrit-Comment-Date: Mon, 22 Dec 2025 18:59:29 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Mike Wasserman <m...@chromium.org>
    Comment-In-Reply-To: Isaac Ahouma <iah...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mike Wasserman (Gerrit)

    unread,
    Dec 22, 2025, 2:41:54 PM (6 days ago) Dec 22
    to Isaac Ahouma, Enterprise Policy Reviews, AyeAye, Chromium LUCI CQ, network-ser...@chromium.org, jmedle...@chromium.org, asvitki...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
    Attention needed from Isaac Ahouma

    Mike Wasserman added 2 comments

    Patchset-level comments
    File-level comment, Patchset 28 (Latest):
    Mike Wasserman . resolved

    gotcha. code changes lg (modulo rebase). please updated cl desc

    Commit Message
    Line 7, Patchset 28 (Latest):[Translation API] Remove TranslationAPI feature flag.
    Mike Wasserman . unresolved

    Update CL description for just removing chrome://flags entry and stale param/variation

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Isaac Ahouma
    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: I38dd4518fd7677dc0c8f8a80ab0fac2f623c1614
      Gerrit-Change-Number: 7254791
      Gerrit-PatchSet: 28
      Gerrit-Owner: Isaac Ahouma <iah...@google.com>
      Gerrit-Reviewer: Isaac Ahouma <iah...@google.com>
      Gerrit-Reviewer: Mike Wasserman <m...@chromium.org>
      Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
      Gerrit-Attention: Isaac Ahouma <iah...@google.com>
      Gerrit-Comment-Date: Mon, 22 Dec 2025 19:41:43 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Isaac Ahouma (Gerrit)

      unread,
      Dec 23, 2025, 9:42:31 AM (5 days ago) Dec 23
      to Mike Wasserman, Enterprise Policy Reviews, AyeAye, Chromium LUCI CQ, network-ser...@chromium.org, jmedle...@chromium.org, asvitki...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
      Attention needed from Mike Wasserman

      Isaac Ahouma added 1 comment

      Commit Message
      Line 7, Patchset 28:[Translation API] Remove TranslationAPI feature flag.
      Mike Wasserman . resolved

      Update CL description for just removing chrome://flags entry and stale param/variation

      Isaac Ahouma

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Mike Wasserman
      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: I38dd4518fd7677dc0c8f8a80ab0fac2f623c1614
        Gerrit-Change-Number: 7254791
        Gerrit-PatchSet: 29
        Gerrit-Owner: Isaac Ahouma <iah...@google.com>
        Gerrit-Reviewer: Isaac Ahouma <iah...@google.com>
        Gerrit-Reviewer: Mike Wasserman <m...@chromium.org>
        Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
        Gerrit-Attention: Mike Wasserman <m...@chromium.org>
        Gerrit-Comment-Date: Tue, 23 Dec 2025 14:42:11 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Mike Wasserman <m...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Mike Wasserman (Gerrit)

        unread,
        Dec 23, 2025, 2:25:44 PM (5 days ago) Dec 23
        to Isaac Ahouma, Enterprise Policy Reviews, AyeAye, Chromium LUCI CQ, network-ser...@chromium.org, jmedle...@chromium.org, asvitki...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
        Attention needed from Isaac Ahouma

        Mike Wasserman voted Code-Review+1

        Code-Review+1
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Isaac Ahouma
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not satisfiedCode-Owners
          • requirement is not satisfiedCode-Review
          • requirement satisfiedReview-Enforcement
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I38dd4518fd7677dc0c8f8a80ab0fac2f623c1614
          Gerrit-Change-Number: 7254791
          Gerrit-PatchSet: 29
          Gerrit-Owner: Isaac Ahouma <iah...@google.com>
          Gerrit-Reviewer: Isaac Ahouma <iah...@google.com>
          Gerrit-Reviewer: Mike Wasserman <m...@chromium.org>
          Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
          Gerrit-Attention: Isaac Ahouma <iah...@google.com>
          Gerrit-Comment-Date: Tue, 23 Dec 2025 19:25:32 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Isaac Ahouma (Gerrit)

          unread,
          Dec 26, 2025, 2:47:06 PM (2 days ago) Dec 26
          to Khushal Sagar, Mike Wasserman, Enterprise Policy Reviews, AyeAye, Chromium LUCI CQ, network-ser...@chromium.org, jmedle...@chromium.org, asvitki...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
          Attention needed from Khushal Sagar and Nasko Oskov

          Isaac Ahouma added 2 comments

          File content/browser/browser_interface_binders.cc
          File-level comment, Patchset 29 (Latest):
          Isaac Ahouma . unresolved

          Hi @na...@chromium.org, Adding you for a review on this since you are a code owner for this file. Thanks

          File third_party/blink/renderer/platform/runtime_enabled_features.json5
          File-level comment, Patchset 29 (Latest):
          Isaac Ahouma . unresolved

          Hi @khusha...@chromium.org, Adding you for a review on this since you are a code owner for this file. Thanks

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Khushal Sagar
          • Nasko Oskov
          Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement is not satisfiedCode-Owners
            • requirement is not satisfiedCode-Review
            • requirement is not satisfiedNo-Unresolved-Comments
            • requirement satisfiedReview-Enforcement
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: chromium/src
            Gerrit-Branch: main
            Gerrit-Change-Id: I38dd4518fd7677dc0c8f8a80ab0fac2f623c1614
            Gerrit-Change-Number: 7254791
            Gerrit-PatchSet: 29
            Gerrit-Owner: Isaac Ahouma <iah...@google.com>
            Gerrit-Reviewer: Isaac Ahouma <iah...@google.com>
            Gerrit-Reviewer: Khushal Sagar <khusha...@chromium.org>
            Gerrit-Reviewer: Mike Wasserman <m...@chromium.org>
            Gerrit-Reviewer: Nasko Oskov <na...@chromium.org>
            Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
            Gerrit-Attention: Nasko Oskov <na...@chromium.org>
            Gerrit-Attention: Khushal Sagar <khusha...@chromium.org>
            Gerrit-Comment-Date: Fri, 26 Dec 2025 19:46:45 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Nasko Oskov (Gerrit)

            unread,
            Dec 26, 2025, 6:00:01 PM (2 days ago) Dec 26
            to Isaac Ahouma, Khushal Sagar, Mike Wasserman, Enterprise Policy Reviews, AyeAye, Chromium LUCI CQ, network-ser...@chromium.org, jmedle...@chromium.org, asvitki...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
            Attention needed from Isaac Ahouma and Khushal Sagar

            Nasko Oskov voted and added 1 comment

            Votes added by Nasko Oskov

            Code-Review+1

            1 comment

            Patchset-level comments
            Nasko Oskov . resolved

            LGTM

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Isaac Ahouma
            • Khushal Sagar
            Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement is not satisfiedCode-Owners
              • requirement satisfiedCode-Review
              • requirement is not satisfiedNo-Unresolved-Comments
              • requirement satisfiedReview-Enforcement
              Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
              Gerrit-MessageType: comment
              Gerrit-Project: chromium/src
              Gerrit-Branch: main
              Gerrit-Change-Id: I38dd4518fd7677dc0c8f8a80ab0fac2f623c1614
              Gerrit-Change-Number: 7254791
              Gerrit-PatchSet: 29
              Gerrit-Owner: Isaac Ahouma <iah...@google.com>
              Gerrit-Reviewer: Isaac Ahouma <iah...@google.com>
              Gerrit-Reviewer: Khushal Sagar <khusha...@chromium.org>
              Gerrit-Reviewer: Mike Wasserman <m...@chromium.org>
              Gerrit-Reviewer: Nasko Oskov <na...@chromium.org>
              Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
              Gerrit-Attention: Isaac Ahouma <iah...@google.com>
              Gerrit-Attention: Khushal Sagar <khusha...@chromium.org>
              Gerrit-Comment-Date: Fri, 26 Dec 2025 22:59:49 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Khushal Sagar (Gerrit)

              unread,
              Dec 26, 2025, 6:10:09 PM (2 days ago) Dec 26
              to Isaac Ahouma, Mike Wasserman, Enterprise Policy Reviews, AyeAye, Chromium LUCI CQ, network-ser...@chromium.org, jmedle...@chromium.org, asvitki...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org
              Attention needed from Isaac Ahouma

              Khushal Sagar voted and added 1 comment

              Votes added by Khushal Sagar

              Code-Review+1

              1 comment

              File third_party/blink/renderer/platform/runtime_enabled_features.json5
              Line 5414, Patchset 29 (Latest): {
              name: "TranslationAPI",
              status: {
              "Win": "stable",
              "Mac": "stable",
              "Linux": "stable",
              "ChromeOS": "stable",
              "default": "",
              },

              base_feature_status: "enabled",
              copied_from_base_feature_if: "overridden",
              },
              Khushal Sagar . unresolved

              you can remove this entry itself since all usage is being removed from the codebase.

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Isaac Ahouma
              Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement satisfiedCode-Owners
              • requirement satisfiedCode-Review
              • requirement is not satisfiedNo-Unresolved-Comments
              • requirement satisfiedReview-Enforcement
              Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
              Gerrit-MessageType: comment
              Gerrit-Project: chromium/src
              Gerrit-Branch: main
              Gerrit-Change-Id: I38dd4518fd7677dc0c8f8a80ab0fac2f623c1614
              Gerrit-Change-Number: 7254791
              Gerrit-PatchSet: 29
              Gerrit-Owner: Isaac Ahouma <iah...@google.com>
              Gerrit-Reviewer: Isaac Ahouma <iah...@google.com>
              Gerrit-Reviewer: Khushal Sagar <khusha...@chromium.org>
              Gerrit-Reviewer: Mike Wasserman <m...@chromium.org>
              Gerrit-Reviewer: Nasko Oskov <na...@chromium.org>
              Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
              Gerrit-Attention: Isaac Ahouma <iah...@google.com>
              Gerrit-Comment-Date: Fri, 26 Dec 2025 23:09:56 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy
              Reply all
              Reply to author
              Forward
              0 new messages