[iOS] Update unit tests to create TestSyncService/SyncServiceImpl [chromium/src : main]

0 views
Skip to first unread message

Marc Treib (Gerrit)

unread,
Jun 16, 2026, 5:35:12 AM (13 days ago) Jun 16
to Rohit Rao, chromium...@chromium.org, feature-me...@chromium.org, ios-r...@chromium.org, ios-revie...@chromium.org, marq+...@chromium.org, Marc Treib
Attention needed from Rohit Rao

Marc Treib has uploaded the change for review

Marc Treib would like Rohit Rao to review this change.

Commit message

[iOS] Update unit tests to create TestSyncService/SyncServiceImpl

Before, many unit tests on iOS relied (often accidentally) on the
fact that the SyncServiceFactory will, by default, create a real
SyncServiceImpl, even in unit tests.

Most of these tests don't actually need a real SyncServiceImpl;
they just need "something that's not null". This is better served
by TestSyncService, and so most tests are updated to use that. A
few tests *do* need SyncServiceImpl, and are updated to set that
up explicitly.

This CL addresses test files in the following directory/ies:
ios/chrome/browser/authentication

In a later CL, the factory will be updated to specify
TestingCreation::kNoServiceForTests, so that all future tests
will have to specify which kind of SyncService they need. This
will bring the iOS factory in line with that for other platforms
(see SyncServiceFactory::ServiceIsNULLWhileTesting()).

This CL was uploaded by git cl split.

R=rohi...@chromium.org
Bug: 517225028
Change-Id: Ia03f757972ce4114b78ca0fbe26ec91e7a4403c8

Change diff


Change information

Files:
Change size: M
Delta: 19 files changed, 106 insertions(+), 39 deletions(-)
Open in Gerrit

Related details

Attention is currently required from:
  • Rohit Rao
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: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia03f757972ce4114b78ca0fbe26ec91e7a4403c8
Gerrit-Change-Number: 7950039
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
Gerrit-Attention: Rohit Rao <rohi...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Marc Treib (Gerrit)

unread,
Jun 16, 2026, 5:35:48 AM (13 days ago) Jun 16
to Rohit Rao, chromium...@chromium.org, thegreenf...@chromium.org, feature-me...@chromium.org, ios-r...@chromium.org, browser-comp...@chromium.org, ios-revie...@chromium.org, marq+...@chromium.org, Marc Treib
Attention needed from Rohit Rao

Marc Treib has uploaded the change for review

Marc Treib would like Rohit Rao to review this change.

Commit message

[iOS] Update unit tests to create TestSyncService/SyncServiceImpl

Before, many unit tests on iOS relied (often accidentally) on the
fact that the SyncServiceFactory will, by default, create a real
SyncServiceImpl, even in unit tests.

Most of these tests don't actually need a real SyncServiceImpl;
they just need "something that's not null". This is better served
by TestSyncService, and so most tests are updated to use that. A
few tests *do* need SyncServiceImpl, and are updated to set that
up explicitly.

This CL addresses test files in the following directory/ies:
['ios/chrome/browser/bookmarks', 'ios/chrome/browser/main', 'ios/chrome/browser/save_to_drive', 'ios/chrome/browser/intelligence', 'ios/chrome/browser/ntp', 'ios/chrome/browser/push_notification', 'ios/chrome/browser/safety_check', 'ios/chrome/browser/tabs_search', 'ios/chrome/browser/tips_notifications']


In a later CL, the factory will be updated to specify
TestingCreation::kNoServiceForTests, so that all future tests
will have to specify which kind of SyncService they need. This
will bring the iOS factory in line with that for other platforms
(see SyncServiceFactory::ServiceIsNULLWhileTesting()).

This CL was uploaded by git cl split.

R=rohi...@chromium.org
Bug: 517225028
Change-Id: I96c16fd06d9eb8405c9a75b59cd88b1ac38d82aa

Change diff


Change information

Files:
Change size: M
Delta: 20 files changed, 78 insertions(+), 0 deletions(-)
Open in Gerrit

Related details

Attention is currently required from:
  • Rohit Rao
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: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I96c16fd06d9eb8405c9a75b59cd88b1ac38d82aa
Gerrit-Change-Number: 7949801
satisfied_requirement
unsatisfied_requirement
open
diffy

Marc Treib (Gerrit)

unread,
Jun 16, 2026, 5:36:33 AM (13 days ago) Jun 16
to Rohit Rao, chromium...@chromium.org, feature-me...@chromium.org, ios-r...@chromium.org, ios-revie...@chromium.org, marq+...@chromium.org, Marc Treib
Attention needed from Rohit Rao

Marc Treib has uploaded the change for review

Marc Treib would like Rohit Rao to review this change.

Commit message

[iOS] Update unit tests to create TestSyncService/SyncServiceImpl

Before, many unit tests on iOS relied (often accidentally) on the
fact that the SyncServiceFactory will, by default, create a real
SyncServiceImpl, even in unit tests.

Most of these tests don't actually need a real SyncServiceImpl;
they just need "something that's not null". This is better served
by TestSyncService, and so most tests are updated to use that. A
few tests *do* need SyncServiceImpl, and are updated to set that
up explicitly.

This CL addresses test files in the following directory/ies:
['ios/chrome/browser/bring_android_tabs', 'ios/chrome/browser/lens_overlay', 'ios/chrome/browser/shared', 'ios/chrome/browser/content_suggestions', 'ios/chrome/browser/overlays', 'ios/chrome/browser/promos_manager', 'ios/chrome/browser/save_to_photos', 'ios/chrome/browser/tab_switcher']


In a later CL, the factory will be updated to specify
TestingCreation::kNoServiceForTests, so that all future tests
will have to specify which kind of SyncService they need. This
will bring the iOS factory in line with that for other platforms
(see SyncServiceFactory::ServiceIsNULLWhileTesting()).

This CL was uploaded by git cl split.

R=rohi...@chromium.org
Bug: 517225028
Change-Id: I963c0c004934786a6b2c1be2834d51d878cbc52f

Change diff


Change information

Files:
Change size: M
Delta: 19 files changed, 75 insertions(+), 6 deletions(-)
Open in Gerrit

Related details

Attention is currently required from:
  • Rohit Rao
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: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I963c0c004934786a6b2c1be2834d51d878cbc52f
Gerrit-Change-Number: 7945784
satisfied_requirement
unsatisfied_requirement
open
diffy

Marc Treib (Gerrit)

unread,
Jun 16, 2026, 5:37:26 AM (13 days ago) Jun 16
to Rohit Rao, chromium...@chromium.org, andysjl...@chromium.org, nwoked...@chromium.org, vakh+safe_br...@chromium.org, zackha...@chromium.org, marq+...@chromium.org, msrame...@chromium.org, dullweb...@chromium.org, feature-me...@chromium.org, ios-r...@chromium.org, christia...@chromium.org, eic+...@google.com, ios-revie...@chromium.org, xinghui...@chromium.org, Marc Treib
Attention needed from Rohit Rao

Marc Treib has uploaded the change for review

Marc Treib would like Rohit Rao to review this change.

Commit message

[iOS] Update unit tests to create TestSyncService/SyncServiceImpl

Before, many unit tests on iOS relied (often accidentally) on the
fact that the SyncServiceFactory will, by default, create a real
SyncServiceImpl, even in unit tests.

Most of these tests don't actually need a real SyncServiceImpl;
they just need "something that's not null". This is better served
by TestSyncService, and so most tests are updated to use that. A
few tests *do* need SyncServiceImpl, and are updated to set that
up explicitly.

This CL addresses test files in the following directory/ies:
['ios/chrome/browser/browser_view', 'ios/chrome/browser/enterprise', 'ios/chrome/browser/account_picker', 'ios/chrome/browser/browsing_data', 'ios/chrome/browser/location_bar', 'ios/chrome/browser/post_restore_signin', 'ios/chrome/browser/safe_browsing', 'ios/chrome/browser/signin', 'ios/chrome/browser/welcome_back']


In a later CL, the factory will be updated to specify
TestingCreation::kNoServiceForTests, so that all future tests
will have to specify which kind of SyncService they need. This
will bring the iOS factory in line with that for other platforms
(see SyncServiceFactory::ServiceIsNULLWhileTesting()).

This CL was uploaded by git cl split.

R=rohi...@chromium.org
Bug: 517225028
Change-Id: Id277e5d06ee26a93fd1680067482721cfb8181af

Change diff


Change information

Files:
Change size: M
Delta: 20 files changed, 79 insertions(+), 0 deletions(-)
Open in Gerrit

Related details

Attention is currently required from:
  • Rohit Rao
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: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Id277e5d06ee26a93fd1680067482721cfb8181af
Gerrit-Change-Number: 7949498
satisfied_requirement
unsatisfied_requirement
open
diffy

Marc Treib (Gerrit)

unread,
Jun 16, 2026, 5:37:57 AM (13 days ago) Jun 16
to Rohit Rao, chromium...@chromium.org, dtraino...@chromium.org, feature-me...@chromium.org, ios-r...@chromium.org, ios-revie...@chromium.org, marq+...@chromium.org, Marc Treib
Attention needed from Rohit Rao

Marc Treib has uploaded the change for review

Marc Treib would like Rohit Rao to review this change.

Commit message

[iOS] Update unit tests to create TestSyncService/SyncServiceImpl

Before, many unit tests on iOS relied (often accidentally) on the
fact that the SyncServiceFactory will, by default, create a real
SyncServiceImpl, even in unit tests.

Most of these tests don't actually need a real SyncServiceImpl;
they just need "something that's not null". This is better served
by TestSyncService, and so most tests are updated to use that. A
few tests *do* need SyncServiceImpl, and are updated to set that
up explicitly.

This CL addresses test files in the following directory/ies:
ios/chrome/browser/download


In a later CL, the factory will be updated to specify
TestingCreation::kNoServiceForTests, so that all future tests
will have to specify which kind of SyncService they need. This
will bring the iOS factory in line with that for other platforms
(see SyncServiceFactory::ServiceIsNULLWhileTesting()).

This CL was uploaded by git cl split.

R=rohi...@chromium.org
Bug: 517225028
Change-Id: I45baf398bee6688a7a5f8370705d0e8326b442b8

Change diff


Change information

Files:
Change size: S
Delta: 6 files changed, 26 insertions(+), 1 deletion(-)
Open in Gerrit

Related details

Attention is currently required from:
  • Rohit Rao
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: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I45baf398bee6688a7a5f8370705d0e8326b442b8
Gerrit-Change-Number: 7945582
satisfied_requirement
unsatisfied_requirement
open
diffy

Marc Treib (Gerrit)

unread,
Jun 16, 2026, 5:38:36 AM (13 days ago) Jun 16
to Rohit Rao, chromium...@chromium.org, feature-me...@chromium.org, yuezhang...@chromium.org, ios-r...@chromium.org, tmartino+tran...@chromium.org, browser-comp...@chromium.org, ios-revie...@chromium.org, mdjone...@chromium.org, filesapp...@chromium.org, ayman...@chromium.org, marq+...@chromium.org, Marc Treib
Attention needed from Rohit Rao

Marc Treib has uploaded the change for review

Marc Treib would like Rohit Rao to review this change.

Commit message

[iOS] Update unit tests to create TestSyncService/SyncServiceImpl

Before, many unit tests on iOS relied (often accidentally) on the
fact that the SyncServiceFactory will, by default, create a real
SyncServiceImpl, even in unit tests.

Most of these tests don't actually need a real SyncServiceImpl;
they just need "something that's not null". This is better served
by TestSyncService, and so most tests are updated to use that. A
few tests *do* need SyncServiceImpl, and are updated to set that
up explicitly.

This CL addresses test files in the following directory/ies:
['ios/chrome/browser/drive_file_picker', 'ios/chrome/browser/reader_mode', 'ios/chrome/browser/autofill', 'ios/chrome/browser/commerce', 'ios/chrome/browser/popup_menu', 'ios/chrome/browser/prerender', 'ios/chrome/browser/saved_tab_groups', 'ios/chrome/browser/synced_set_up']


In a later CL, the factory will be updated to specify
TestingCreation::kNoServiceForTests, so that all future tests
will have to specify which kind of SyncService they need. This
will bring the iOS factory in line with that for other platforms
(see SyncServiceFactory::ServiceIsNULLWhileTesting()).

This CL was uploaded by git cl split.

R=rohi...@chromium.org
Bug: 517225028
Change-Id: Ia1cb2e2f6f278e7a365da98a7a498124c1ed6d15

Change diff


Change information

Files:
Change size: M
Delta: 19 files changed, 78 insertions(+), 8 deletions(-)
Open in Gerrit

Related details

Attention is currently required from:
  • Rohit Rao
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: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia1cb2e2f6f278e7a365da98a7a498124c1ed6d15
Gerrit-Change-Number: 7946161
satisfied_requirement
unsatisfied_requirement
open
diffy

Marc Treib (Gerrit)

unread,
Jun 16, 2026, 5:40:54 AM (13 days ago) Jun 16
to Rohit Rao, chromium...@chromium.org, thegreenf...@chromium.org, feature-me...@chromium.org, ios-r...@chromium.org, ios-revie...@chromium.org, marq+...@chromium.org, Marc Treib
Attention needed from Rohit Rao

Marc Treib has uploaded the change for review

Marc Treib would like Rohit Rao to review this change.

Commit message

[iOS] Update unit tests to create TestSyncService/SyncServiceImpl

Before, many unit tests on iOS relied (often accidentally) on the
fact that the SyncServiceFactory will, by default, create a real
SyncServiceImpl, even in unit tests.

Most of these tests don't actually need a real SyncServiceImpl;
they just need "something that's not null". This is better served
by TestSyncService, and so most tests are updated to use that. A
few tests *do* need SyncServiceImpl, and are updated to set that
up explicitly.

This CL addresses test files in the following directory/ies:
ios/chrome/browser/ntp/ui_bundled


In a later CL, the factory will be updated to specify
TestingCreation::kNoServiceForTests, so that all future tests
will have to specify which kind of SyncService they need. This
will bring the iOS factory in line with that for other platforms
(see SyncServiceFactory::ServiceIsNULLWhileTesting()).

This CL was uploaded by git cl split.

R=rohi...@chromium.org
Bug: 517225028
Change-Id: I44ec0a388b07799f29d656bae11df01ce3a49990

Change diff


Change information

Files:
Change size: S
Delta: 5 files changed, 22 insertions(+), 0 deletions(-)
Open in Gerrit

Related details

Attention is currently required from:
  • Rohit Rao
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: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I44ec0a388b07799f29d656bae11df01ce3a49990
Gerrit-Change-Number: 7945785
satisfied_requirement
unsatisfied_requirement
open
diffy

Marc Treib (Gerrit)

unread,
Jun 16, 2026, 5:42:17 AM (13 days ago) Jun 16
to Rohit Rao, chromium...@chromium.org, dullweb...@chromium.org, feature-me...@chromium.org, ios-r...@chromium.org, tmartino+tran...@chromium.org, ios-revie...@chromium.org, marq+...@chromium.org, msrame...@chromium.org, Marc Treib
Attention needed from Rohit Rao

Marc Treib has uploaded the change for review

Marc Treib would like Rohit Rao to review this change.

Commit message

[iOS] Update unit tests to create TestSyncService/SyncServiceImpl

Before, many unit tests on iOS relied (often accidentally) on the
fact that the SyncServiceFactory will, by default, create a real
SyncServiceImpl, even in unit tests.

Most of these tests don't actually need a real SyncServiceImpl;
they just need "something that's not null". This is better served
by TestSyncService, and so most tests are updated to use that. A
few tests *do* need SyncServiceImpl, and are updated to set that
up explicitly.

This CL addresses test files in the following directory/ies:
ios/chrome/browser/settings


In a later CL, the factory will be updated to specify
TestingCreation::kNoServiceForTests, so that all future tests
will have to specify which kind of SyncService they need. This
will bring the iOS factory in line with that for other platforms
(see SyncServiceFactory::ServiceIsNULLWhileTesting()).

This CL was uploaded by git cl split.

R=rohi...@chromium.org
Bug: 517225028
Change-Id: I724ef99252ffc5b1f83710156f5b6d58ff5ce2ec

Change diff


Change information

Files:
Change size: M
Delta: 11 files changed, 52 insertions(+), 3 deletions(-)
Open in Gerrit

Related details

Attention is currently required from:
  • Rohit Rao
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: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I724ef99252ffc5b1f83710156f5b6d58ff5ce2ec
Gerrit-Change-Number: 7949518
satisfied_requirement
unsatisfied_requirement
open
diffy

Marc Treib (Gerrit)

unread,
Jun 16, 2026, 5:42:59 AM (13 days ago) Jun 16
to Rohit Rao, chromium...@chromium.org, feature-me...@chromium.org, ios-r...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org, ios-revie...@chromium.org, gcasto+w...@chromium.org, marq+...@chromium.org, Marc Treib
Attention needed from Rohit Rao

Marc Treib has uploaded the change for review

Marc Treib would like Rohit Rao to review this change.

Commit message

[iOS] Update unit tests to create TestSyncService/SyncServiceImpl

Before, many unit tests on iOS relied (often accidentally) on the
fact that the SyncServiceFactory will, by default, create a real
SyncServiceImpl, even in unit tests.

Most of these tests don't actually need a real SyncServiceImpl;
they just need "something that's not null". This is better served
by TestSyncService, and so most tests are updated to use that. A
few tests *do* need SyncServiceImpl, and are updated to set that
up explicitly.

This CL addresses test files in the following directory/ies:
ios/chrome/browser/settings/ui_bundled/password


In a later CL, the factory will be updated to specify
TestingCreation::kNoServiceForTests, so that all future tests
will have to specify which kind of SyncService they need. This
will bring the iOS factory in line with that for other platforms
(see SyncServiceFactory::ServiceIsNULLWhileTesting()).

This CL was uploaded by git cl split.

R=rohi...@chromium.org
Bug: 517225028
Change-Id: I9748ee7a2aec0cf2cae61c82ac277244b815ead0

Change diff


Change information

Files:
Change size: S
Delta: 8 files changed, 31 insertions(+), 0 deletions(-)
Open in Gerrit

Related details

Attention is currently required from:
  • Rohit Rao
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: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I9748ee7a2aec0cf2cae61c82ac277244b815ead0
Gerrit-Change-Number: 7949519
satisfied_requirement
unsatisfied_requirement
open
diffy

Rohit Rao (Gerrit)

unread,
Jun 17, 2026, 12:30:27 PM (12 days ago) Jun 17
to Marc Treib, Rohit Rao, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Marc Treib

Rohit Rao voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Marc Treib
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: Ia03f757972ce4114b78ca0fbe26ec91e7a4403c8
Gerrit-Change-Number: 7950039
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
Gerrit-Attention: Marc Treib <tr...@chromium.org>
Gerrit-Comment-Date: Wed, 17 Jun 2026 16:30:13 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Rohit Rao (Gerrit)

unread,
Jun 17, 2026, 12:32:41 PM (12 days ago) Jun 17
to Marc Treib, Rohit Rao, chromium...@chromium.org, browser-comp...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, thegreenf...@chromium.org
Attention needed from Marc Treib

Rohit Rao voted

Code-Review+1
Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Marc Treib
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: I96c16fd06d9eb8405c9a75b59cd88b1ac38d82aa
Gerrit-Change-Number: 7949801
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
Gerrit-Attention: Marc Treib <tr...@chromium.org>
Gerrit-Comment-Date: Wed, 17 Jun 2026 16:32:30 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Marc Treib (Gerrit)

unread,
Jun 17, 2026, 12:35:40 PM (12 days ago) Jun 17
to Marc Treib, Rohit Rao, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

Marc Treib 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: Ia03f757972ce4114b78ca0fbe26ec91e7a4403c8
Gerrit-Change-Number: 7950039
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
Gerrit-Comment-Date: Wed, 17 Jun 2026 16:35:16 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Jun 17, 2026, 1:29:44 PM (12 days ago) Jun 17
to Marc Treib, Rohit Rao, chromium...@chromium.org, browser-comp...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, thegreenf...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
[iOS] Update unit tests to create TestSyncService/SyncServiceImpl

Before, many unit tests on iOS relied (often accidentally) on the
fact that the SyncServiceFactory will, by default, create a real
SyncServiceImpl, even in unit tests.

Most of these tests don't actually need a real SyncServiceImpl;
they just need "something that's not null". This is better served
by TestSyncService, and so most tests are updated to use that. A
few tests *do* need SyncServiceImpl, and are updated to set that
up explicitly.

This CL addresses test files in the following directory/ies:
['ios/chrome/browser/bookmarks', 'ios/chrome/browser/main', 'ios/chrome/browser/save_to_drive', 'ios/chrome/browser/intelligence', 'ios/chrome/browser/ntp', 'ios/chrome/browser/push_notification', 'ios/chrome/browser/safety_check', 'ios/chrome/browser/tabs_search', 'ios/chrome/browser/tips_notifications']

In a later CL, the factory will be updated to specify
TestingCreation::kNoServiceForTests, so that all future tests
will have to specify which kind of SyncService they need. This
will bring the iOS factory in line with that for other platforms
(see SyncServiceFactory::ServiceIsNULLWhileTesting()).

This CL was uploaded by git cl split.

R=rohi...@chromium.org
Bug: 517225028
Change-Id: I96c16fd06d9eb8405c9a75b59cd88b1ac38d82aa
Reviewed-by: Rohit Rao <rohi...@chromium.org>
Auto-Submit: Marc Treib <tr...@chromium.org>
Commit-Queue: Rohit Rao <rohi...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1648421}
Files:
Change size: M
Delta: 20 files changed, 78 insertions(+), 0 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Rohit Rao
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: I96c16fd06d9eb8405c9a75b59cd88b1ac38d82aa
Gerrit-Change-Number: 7949801
Gerrit-PatchSet: 2
Gerrit-Owner: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
open
diffy
satisfied_requirement

Marc Treib (Gerrit)

unread,
Jun 17, 2026, 4:53:53 PM (12 days ago) Jun 17
to Marc Treib, Chromium LUCI CQ, Rohit Rao, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

Marc Treib 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: Ia03f757972ce4114b78ca0fbe26ec91e7a4403c8
Gerrit-Change-Number: 7950039
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
Gerrit-Comment-Date: Wed, 17 Jun 2026 20:53:35 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Jun 17, 2026, 5:33:11 PM (12 days ago) Jun 17
to Marc Treib, Rohit Rao, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
[iOS] Update unit tests to create TestSyncService/SyncServiceImpl

Before, many unit tests on iOS relied (often accidentally) on the
fact that the SyncServiceFactory will, by default, create a real
SyncServiceImpl, even in unit tests.

Most of these tests don't actually need a real SyncServiceImpl;
they just need "something that's not null". This is better served
by TestSyncService, and so most tests are updated to use that. A
few tests *do* need SyncServiceImpl, and are updated to set that
up explicitly.

This CL addresses test files in the following directory/ies:
ios/chrome/browser/authentication


In a later CL, the factory will be updated to specify
TestingCreation::kNoServiceForTests, so that all future tests
will have to specify which kind of SyncService they need. This
will bring the iOS factory in line with that for other platforms
(see SyncServiceFactory::ServiceIsNULLWhileTesting()).

This CL was uploaded by git cl split.

R=rohi...@chromium.org
Bug: 517225028
Change-Id: Ia03f757972ce4114b78ca0fbe26ec91e7a4403c8
Reviewed-by: Rohit Rao <rohi...@chromium.org>
Auto-Submit: Marc Treib <tr...@chromium.org>
Commit-Queue: Marc Treib <tr...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1648593}
Files:
Change size: M
Delta: 19 files changed, 106 insertions(+), 39 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Rohit Rao
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: Ia03f757972ce4114b78ca0fbe26ec91e7a4403c8
Gerrit-Change-Number: 7950039
Gerrit-PatchSet: 2
Gerrit-Owner: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
open
diffy
satisfied_requirement

Rohit Rao (Gerrit)

unread,
Jun 25, 2026, 8:39:02 AM (4 days ago) Jun 25
to Marc Treib, Rohit Rao, Code Review Nudger, chromium...@chromium.org, feature-me...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
Attention needed from Marc Treib

Rohit Rao voted

Code-Review+1
Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Marc Treib
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: I9748ee7a2aec0cf2cae61c82ac277244b815ead0
Gerrit-Change-Number: 7949519
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-Attention: Marc Treib <tr...@chromium.org>
Gerrit-Comment-Date: Thu, 25 Jun 2026 12:38:54 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Jun 25, 2026, 9:37:01 AM (4 days ago) Jun 25
to Marc Treib, Rohit Rao, Code Review Nudger, chromium...@chromium.org, feature-me...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
[iOS] Update unit tests to create TestSyncService/SyncServiceImpl

Before, many unit tests on iOS relied (often accidentally) on the
fact that the SyncServiceFactory will, by default, create a real
SyncServiceImpl, even in unit tests.

Most of these tests don't actually need a real SyncServiceImpl;
they just need "something that's not null". This is better served
by TestSyncService, and so most tests are updated to use that. A
few tests *do* need SyncServiceImpl, and are updated to set that
up explicitly.

This CL addresses test files in the following directory/ies:
ios/chrome/browser/settings/ui_bundled/password


In a later CL, the factory will be updated to specify
TestingCreation::kNoServiceForTests, so that all future tests
will have to specify which kind of SyncService they need. This
will bring the iOS factory in line with that for other platforms
(see SyncServiceFactory::ServiceIsNULLWhileTesting()).

This CL was uploaded by git cl split.

R=rohi...@chromium.org
Bug: 517225028
Change-Id: I9748ee7a2aec0cf2cae61c82ac277244b815ead0
Reviewed-by: Rohit Rao <rohi...@chromium.org>
Commit-Queue: Rohit Rao <rohi...@chromium.org>
Auto-Submit: Marc Treib <tr...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1652370}
Files:
Change size: S
Delta: 8 files changed, 31 insertions(+), 0 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Rohit Rao
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: I9748ee7a2aec0cf2cae61c82ac277244b815ead0
Gerrit-Change-Number: 7949519
Gerrit-PatchSet: 2
Gerrit-Owner: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
open
diffy
satisfied_requirement

Rohit Rao (Gerrit)

unread,
Jun 26, 2026, 10:23:07 PM (3 days ago) Jun 26
to Marc Treib, Rohit Rao, Code Review Nudger, chromium...@chromium.org, dullweb...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, msrame...@chromium.org, tmartino+tran...@chromium.org
Attention needed from Marc Treib

Rohit Rao voted

Code-Review+1
Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Marc Treib
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: I724ef99252ffc5b1f83710156f5b6d58ff5ce2ec
Gerrit-Change-Number: 7949518
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-Attention: Marc Treib <tr...@chromium.org>
Gerrit-Comment-Date: Sat, 27 Jun 2026 02:22:58 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Rohit Rao (Gerrit)

unread,
Jun 26, 2026, 10:23:58 PM (3 days ago) Jun 26
to Marc Treib, Rohit Rao, Code Review Nudger, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, thegreenf...@chromium.org
Attention needed from Marc Treib

Rohit Rao voted

Code-Review+1
Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Marc Treib
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: I44ec0a388b07799f29d656bae11df01ce3a49990
Gerrit-Change-Number: 7945785
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-Attention: Marc Treib <tr...@chromium.org>
Gerrit-Comment-Date: Sat, 27 Jun 2026 02:23:51 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Rohit Rao (Gerrit)

unread,
Jun 26, 2026, 10:27:35 PM (3 days ago) Jun 26
to Marc Treib, Rohit Rao, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, ayman...@chromium.org, browser-comp...@chromium.org, feature-me...@chromium.org, filesapp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, mdjone...@chromium.org, tmartino+tran...@chromium.org, yuezhang...@chromium.org
Attention needed from Marc Treib

Rohit Rao voted and added 1 comment

Votes added by Rohit Rao

Code-Review+1

1 comment

File ios/chrome/browser/reader_mode/model/BUILD.gn
Line 161, Patchset 1 (Latest): public_deps = [
Rohit Rao . unresolved

Why public_deps?

Open in Gerrit

Related details

Attention is currently required from:
  • Marc Treib
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: Ia1cb2e2f6f278e7a365da98a7a498124c1ed6d15
    Gerrit-Change-Number: 7946161
    Gerrit-PatchSet: 1
    Gerrit-Owner: Marc Treib <tr...@chromium.org>
    Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
    Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
    Gerrit-Attention: Marc Treib <tr...@chromium.org>
    Gerrit-Comment-Date: Sat, 27 Jun 2026 02:27:28 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Rohit Rao (Gerrit)

    unread,
    Jun 26, 2026, 10:28:09 PM (3 days ago) Jun 26
    to Marc Treib, Rohit Rao, Code Review Nudger, chromium...@chromium.org, dtraino...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Marc Treib

    Rohit Rao voted

    Code-Review+1
    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Marc Treib
    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: I45baf398bee6688a7a5f8370705d0e8326b442b8
      Gerrit-Change-Number: 7945582
      Gerrit-PatchSet: 1
      Gerrit-Owner: Marc Treib <tr...@chromium.org>
      Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
      Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
      Gerrit-Attention: Marc Treib <tr...@chromium.org>
      Gerrit-Comment-Date: Sat, 27 Jun 2026 02:28:00 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Rohit Rao (Gerrit)

      unread,
      Jun 26, 2026, 10:31:23 PM (3 days ago) Jun 26
      to Marc Treib, Rohit Rao, Code Review Nudger, chromium...@chromium.org, andysjl...@chromium.org, christia...@chromium.org, dullweb...@chromium.org, eic+...@google.com, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, msrame...@chromium.org, nwoked...@chromium.org, vakh+safe_br...@chromium.org, xinghui...@chromium.org, zackha...@chromium.org
      Attention needed from Marc Treib

      Rohit Rao voted and added 2 comments

      Votes added by Rohit Rao

      Code-Review+1

      2 comments

      File ios/chrome/browser/enterprise/model/idle/action_unittest.mm
      Line 34, Patchset 1 (Latest):#import "ios/chrome/browser/signin/model/identity_test_environment_browser_state_adaptor.h"
      Rohit Rao . unresolved

      Is this needed?

      File ios/chrome/browser/safe_browsing/model/tailored_security/tailored_security_tab_helper_unittest.mm
      Line 11, Patchset 1 (Latest):#import "components/sync/test/test_sync_service.h"
      Rohit Rao . unresolved

      Is this needed, if we're using a real SyncService in this test?

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Marc Treib
      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: Id277e5d06ee26a93fd1680067482721cfb8181af
        Gerrit-Change-Number: 7949498
        Gerrit-PatchSet: 1
        Gerrit-Owner: Marc Treib <tr...@chromium.org>
        Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
        Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
        Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
        Gerrit-Attention: Marc Treib <tr...@chromium.org>
        Gerrit-Comment-Date: Sat, 27 Jun 2026 02:31:13 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Rohit Rao (Gerrit)

        unread,
        Jun 26, 2026, 10:32:46 PM (3 days ago) Jun 26
        to Marc Treib, Rohit Rao, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
        Attention needed from Marc Treib

        Rohit Rao voted

        Code-Review+1
        Commit-Queue+2
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Marc Treib
        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: I963c0c004934786a6b2c1be2834d51d878cbc52f
          Gerrit-Change-Number: 7945784
          Gerrit-PatchSet: 2
          Gerrit-Owner: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
          Gerrit-Attention: Marc Treib <tr...@chromium.org>
          Gerrit-Comment-Date: Sat, 27 Jun 2026 02:32:34 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Chromium LUCI CQ (Gerrit)

          unread,
          Jun 26, 2026, 11:23:12 PM (3 days ago) Jun 26
          to Marc Treib, Rohit Rao, Code Review Nudger, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, thegreenf...@chromium.org

          Chromium LUCI CQ submitted the change

          Change information

          Commit message:
          [iOS] Update unit tests to create TestSyncService/SyncServiceImpl

          Before, many unit tests on iOS relied (often accidentally) on the
          fact that the SyncServiceFactory will, by default, create a real
          SyncServiceImpl, even in unit tests.

          Most of these tests don't actually need a real SyncServiceImpl;
          they just need "something that's not null". This is better served
          by TestSyncService, and so most tests are updated to use that. A
          few tests *do* need SyncServiceImpl, and are updated to set that
          up explicitly.

          This CL addresses test files in the following directory/ies:
          ios/chrome/browser/ntp/ui_bundled


          In a later CL, the factory will be updated to specify
          TestingCreation::kNoServiceForTests, so that all future tests
          will have to specify which kind of SyncService they need. This
          will bring the iOS factory in line with that for other platforms
          (see SyncServiceFactory::ServiceIsNULLWhileTesting()).

          This CL was uploaded by git cl split.

          R=rohi...@chromium.org
          Bug: 517225028
          Change-Id: I44ec0a388b07799f29d656bae11df01ce3a49990
          Reviewed-by: Rohit Rao <rohi...@chromium.org>
          Auto-Submit: Marc Treib <tr...@chromium.org>
          Commit-Queue: Rohit Rao <rohi...@chromium.org>
          Cr-Commit-Position: refs/heads/main@{#1653592}
          Files:
          Change size: S
          Delta: 5 files changed, 22 insertions(+), 0 deletions(-)
          Branch: refs/heads/main
          Submit Requirements:
          • requirement satisfiedCode-Review: +1 by Rohit Rao
          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: I44ec0a388b07799f29d656bae11df01ce3a49990
          Gerrit-Change-Number: 7945785
          Gerrit-PatchSet: 2
          Gerrit-Owner: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
          open
          diffy
          satisfied_requirement

          Chromium LUCI CQ (Gerrit)

          unread,
          Jun 26, 2026, 11:28:29 PM (3 days ago) Jun 26
          to Marc Treib, Rohit Rao, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

          Chromium LUCI CQ submitted the change

          Change information

          Commit message:
          [iOS] Update unit tests to create TestSyncService/SyncServiceImpl

          Before, many unit tests on iOS relied (often accidentally) on the
          fact that the SyncServiceFactory will, by default, create a real
          SyncServiceImpl, even in unit tests.

          Most of these tests don't actually need a real SyncServiceImpl;
          they just need "something that's not null". This is better served
          by TestSyncService, and so most tests are updated to use that. A
          few tests *do* need SyncServiceImpl, and are updated to set that
          up explicitly.

          This CL addresses test files in the following directory/ies:
          ['ios/chrome/browser/bring_android_tabs', 'ios/chrome/browser/lens_overlay', 'ios/chrome/browser/shared', 'ios/chrome/browser/content_suggestions', 'ios/chrome/browser/overlays', 'ios/chrome/browser/promos_manager', 'ios/chrome/browser/save_to_photos', 'ios/chrome/browser/tab_switcher']

          In a later CL, the factory will be updated to specify
          TestingCreation::kNoServiceForTests, so that all future tests
          will have to specify which kind of SyncService they need. This
          will bring the iOS factory in line with that for other platforms
          (see SyncServiceFactory::ServiceIsNULLWhileTesting()).

          This CL was uploaded by git cl split.
          Bug: 517225028
          Change-Id: I963c0c004934786a6b2c1be2834d51d878cbc52f
          Auto-Submit: Marc Treib <tr...@chromium.org>
          Reviewed-by: Rohit Rao <rohi...@chromium.org>
          Commit-Queue: Rohit Rao <rohi...@chromium.org>
          Cr-Commit-Position: refs/heads/main@{#1653594}
          Files:
          Change size: M
          Delta: 19 files changed, 76 insertions(+), 7 deletions(-)
          Branch: refs/heads/main
          Submit Requirements:
          • requirement satisfiedCode-Review: +1 by Rohit Rao
          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: I963c0c004934786a6b2c1be2834d51d878cbc52f
          Gerrit-Change-Number: 7945784
          Gerrit-PatchSet: 3
          Gerrit-Owner: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
          open
          diffy
          satisfied_requirement

          Chromium LUCI CQ (Gerrit)

          unread,
          Jun 26, 2026, 11:28:47 PM (3 days ago) Jun 26
          to Marc Treib, Rohit Rao, Code Review Nudger, chromium...@chromium.org, dtraino...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

          Chromium LUCI CQ submitted the change

          Change information

          Commit message:
          [iOS] Update unit tests to create TestSyncService/SyncServiceImpl

          Before, many unit tests on iOS relied (often accidentally) on the
          fact that the SyncServiceFactory will, by default, create a real
          SyncServiceImpl, even in unit tests.

          Most of these tests don't actually need a real SyncServiceImpl;
          they just need "something that's not null". This is better served
          by TestSyncService, and so most tests are updated to use that. A
          few tests *do* need SyncServiceImpl, and are updated to set that
          up explicitly.

          This CL addresses test files in the following directory/ies:
          ios/chrome/browser/download


          In a later CL, the factory will be updated to specify
          TestingCreation::kNoServiceForTests, so that all future tests
          will have to specify which kind of SyncService they need. This
          will bring the iOS factory in line with that for other platforms
          (see SyncServiceFactory::ServiceIsNULLWhileTesting()).

          This CL was uploaded by git cl split.

          Bug: 517225028
          Change-Id: I45baf398bee6688a7a5f8370705d0e8326b442b8
          Commit-Queue: Rohit Rao <rohi...@chromium.org>
          Reviewed-by: Rohit Rao <rohi...@chromium.org>
          Auto-Submit: Marc Treib <tr...@chromium.org>
          Cr-Commit-Position: refs/heads/main@{#1653595}
          Files:
          Change size: S
          Delta: 6 files changed, 26 insertions(+), 1 deletion(-)
          Branch: refs/heads/main
          Submit Requirements:
          • requirement satisfiedCode-Review: +1 by Rohit Rao
          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: I45baf398bee6688a7a5f8370705d0e8326b442b8
          Gerrit-Change-Number: 7945582
          Gerrit-PatchSet: 2
          Gerrit-Owner: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
          open
          diffy
          satisfied_requirement

          Marc Treib (Gerrit)

          unread,
          5:44 AM (9 hours ago) 5:44 AM
          to Marc Treib, Rohit Rao, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, ayman...@chromium.org, browser-comp...@chromium.org, feature-me...@chromium.org, filesapp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, mdjone...@chromium.org, tmartino+tran...@chromium.org, yuezhang...@chromium.org

          Marc Treib voted and added 2 comments

          Votes added by Marc Treib

          Auto-Submit+0
          Commit-Queue+1

          2 comments

          Patchset-level comments
          File-level comment, Patchset 2 (Latest):
          Marc Treib . resolved

          Thanks!

          File ios/chrome/browser/reader_mode/model/BUILD.gn
          Line 161, Patchset 1: public_deps = [
          Rohit Rao . resolved

          Why public_deps?

          Marc Treib

          No good reason, really - without this, the `unit_tests` target also has to depend on sync, but that's better. Updated.

          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: Ia1cb2e2f6f278e7a365da98a7a498124c1ed6d15
          Gerrit-Change-Number: 7946161
          Gerrit-PatchSet: 2
          Gerrit-Owner: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
          Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
          Gerrit-Comment-Date: Mon, 29 Jun 2026 09:43:51 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          Comment-In-Reply-To: Rohit Rao <rohi...@chromium.org>
          satisfied_requirement
          open
          diffy

          Marc Treib (Gerrit)

          unread,
          5:50 AM (9 hours ago) 5:50 AM
          to Marc Treib, Rohit Rao, Code Review Nudger, chromium...@chromium.org, andysjl...@chromium.org, christia...@chromium.org, dullweb...@chromium.org, eic+...@google.com, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, msrame...@chromium.org, nwoked...@chromium.org, vakh+safe_br...@chromium.org, xinghui...@chromium.org, zackha...@chromium.org

          Marc Treib voted and added 3 comments

          Votes added by Marc Treib

          Auto-Submit+0
          Commit-Queue+1

          3 comments

          Patchset-level comments
          File-level comment, Patchset 2 (Latest):
          Marc Treib . resolved

          Thanks!

          File ios/chrome/browser/enterprise/model/idle/action_unittest.mm
          Line 34, Patchset 1:#import "ios/chrome/browser/signin/model/identity_test_environment_browser_state_adaptor.h"
          Rohit Rao . resolved

          Is this needed?

          Marc Treib

          Nope, dunno where that came from, sorry!

          File ios/chrome/browser/safe_browsing/model/tailored_security/tailored_security_tab_helper_unittest.mm
          Line 11, Patchset 1:#import "components/sync/test/test_sync_service.h"
          Rohit Rao . resolved

          Is this needed, if we're using a real SyncService in this test?

          Marc Treib

          Nope! Removed.

          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: Id277e5d06ee26a93fd1680067482721cfb8181af
          Gerrit-Change-Number: 7949498
          Gerrit-PatchSet: 2
          Gerrit-Owner: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
          Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
          Gerrit-Comment-Date: Mon, 29 Jun 2026 09:50:02 +0000
          satisfied_requirement
          open
          diffy

          Marc Treib (Gerrit)

          unread,
          7:21 AM (7 hours ago) 7:21 AM
          to Marc Treib, Chromium LUCI CQ, Rohit Rao, Code Review Nudger, chromium...@chromium.org, andysjl...@chromium.org, christia...@chromium.org, dullweb...@chromium.org, eic+...@google.com, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, msrame...@chromium.org, nwoked...@chromium.org, vakh+safe_br...@chromium.org, xinghui...@chromium.org, zackha...@chromium.org

          Marc Treib 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: Id277e5d06ee26a93fd1680067482721cfb8181af
          Gerrit-Change-Number: 7949498
          Gerrit-PatchSet: 2
          Gerrit-Owner: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
          Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
          Gerrit-Comment-Date: Mon, 29 Jun 2026 11:21:11 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Marc Treib (Gerrit)

          unread,
          7:21 AM (7 hours ago) 7:21 AM
          to Marc Treib, Chromium LUCI CQ, Rohit Rao, Code Review Nudger, chromium...@chromium.org, dullweb...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, msrame...@chromium.org, tmartino+tran...@chromium.org

          Marc Treib 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: I724ef99252ffc5b1f83710156f5b6d58ff5ce2ec
          Gerrit-Change-Number: 7949518
          Gerrit-PatchSet: 1
          Gerrit-Owner: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
          Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
          Gerrit-Comment-Date: Mon, 29 Jun 2026 11:21:42 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Chromium LUCI CQ (Gerrit)

          unread,
          7:25 AM (7 hours ago) 7:25 AM
          to Marc Treib, Rohit Rao, Code Review Nudger, chromium...@chromium.org, andysjl...@chromium.org, christia...@chromium.org, dullweb...@chromium.org, eic+...@google.com, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, msrame...@chromium.org, nwoked...@chromium.org, vakh+safe_br...@chromium.org, xinghui...@chromium.org, zackha...@chromium.org

          Chromium LUCI CQ submitted the change with unreviewed changes

          Unreviewed changes

          1 is the latest approved patch-set.
          The change was submitted with unreviewed changes in the following files:

          ```
          The name of the file: ios/chrome/browser/safe_browsing/model/tailored_security/tailored_security_tab_helper_unittest.mm
          Insertions: 0, Deletions: 1.

          The diff is too large to show. Please review the diff.
          ```
          ```
          The name of the file: ios/chrome/browser/enterprise/model/idle/action_unittest.mm
          Insertions: 0, Deletions: 1.

          The diff is too large to show. Please review the diff.
          ```

          Change information

          Commit message:
          [iOS] Update unit tests to create TestSyncService/SyncServiceImpl

          Before, many unit tests on iOS relied (often accidentally) on the
          fact that the SyncServiceFactory will, by default, create a real
          SyncServiceImpl, even in unit tests.

          Most of these tests don't actually need a real SyncServiceImpl;
          they just need "something that's not null". This is better served
          by TestSyncService, and so most tests are updated to use that. A
          few tests *do* need SyncServiceImpl, and are updated to set that
          up explicitly.

          This CL addresses test files in the following directory/ies:
          ['ios/chrome/browser/browser_view', 'ios/chrome/browser/enterprise', 'ios/chrome/browser/account_picker', 'ios/chrome/browser/browsing_data', 'ios/chrome/browser/location_bar', 'ios/chrome/browser/post_restore_signin', 'ios/chrome/browser/safe_browsing', 'ios/chrome/browser/signin', 'ios/chrome/browser/welcome_back']


          In a later CL, the factory will be updated to specify
          TestingCreation::kNoServiceForTests, so that all future tests
          will have to specify which kind of SyncService they need. This
          will bring the iOS factory in line with that for other platforms
          (see SyncServiceFactory::ServiceIsNULLWhileTesting()).

          This CL was uploaded by git cl split.
          Bug: 517225028
          Change-Id: Id277e5d06ee26a93fd1680067482721cfb8181af
          Commit-Queue: Marc Treib <tr...@chromium.org>
          Reviewed-by: Rohit Rao <rohi...@chromium.org>
          Cr-Commit-Position: refs/heads/main@{#1653982}
          Files:
          Change size: M
          Delta: 20 files changed, 75 insertions(+), 0 deletions(-)
          Branch: refs/heads/main
          Submit Requirements:
          • requirement satisfiedCode-Review: +1 by Rohit Rao
          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: Id277e5d06ee26a93fd1680067482721cfb8181af
          Gerrit-Change-Number: 7949498
          Gerrit-PatchSet: 3
          Gerrit-Owner: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
          open
          diffy
          satisfied_requirement

          Chromium LUCI CQ (Gerrit)

          unread,
          7:26 AM (7 hours ago) 7:26 AM
          to Marc Treib, Rohit Rao, Code Review Nudger, chromium...@chromium.org, dullweb...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, msrame...@chromium.org, tmartino+tran...@chromium.org

          Chromium LUCI CQ submitted the change

          Change information

          Commit message:
          [iOS] Update unit tests to create TestSyncService/SyncServiceImpl

          Before, many unit tests on iOS relied (often accidentally) on the
          fact that the SyncServiceFactory will, by default, create a real
          SyncServiceImpl, even in unit tests.

          Most of these tests don't actually need a real SyncServiceImpl;
          they just need "something that's not null". This is better served
          by TestSyncService, and so most tests are updated to use that. A
          few tests *do* need SyncServiceImpl, and are updated to set that
          up explicitly.

          This CL addresses test files in the following directory/ies:
          ios/chrome/browser/settings


          In a later CL, the factory will be updated to specify
          TestingCreation::kNoServiceForTests, so that all future tests
          will have to specify which kind of SyncService they need. This
          will bring the iOS factory in line with that for other platforms
          (see SyncServiceFactory::ServiceIsNULLWhileTesting()).

          This CL was uploaded by git cl split.

          Bug: 517225028
          Change-Id: I724ef99252ffc5b1f83710156f5b6d58ff5ce2ec
          Commit-Queue: Marc Treib <tr...@chromium.org>
          Auto-Submit: Marc Treib <tr...@chromium.org>
          Reviewed-by: Rohit Rao <rohi...@chromium.org>
          Cr-Commit-Position: refs/heads/main@{#1653983}
          Files:
          Change size: M
          Delta: 11 files changed, 49 insertions(+), 1 deletion(-)
          Branch: refs/heads/main
          Submit Requirements:
          • requirement satisfiedCode-Review: +1 by Rohit Rao
          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: I724ef99252ffc5b1f83710156f5b6d58ff5ce2ec
          Gerrit-Change-Number: 7949518
          Gerrit-PatchSet: 2
          open
          diffy
          satisfied_requirement

          Marc Treib (Gerrit)

          unread,
          8:26 AM (6 hours ago) 8:26 AM
          to Marc Treib, Rohit Rao, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, ayman...@chromium.org, browser-comp...@chromium.org, feature-me...@chromium.org, filesapp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, mdjone...@chromium.org, tmartino+tran...@chromium.org, yuezhang...@chromium.org

          Marc Treib 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: Ia1cb2e2f6f278e7a365da98a7a498124c1ed6d15
          Gerrit-Change-Number: 7946161
          Gerrit-PatchSet: 2
          Gerrit-Owner: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
          Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
          Gerrit-Comment-Date: Mon, 29 Jun 2026 12:26:31 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Chromium LUCI CQ (Gerrit)

          unread,
          8:33 AM (6 hours ago) 8:33 AM
          to Marc Treib, Rohit Rao, Code Review Nudger, chromium...@chromium.org, ayman...@chromium.org, browser-comp...@chromium.org, feature-me...@chromium.org, filesapp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, mdjone...@chromium.org, tmartino+tran...@chromium.org, yuezhang...@chromium.org

          Chromium LUCI CQ submitted the change with unreviewed changes

          Unreviewed changes

          1 is the latest approved patch-set.
          The change was submitted with unreviewed changes in the following files:

          ```
          The name of the file: ios/chrome/browser/reader_mode/model/BUILD.gn
          Insertions: 6, Deletions: 6.


          The diff is too large to show. Please review the diff.
          ```

          Change information

          Commit message:
          [iOS] Update unit tests to create TestSyncService/SyncServiceImpl

          Before, many unit tests on iOS relied (often accidentally) on the
          fact that the SyncServiceFactory will, by default, create a real
          SyncServiceImpl, even in unit tests.

          Most of these tests don't actually need a real SyncServiceImpl;
          they just need "something that's not null". This is better served
          by TestSyncService, and so most tests are updated to use that. A
          few tests *do* need SyncServiceImpl, and are updated to set that
          up explicitly.

          This CL addresses test files in the following directory/ies:
          ['ios/chrome/browser/drive_file_picker', 'ios/chrome/browser/reader_mode', 'ios/chrome/browser/autofill', 'ios/chrome/browser/commerce', 'ios/chrome/browser/popup_menu', 'ios/chrome/browser/prerender', 'ios/chrome/browser/saved_tab_groups', 'ios/chrome/browser/synced_set_up']


          In a later CL, the factory will be updated to specify
          TestingCreation::kNoServiceForTests, so that all future tests
          will have to specify which kind of SyncService they need. This
          will bring the iOS factory in line with that for other platforms
          (see SyncServiceFactory::ServiceIsNULLWhileTesting()).

          This CL was uploaded by git cl split.
          Bug: 517225028
          Change-Id: Ia1cb2e2f6f278e7a365da98a7a498124c1ed6d15
          Commit-Queue: Marc Treib <tr...@chromium.org>
          Reviewed-by: Rohit Rao <rohi...@chromium.org>
          Cr-Commit-Position: refs/heads/main@{#1654006}
          Files:
          Change size: M
          Delta: 19 files changed, 77 insertions(+), 7 deletions(-)
          Branch: refs/heads/main
          Submit Requirements:
          • requirement satisfiedCode-Review: +1 by Rohit Rao
          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: Ia1cb2e2f6f278e7a365da98a7a498124c1ed6d15
          Gerrit-Change-Number: 7946161
          Gerrit-PatchSet: 3
          Gerrit-Owner: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: Marc Treib <tr...@chromium.org>
          Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
          open
          diffy
          satisfied_requirement
          Reply all
          Reply to author
          Forward
          0 new messages