extensions: Decouple EventRouter from g_browser_process [chromium/src : main]

0 views
Skip to first unread message

Jun Ishiguro (Gerrit)

unread,
5:19 AM (7 hours ago) 5:19 AM
to Chromium LUCI CQ, chromium...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org, filesapp...@chromium.org, rginda...@chromium.org

Jun Ishiguro added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Jun Ishiguro . resolved

PTAL

Open in Gerrit

Related details

Attention set is empty
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: I970b8e141eb34f6cf48d837240302e7b7a5dd5a4
Gerrit-Change-Number: 8062408
Gerrit-PatchSet: 1
Gerrit-Owner: Jun Ishiguro <ju...@google.com>
Gerrit-Reviewer: Jun Ishiguro <ju...@google.com>
Gerrit-Comment-Date: Wed, 08 Jul 2026 09:18:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Hidehiko Abe (Gerrit)

unread,
8:13 AM (4 hours ago) 8:13 AM
to Jun Ishiguro, Chromium LUCI CQ, chromium...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org, filesapp...@chromium.org, rginda...@chromium.org
Attention needed from Jun Ishiguro

Hidehiko Abe voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Jun Ishiguro
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement 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: I970b8e141eb34f6cf48d837240302e7b7a5dd5a4
Gerrit-Change-Number: 8062408
Gerrit-PatchSet: 1
Gerrit-Owner: Jun Ishiguro <ju...@google.com>
Gerrit-Reviewer: Hidehiko Abe <hide...@chromium.org>
Gerrit-Reviewer: Jun Ishiguro <ju...@google.com>
Gerrit-Attention: Jun Ishiguro <ju...@google.com>
Gerrit-Comment-Date: Wed, 08 Jul 2026 12:12:39 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Jun Ishiguro (Gerrit)

unread,
9:40 AM (3 hours ago) 9:40 AM
to Hidehiko Abe, Chromium LUCI CQ, chromium...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org, filesapp...@chromium.org, rginda...@chromium.org

Jun Ishiguro voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement 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: I970b8e141eb34f6cf48d837240302e7b7a5dd5a4
Gerrit-Change-Number: 8062408
Gerrit-PatchSet: 1
Gerrit-Owner: Jun Ishiguro <ju...@google.com>
Gerrit-Reviewer: Hidehiko Abe <hide...@chromium.org>
Gerrit-Reviewer: Jun Ishiguro <ju...@google.com>
Gerrit-Comment-Date: Wed, 08 Jul 2026 13:39:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
9:44 AM (3 hours ago) 9:44 AM
to Jun Ishiguro, Hidehiko Abe, chromium...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org, filesapp...@chromium.org, rginda...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
extensions: Decouple EventRouter from g_browser_process

Replace direct access to g_browser_process->local_state() in EventRouter
with explicit constructor dependency injection of PrefService. Global
singleton retrieval is now cleanly bounded to EventRouterFactory, and
unit tests inject local state using TestingBrowserProcess test fakes.

TAG=agy
Bug: b:404131876
Change-Id: I970b8e141eb34f6cf48d837240302e7b7a5dd5a4
Reviewed-by: Hidehiko Abe <hide...@chromium.org>
Commit-Queue: Jun Ishiguro <ju...@google.com>
Cr-Commit-Position: refs/heads/main@{#1658699}
Files:
  • M chrome/browser/ash/extensions/file_manager/event_router.cc
  • M chrome/browser/ash/extensions/file_manager/event_router.h
  • M chrome/browser/ash/extensions/file_manager/event_router_factory.cc
  • M chrome/browser/ash/extensions/file_manager/event_router_unittest.cc
Change size: S
Delta: 4 files changed, 18 insertions(+), 10 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Hidehiko Abe
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: I970b8e141eb34f6cf48d837240302e7b7a5dd5a4
Gerrit-Change-Number: 8062408
Gerrit-PatchSet: 2
Gerrit-Owner: Jun Ishiguro <ju...@google.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Hidehiko Abe <hide...@chromium.org>
Gerrit-Reviewer: Jun Ishiguro <ju...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages