scanner: initial setup [chromium/src : main]

0 views
Skip to first unread message

Curtis McMullan (Gerrit)

unread,
Sep 3, 2024, 1:46:00 AM9/3/24
to Darren Shen, Michael Cui, chromium...@chromium.org
Attention needed from Darren Shen and Michael Cui

Curtis McMullan added 1 comment

Patchset-level comments
File-level comment, Patchset 5 (Latest):
Curtis McMullan . resolved

PTAL thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Darren Shen
  • Michael Cui
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
Gerrit-Change-Number: 5826446
Gerrit-PatchSet: 5
Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
Gerrit-Reviewer: Michael Cui <ml...@google.com>
Gerrit-Attention: Darren Shen <sh...@chromium.org>
Gerrit-Attention: Michael Cui <ml...@google.com>
Gerrit-Comment-Date: Tue, 03 Sep 2024 05:45:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Darren Shen (Gerrit)

unread,
Sep 3, 2024, 1:55:36 AM9/3/24
to Curtis McMullan, Michael Cui, chromium...@chromium.org
Attention needed from Curtis McMullan and Michael Cui

Darren Shen voted and added 1 comment

Votes added by Darren Shen

Code-Review+1

1 comment

Patchset-level comments
Darren Shen . unresolved

nit: I'd also put TODOs or NOT_IMPLEMENTED in all the unimplemented methods

Open in Gerrit

Related details

Attention is currently required from:
  • Curtis McMullan
  • Michael Cui
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
Gerrit-Change-Number: 5826446
Gerrit-PatchSet: 5
Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
Gerrit-Reviewer: Michael Cui <ml...@google.com>
Gerrit-Attention: Curtis McMullan <curtism...@chromium.org>
Gerrit-Attention: Michael Cui <ml...@google.com>
Gerrit-Comment-Date: Tue, 03 Sep 2024 05:55:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Cui (Gerrit)

unread,
Sep 3, 2024, 2:23:54 AM9/3/24
to Curtis McMullan, Darren Shen, Michael Cui, chromium...@chromium.org
Attention needed from Curtis McMullan

Michael Cui added 3 comments

Commit Message
Line 11, Patchset 5 (Latest):BUG=b:363100868
Michael Cui . unresolved

optional: Bug links should appear in the commit message footer (i.e. the last paragraph with Change-Id) and be formatted: like `Bug: b:363100868`. https://chromium.googlesource.com/chromium/src/+/HEAD/docs/contributing.md#cl-footer-reference

File ash/public/cpp/scanner/scanner_client.h
Line 13, Patchset 5 (Latest):class ASH_PUBLIC_EXPORT ScannerClient {
Michael Cui . unresolved

optional naming: This is name may be a bit confusing - in another codebase I've worked in, a `Client` class is a long-lived browser-side delegate for a long-lived Ash-side `Controller` class.

This `Client` class, however, is a _short-lived_ (lifetime tied to a session) browser-side delegate for a short-lived Ash-side `Session` class. The long-lived browser-side delegate is named `ClientFactory` instead.

Should we rename `ScannerClientFactory + ScannerClient` to something else, like `ScannerClient + ScannerSessionClient`? Or we can be more explicit and use `ScannerBrowserDelegate + ScannerSessionBrowserDelegate`, but that's quite verbose. WDYT?

File ash/scanner/scanner_session.h
Line 18, Patchset 5 (Latest): ScannerSession();
Michael Cui . unresolved

optional: Should we take in a `std::unique_ptr` to the browser-side equivalent (`ScannerClient`) here? We can do this in a future CL if necessary.

Open in Gerrit

Related details

Attention is currently required from:
  • Curtis McMullan
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
Gerrit-Change-Number: 5826446
Gerrit-PatchSet: 5
Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
Gerrit-Reviewer: Michael Cui <ml...@google.com>
Gerrit-Attention: Curtis McMullan <curtism...@chromium.org>
Gerrit-Comment-Date: Tue, 03 Sep 2024 06:23:44 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Cui (Gerrit)

unread,
Sep 3, 2024, 2:24:01 AM9/3/24
to Curtis McMullan, Michael Cui, Darren Shen, chromium...@chromium.org
Attention needed from Curtis McMullan

Michael Cui voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Curtis McMullan
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
Gerrit-Change-Number: 5826446
Gerrit-PatchSet: 5
Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
Gerrit-Reviewer: Michael Cui <ml...@google.com>
Gerrit-Attention: Curtis McMullan <curtism...@chromium.org>
Gerrit-Comment-Date: Tue, 03 Sep 2024 06:23:48 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Curtis McMullan (Gerrit)

unread,
Sep 4, 2024, 1:46:31 AM9/4/24
to Michael Cui, Darren Shen, chromium...@chromium.org
Attention needed from Michael Cui

Curtis McMullan added 3 comments

Commit Message
Michael Cui . resolved

optional: Bug links should appear in the commit message footer (i.e. the last paragraph with Change-Id) and be formatted: like `Bug: b:363100868`. https://chromium.googlesource.com/chromium/src/+/HEAD/docs/contributing.md#cl-footer-reference

Curtis McMullan

Noted will do this next time!

File ash/public/cpp/scanner/scanner_client.h
Line 13, Patchset 5 (Latest):class ASH_PUBLIC_EXPORT ScannerClient {
Michael Cui . unresolved

optional naming: This is name may be a bit confusing - in another codebase I've worked in, a `Client` class is a long-lived browser-side delegate for a long-lived Ash-side `Controller` class.

This `Client` class, however, is a _short-lived_ (lifetime tied to a session) browser-side delegate for a short-lived Ash-side `Session` class. The long-lived browser-side delegate is named `ClientFactory` instead.

Should we rename `ScannerClientFactory + ScannerClient` to something else, like `ScannerClient + ScannerSessionClient`? Or we can be more explicit and use `ScannerBrowserDelegate + ScannerSessionBrowserDelegate`, but that's quite verbose. WDYT?

Curtis McMullan

Is that the convention for the term `Client` in this context, specifically for long lived vs short lived instances? Happy to change to whatever better suits, but my understanding was a `Client` is the convention used in `//ash` for a caller into `//chrome/browser/ash` and there was no specification of long lived vs short lived?

`ScannerBrowserDelegate` feels like the best alternative, but `ScannerSessionBrowserDelegate` is a mouthful and would probably have a corresponding `ScannerSessionBrowserDelegateImpl` in `//chrome/browser/ash/scanner` which is too much!

File ash/scanner/scanner_session.h
Michael Cui . resolved

optional: Should we take in a `std::unique_ptr` to the browser-side equivalent (`ScannerClient`) here? We can do this in a future CL if necessary.

Curtis McMullan

Yup this is the intent in a future CL.

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Cui
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
Gerrit-Change-Number: 5826446
Gerrit-PatchSet: 5
Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
Gerrit-Reviewer: Michael Cui <ml...@google.com>
Gerrit-Attention: Michael Cui <ml...@google.com>
Gerrit-Comment-Date: Wed, 04 Sep 2024 05:46:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Michael Cui <ml...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Curtis McMullan (Gerrit)

unread,
Sep 9, 2024, 2:56:29 AM9/9/24
to Michael Cui, Darren Shen, chromium...@chromium.org
Attention needed from Michael Cui

Curtis McMullan added 2 comments

Patchset-level comments
File-level comment, Patchset 5:
Darren Shen . resolved

nit: I'd also put TODOs or NOT_IMPLEMENTED in all the unimplemented methods

Curtis McMullan

Done

File ash/public/cpp/scanner/scanner_client.h
Line 13, Patchset 5:class ASH_PUBLIC_EXPORT ScannerClient {
Michael Cui . resolved

optional naming: This is name may be a bit confusing - in another codebase I've worked in, a `Client` class is a long-lived browser-side delegate for a long-lived Ash-side `Controller` class.

This `Client` class, however, is a _short-lived_ (lifetime tied to a session) browser-side delegate for a short-lived Ash-side `Session` class. The long-lived browser-side delegate is named `ClientFactory` instead.

Should we rename `ScannerClientFactory + ScannerClient` to something else, like `ScannerClient + ScannerSessionClient`? Or we can be more explicit and use `ScannerBrowserDelegate + ScannerSessionBrowserDelegate`, but that's quite verbose. WDYT?

Curtis McMullan

Is that the convention for the term `Client` in this context, specifically for long lived vs short lived instances? Happy to change to whatever better suits, but my understanding was a `Client` is the convention used in `//ash` for a caller into `//chrome/browser/ash` and there was no specification of long lived vs short lived?

`ScannerBrowserDelegate` feels like the best alternative, but `ScannerSessionBrowserDelegate` is a mouthful and would probably have a corresponding `ScannerSessionBrowserDelegateImpl` in `//chrome/browser/ash/scanner` which is too much!

Curtis McMullan

I'll resolve this for the moment because the conversation is mainly related to naming, and not blocking the CL. Let's chat offline about some better names for these classes.

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Cui
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
Gerrit-Change-Number: 5826446
Gerrit-PatchSet: 7
Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
Gerrit-Reviewer: Michael Cui <ml...@google.com>
Gerrit-Attention: Michael Cui <ml...@google.com>
Gerrit-Comment-Date: Mon, 09 Sep 2024 06:56:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Curtis McMullan <curtism...@chromium.org>
Comment-In-Reply-To: Darren Shen <sh...@chromium.org>
Comment-In-Reply-To: Michael Cui <ml...@google.com>
satisfied_requirement
open
diffy

Curtis McMullan (Gerrit)

unread,
Sep 9, 2024, 2:58:28 AM9/9/24
to Ahmed Fakhry, Michael Cui, Darren Shen, chromium...@chromium.org
Attention needed from Ahmed Fakhry and Michael Cui

Curtis McMullan added 1 comment

Patchset-level comments
File-level comment, Patchset 7 (Latest):
Curtis McMullan . resolved

PTAL thanks Ahmed!

Open in Gerrit

Related details

Attention is currently required from:
  • Ahmed Fakhry
  • Michael Cui
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
Gerrit-Change-Number: 5826446
Gerrit-PatchSet: 7
Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
Gerrit-Reviewer: Michael Cui <ml...@google.com>
Gerrit-Attention: Ahmed Fakhry <afa...@chromium.org>
Gerrit-Attention: Michael Cui <ml...@google.com>
Gerrit-Comment-Date: Mon, 09 Sep 2024 06:58:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Michael Cui (Gerrit)

unread,
Sep 9, 2024, 2:59:34 AM9/9/24
to Curtis McMullan, Ahmed Fakhry, Michael Cui, Darren Shen, chromium...@chromium.org
Attention needed from Ahmed Fakhry

Michael Cui voted and added 2 comments

Votes added by Michael Cui

Code-Review+1

2 comments

Patchset-level comments
Michael Cui . resolved

(Sorry - forgot to send out my comments!)

File ash/public/cpp/scanner/scanner_client.h
Line 13, Patchset 5:class ASH_PUBLIC_EXPORT ScannerClient {
Michael Cui . resolved

optional naming: This is name may be a bit confusing - in another codebase I've worked in, a `Client` class is a long-lived browser-side delegate for a long-lived Ash-side `Controller` class.

This `Client` class, however, is a _short-lived_ (lifetime tied to a session) browser-side delegate for a short-lived Ash-side `Session` class. The long-lived browser-side delegate is named `ClientFactory` instead.

Should we rename `ScannerClientFactory + ScannerClient` to something else, like `ScannerClient + ScannerSessionClient`? Or we can be more explicit and use `ScannerBrowserDelegate + ScannerSessionBrowserDelegate`, but that's quite verbose. WDYT?

Curtis McMullan

Is that the convention for the term `Client` in this context, specifically for long lived vs short lived instances? Happy to change to whatever better suits, but my understanding was a `Client` is the convention used in `//ash` for a caller into `//chrome/browser/ash` and there was no specification of long lived vs short lived?

`ScannerBrowserDelegate` feels like the best alternative, but `ScannerSessionBrowserDelegate` is a mouthful and would probably have a corresponding `ScannerSessionBrowserDelegateImpl` in `//chrome/browser/ash/scanner` which is too much!

Michael Cui

Ack

Open in Gerrit

Related details

Attention is currently required from:
  • Ahmed Fakhry
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
Gerrit-Change-Number: 5826446
Gerrit-PatchSet: 7
Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
Gerrit-Reviewer: Michael Cui <ml...@google.com>
Gerrit-Attention: Ahmed Fakhry <afa...@chromium.org>
Gerrit-Comment-Date: Mon, 09 Sep 2024 06:59:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Curtis McMullan <curtism...@chromium.org>
Comment-In-Reply-To: Michael Cui <ml...@google.com>
satisfied_requirement
open
diffy

Ahmed Fakhry (Gerrit)

unread,
Sep 9, 2024, 8:58:56 PM9/9/24
to Curtis McMullan, Michael Cui, Darren Shen, chromium...@chromium.org
Attention needed from Curtis McMullan

Ahmed Fakhry added 16 comments

File ash/constants/ash_switches.cc
Line 1107, Patchset 7 (Latest):// Used to enable scanner update.
Ahmed Fakhry . unresolved

What does this mean? Can you please make it a little less vague?

File ash/public/cpp/scanner/OWNERS
Line 4, Patchset 7 (Latest):sh...@chromium.org
Ahmed Fakhry . unresolved

Normally we don't add owners until the feature work is almost stable.

File ash/public/cpp/scanner/scanner_action.h
Line 16, Patchset 7 (Latest): virtual void Execute() = 0;
Ahmed Fakhry . unresolved

Can you please add some docs to the class and the methods? Ditto every where.

File ash/public/cpp/scanner/scanner_client.h
Line 17, Patchset 7 (Latest): virtual ScannerSystemState GetSystemState() = 0;
Ahmed Fakhry . unresolved

const

File ash/public/cpp/scanner/scanner_client_factory.h
Line 16, Patchset 7 (Latest):class ASH_PUBLIC_EXPORT ScannerClientFactory {
Ahmed Fakhry . unresolved

Why do we need this factory? Can you please let `ash::Shell` construct the client directly via its `ShellDelegate` API? Here's an example CL that does a similar thing to what you are doing: https://chromium-review.googlesource.com/c/chromium/src/+/5846149

File ash/public/cpp/scanner/scanner_enums.h
Line 18, Patchset 7 (Latest): kMinValue,
kInvalidConsent,
kMaxValue,
Ahmed Fakhry . unresolved

This makes it that we have **3 unique values**. I think what you want is the following:

```
enum class ASH_PUBLIC_EXPORT ScannerSystemCheck {
kMinValue = 0,
kInvalidConsent = kMinValue,
kMaxValue = kInvalidConsent,
};
```
Line 14, Patchset 7 (Latest): kBlocked,
Ahmed Fakhry . unresolved

What does "blocked" mean?

Please make sure to add adequate comments/docs to your CL. 😊 go/cros-cl-checklist

Line 12, Patchset 7 (Latest):enum ASH_PUBLIC_EXPORT ScannerStatus {
Ahmed Fakhry . unresolved

enum class. Ditto below.

File ash/scanner/OWNERS
File ash/scanner/scanner_controller.h
Line 27, Patchset 7 (Latest): std::unique_ptr<ScannerSession> StartNewSession();
Ahmed Fakhry . unresolved

Please help me understand what session we're talking about here?

Sunfish will start capture-mode in a special session that will also include "scanner" capabilities. How is this `ScannerSession` used in relation?

Line 20, Patchset 7 (Latest): ScannerController();
Ahmed Fakhry . unresolved

If you follow my earlier suggestion, you can pass the client directly to the ctor, since Shell creates both. Please see this example: https://source.chromium.org/chromium/chromium/src/+/main:ash/shell.cc;l=1331-1332;drc=8e948282d37c0e119e3102236878d6f4d5052c16

Line 20, Patchset 7 (Latest): ScannerController();
Ahmed Fakhry . unresolved

Please delete copy ctor and copy assignment.

File ash/scanner/scanner_controller.cc
Line 18, Patchset 7 (Latest):namespace ash {
Ahmed Fakhry . unresolved

Nit: Blank line.

File ash/scanner/scanner_session.h
Line 18, Patchset 7 (Latest): ScannerSession();
Ahmed Fakhry . unresolved

Ditto copy-ctor/copy-assign

File chrome/browser/ash/scanner/OWNERS
File chrome/browser/ash/scanner/scanner_client_impl.cc
Line 12, Patchset 7 (Latest): return system_state_provider_.GetSystemState();
Ahmed Fakhry . unresolved
For my understanding: Why does this need to be a class object? 
- Do you anticipate `ScannerSystemStateProvider` to be a complex class that need to implement other interfaces, and depend on other objects?
- Can the logic be inlined here?
- Will `ScannerSystemStateProvider` be complex enough that it merits being in its own .h/.cc file?
- Will its header need to be included else where, and therefore needs to be exposed?
- Can it live in an anonymous namespace inside this file?
Open in Gerrit

Related details

Attention is currently required from:
  • Curtis McMullan
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
    Gerrit-Change-Number: 5826446
    Gerrit-PatchSet: 7
    Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
    Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
    Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
    Gerrit-Reviewer: Michael Cui <ml...@google.com>
    Gerrit-Attention: Curtis McMullan <curtism...@chromium.org>
    Gerrit-Comment-Date: Tue, 10 Sep 2024 00:58:44 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Curtis McMullan (Gerrit)

    unread,
    Sep 10, 2024, 2:10:55 AM9/10/24
    to Ahmed Fakhry, Michael Cui, Darren Shen, chromium...@chromium.org
    Attention needed from Ahmed Fakhry, Darren Shen and Michael Cui

    Curtis McMullan added 17 comments

    File ash/constants/ash_switches.cc
    Line 1107, Patchset 7:// Used to enable scanner update.
    Ahmed Fakhry . resolved

    What does this mean? Can you please make it a little less vague?

    Curtis McMullan

    Updated this with a link providing detail.

    File ash/public/cpp/scanner/OWNERS

    Normally we don't add owners until the feature work is almost stable.

    Curtis McMullan

    I'd like to land this so that others can begin to contribute to the code and not require CL reviews from top level OWNERS. We have done this for other features as well. Let me know if you feel strongly about this.

    File ash/public/cpp/scanner/scanner_action.h
    Line 16, Patchset 7: virtual void Execute() = 0;
    Ahmed Fakhry . unresolved

    Can you please add some docs to the class and the methods? Ditto every where.

    Curtis McMullan

    I've added some comments to this class, but need to add some more throughout the CL so will this open for the moment to remind myself.

    File ash/public/cpp/scanner/scanner_client.h
    Line 17, Patchset 7: virtual ScannerSystemState GetSystemState() = 0;
    Ahmed Fakhry . resolved

    const

    Curtis McMullan

    Done

    File ash/public/cpp/scanner/scanner_client_factory.h
    Line 16, Patchset 7:class ASH_PUBLIC_EXPORT ScannerClientFactory {
    Ahmed Fakhry . resolved

    Why do we need this factory? Can you please let `ash::Shell` construct the client directly via its `ShellDelegate` API? Here's an example CL that does a similar thing to what you are doing: https://chromium-review.googlesource.com/c/chromium/src/+/5846149

    Curtis McMullan

    Apologies this name is a little misleading. I've used the term here `ScannerClient` to reference a delegate to the browser that is scoped to a ScannerSession. We will need this in the future as each delegate into the browser should be scoped to a particular profile via a ProfileKeyedService (see this similar setup [1] used for the lobster feature). I'll rename these classes to better fit the convention used here for `Client` classes.

    [1] https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ash/lobster/lobster_client_factory_impl.cc;l=26-31;drc=6888e6f2458fc1f604ad4b1743e69dce1dae564f

    File ash/public/cpp/scanner/scanner_enums.h
    Line 18, Patchset 7: kMinValue,
    kInvalidConsent,
    kMaxValue,
    Ahmed Fakhry . resolved

    This makes it that we have **3 unique values**. I think what you want is the following:

    ```
    enum class ASH_PUBLIC_EXPORT ScannerSystemCheck {
    kMinValue = 0,
    kInvalidConsent = kMinValue,
    kMaxValue = kInvalidConsent,
    };
    ```
    Curtis McMullan

    Good catch you are very right, thanks.

    Line 14, Patchset 7: kBlocked,
    Ahmed Fakhry . resolved

    What does "blocked" mean?

    Please make sure to add adequate comments/docs to your CL. 😊 go/cros-cl-checklist

    Curtis McMullan

    Added a comment for this.

    Line 12, Patchset 7:enum ASH_PUBLIC_EXPORT ScannerStatus {
    Ahmed Fakhry . resolved

    enum class. Ditto below.

    Curtis McMullan

    Done

    File ash/scanner/OWNERS
    Line 4, Patchset 7:sh...@chromium.org
    Ahmed Fakhry . resolved

    Ditto

    Curtis McMullan

    Similar to above comment, I'd love to get this landed so others can contribute without reviews going to top level OWNERS.

    File ash/scanner/scanner_controller.h
    Line 27, Patchset 7: std::unique_ptr<ScannerSession> StartNewSession();
    Ahmed Fakhry . resolved

    Please help me understand what session we're talking about here?

    Sunfish will start capture-mode in a special session that will also include "scanner" capabilities. How is this `ScannerSession` used in relation?

    Curtis McMullan

    This is a session for the Scanner feature, the lifetime of `ScannerSession` is linked to the lifetime of a "SunfishSession" however they don't have the exact same lifetimes. For example a "SunfishSession" may end but a `ScannerSession` may continue to exist to complete any processing it needs to do.

    So the relation is, a `ScannerSession` will be created alongside a "SunfishSession", but may outlive the "SunfishSession". Hope that helps!

    Line 20, Patchset 7: ScannerController();
    Ahmed Fakhry . resolved

    If you follow my earlier suggestion, you can pass the client directly to the ctor, since Shell creates both. Please see this example: https://source.chromium.org/chromium/chromium/src/+/main:ash/shell.cc;l=1331-1332;drc=8e948282d37c0e119e3102236878d6f4d5052c16

    Curtis McMullan

    Followed the earlier suggestion, and now pass the client directly in the ctor.

    Line 20, Patchset 7: ScannerController();
    Ahmed Fakhry . resolved

    Please delete copy ctor and copy assignment.

    Curtis McMullan

    Done

    File ash/scanner/scanner_controller.cc
    Line 18, Patchset 7:namespace ash {
    Ahmed Fakhry . resolved

    Nit: Blank line.

    Curtis McMullan

    Done

    File ash/scanner/scanner_session.h
    Line 18, Patchset 7: ScannerSession();
    Ahmed Fakhry . resolved

    Ditto copy-ctor/copy-assign

    Curtis McMullan

    Done

    File chrome/browser/ash/scanner/OWNERS
    Line 4, Patchset 7:sh...@chromium.org
    Ahmed Fakhry . resolved

    Ditto

    Curtis McMullan

    Similar to above comments re OWNERS

    File chrome/browser/ash/scanner/scanner_client_impl.cc
    Line 12, Patchset 7: return system_state_provider_.GetSystemState();
    Ahmed Fakhry . resolved
    For my understanding: Why does this need to be a class object? 
    - Do you anticipate `ScannerSystemStateProvider` to be a complex class that need to implement other interfaces, and depend on other objects?
    - Can the logic be inlined here?
    - Will `ScannerSystemStateProvider` be complex enough that it merits being in its own .h/.cc file?
    - Will its header need to be included else where, and therefore needs to be exposed?
    - Can it live in an anonymous namespace inside this file?
    Curtis McMullan

    Yes this is anticipated to hold a fair amount of logic in future CLs. It will be responsible for maintaining all required checks to enable / disable the feature, and will depend on other objects (observing their state etc). The current logic could be inlined absolutely, but future logic not so much. For an example of some of the logic required, see `EditorSwitch` [1]. We could add all checks required in this class file too, however it will definitely bloat it.

    [1] https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ash/input_method/editor_switch.cc

    File chrome/browser/ash/scanner/scanner_keyed_service.h
    Line 25, Patchset 8 (Latest):};
    Curtis McMullan . unresolved

    This will be a `ProfileKeyedService`.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ahmed Fakhry
    • Darren Shen
    • Michael Cui
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
    Gerrit-Change-Number: 5826446
    Gerrit-PatchSet: 8
    Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
    Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
    Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
    Gerrit-Reviewer: Michael Cui <ml...@google.com>
    Gerrit-Attention: Ahmed Fakhry <afa...@chromium.org>
    Gerrit-Attention: Darren Shen <sh...@chromium.org>
    Gerrit-Attention: Michael Cui <ml...@google.com>
    Gerrit-Comment-Date: Tue, 10 Sep 2024 06:10:45 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Ahmed Fakhry <afa...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Curtis McMullan (Gerrit)

    unread,
    Sep 10, 2024, 2:15:12 AM9/10/24
    to Ahmed Fakhry, Michael Cui, Darren Shen, chromium...@chromium.org
    Attention needed from Ahmed Fakhry, Darren Shen and Michael Cui

    Curtis McMullan added 1 comment

    File chrome/browser/ash/scanner/scanner_keyed_service.h
    Curtis McMullan . unresolved

    This will be a `ProfileKeyedService`.

    Curtis McMullan

    I'll change this to a `ProfileKeyedService` in this CL when I get a chance. With that change the structure of the CL (ie. the need for a `ScannerDelegate` and a `ScannerProfileScopedDelegate`) will make more sense.

    Gerrit-Comment-Date: Tue, 10 Sep 2024 06:15:04 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Curtis McMullan <curtism...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Ahmed Fakhry (Gerrit)

    unread,
    Sep 10, 2024, 6:24:48 PM9/10/24
    to Curtis McMullan, Michael Cui, Darren Shen, chromium...@chromium.org
    Attention needed from Curtis McMullan, Darren Shen and Michael Cui

    Ahmed Fakhry added 14 comments

    File ash/public/cpp/scanner/OWNERS
    Ahmed Fakhry . unresolved

    Normally we don't add owners until the feature work is almost stable.

    Curtis McMullan

    I'd like to land this so that others can begin to contribute to the code and not require CL reviews from top level OWNERS. We have done this for other features as well. Let me know if you feel strongly about this.

    Ahmed Fakhry

    I understand the reason behind this .. the desire to make faster progress, but having the top level owners as reviewers at the initial stages of a project is very important, since they can help you catch a lot of issues with your architecture early on.

    I'm ok with keeping ash/scanner/OWNERS, but please remove all others until a later stage of the project.

    File ash/public/cpp/scanner/scanner_action.h
    Line 18, Patchset 8 (Latest): // Complete the operation contained within this action.
    Ahmed Fakhry . unresolved

    Completes

    Function comments should use the indicative mood ("Opens the file") rather than the imperative ("Open the file").

    Line 16, Patchset 7: virtual void Execute() = 0;
    Ahmed Fakhry . resolved

    Can you please add some docs to the class and the methods? Ditto every where.

    Curtis McMullan

    I've added some comments to this class, but need to add some more throughout the CL so will this open for the moment to remind myself.

    Ahmed Fakhry

    Acknowledged

    File ash/scanner/scanner_controller.h
    Line 27, Patchset 7: std::unique_ptr<ScannerSession> StartNewSession();
    Ahmed Fakhry . unresolved

    Please help me understand what session we're talking about here?

    Sunfish will start capture-mode in a special session that will also include "scanner" capabilities. How is this `ScannerSession` used in relation?

    Curtis McMullan

    This is a session for the Scanner feature, the lifetime of `ScannerSession` is linked to the lifetime of a "SunfishSession" however they don't have the exact same lifetimes. For example a "SunfishSession" may end but a `ScannerSession` may continue to exist to complete any processing it needs to do.

    So the relation is, a `ScannerSession` will be created alongside a "SunfishSession", but may outlive the "SunfishSession". Hope that helps!

    Ahmed Fakhry

    Can we please document this somewhere?

    File ash/scanner/scanner_controller.cc
    Line 46, Patchset 8 (Latest): std::unique_ptr<ScannerProfileScopedDelegate> profile_scoped_delegate =
    Ahmed Fakhry . unresolved

    This will be immediately destroyed when this function returns. Was that meant to be passed to `ScannerSession`?

    Line 48, Patchset 8 (Latest): return profile_scoped_delegate != nullptr &&
    Ahmed Fakhry . unresolved

    Nit: Just `profile_scoped_delegate && ...`

    File chrome/browser/ash/scanner/OWNERS
    Ahmed Fakhry . unresolved

    Ditto

    Curtis McMullan

    Similar to above comments re OWNERS

    Ahmed Fakhry

    As mentioned earlier. Let's remove this one.

    File chrome/browser/ash/scanner/chrome_scanner_delegate.h
    Line 26, Patchset 8 (Latest):
    private:
    // Not owned by this class
    raw_ptr<ash::ScannerController> controller_;
    Ahmed Fakhry . unresolved

    Not needed. Please remove for now.

    Line 23, Patchset 8 (Latest): // ash::ScannerDelegate overrides
    Ahmed Fakhry . unresolved

    Nit: Just
    ```
    // ash::ScannerDelegate:
    ```

    Line 20, Patchset 8 (Latest): ChromeScannerDelegate();
    Ahmed Fakhry . unresolved

    Nit: Delete copy-ctor/copy-assign.

    File chrome/browser/ash/scanner/scanner_keyed_service.h
    Curtis McMullan . resolved

    This will be a `ProfileKeyedService`.

    Curtis McMullan

    I'll change this to a `ProfileKeyedService` in this CL when I get a chance. With that change the structure of the CL (ie. the need for a `ScannerDelegate` and a `ScannerProfileScopedDelegate`) will make more sense.

    Ahmed Fakhry

    Acknowledged

    Line 20, Patchset 8 (Latest): // ash::ScannerProfileScopedDelegate overrides
    Ahmed Fakhry . unresolved

    Ditto:

    ```
    / ash::ScannerProfileScopedDelegate:
    ```

    Line 17, Patchset 8 (Latest): ScannerKeyedService();
    Ahmed Fakhry . unresolved

    Ditto

    File chrome/browser/ui/ash/shell_delegate/chrome_shell_delegate.h
    Line 59, Patchset 8 (Latest): std::unique_ptr<ash::ScannerDelegate> CreateScannerDelegate() const override;
    Ahmed Fakhry . unresolved

    I think you need to implement this in `TestShellDelegate`. Otherwise ash_unittests will fail to compile.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Curtis McMullan
    • Darren Shen
    • Michael Cui
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
    Gerrit-Change-Number: 5826446
    Gerrit-PatchSet: 8
    Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
    Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
    Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
    Gerrit-Reviewer: Michael Cui <ml...@google.com>
    Gerrit-Attention: Curtis McMullan <curtism...@chromium.org>
    Gerrit-Attention: Darren Shen <sh...@chromium.org>
    Gerrit-Attention: Michael Cui <ml...@google.com>
    Gerrit-Comment-Date: Tue, 10 Sep 2024 22:24:39 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Curtis McMullan <curtism...@chromium.org>
    Comment-In-Reply-To: Ahmed Fakhry <afa...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Ahmed Fakhry (Gerrit)

    unread,
    Sep 10, 2024, 6:25:40 PM9/10/24
    to Curtis McMullan, Sophie Wen, Elijah Hewer, Michael Cui, Darren Shen, chromium...@chromium.org
    Attention needed from Curtis McMullan, Darren Shen, Elijah Hewer, Michael Cui and Sophie Wen

    Ahmed Fakhry added 1 comment

    File ash/scanner/scanner_controller.h
    Line 27, Patchset 7: std::unique_ptr<ScannerSession> StartNewSession();
    Ahmed Fakhry . unresolved

    Please help me understand what session we're talking about here?

    Sunfish will start capture-mode in a special session that will also include "scanner" capabilities. How is this `ScannerSession` used in relation?

    Curtis McMullan

    This is a session for the Scanner feature, the lifetime of `ScannerSession` is linked to the lifetime of a "SunfishSession" however they don't have the exact same lifetimes. For example a "SunfishSession" may end but a `ScannerSession` may continue to exist to complete any processing it needs to do.

    So the relation is, a `ScannerSession` will be created alongside a "SunfishSession", but may outlive the "SunfishSession". Hope that helps!

    Ahmed Fakhry

    Can we please document this somewhere?

    Attention is currently required from:
    • Curtis McMullan
    • Darren Shen
    • Elijah Hewer
    • Michael Cui
    • Sophie Wen
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
    Gerrit-Change-Number: 5826446
    Gerrit-PatchSet: 8
    Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
    Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
    Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
    Gerrit-Reviewer: Michael Cui <ml...@google.com>
    Gerrit-CC: Elijah Hewer <he...@chromium.org>
    Gerrit-CC: Sophie Wen <soph...@chromium.org>
    Gerrit-Attention: Curtis McMullan <curtism...@chromium.org>
    Gerrit-Attention: Sophie Wen <soph...@chromium.org>
    Gerrit-Attention: Elijah Hewer <he...@chromium.org>
    Gerrit-Attention: Darren Shen <sh...@chromium.org>
    Gerrit-Attention: Michael Cui <ml...@google.com>
    Gerrit-Comment-Date: Tue, 10 Sep 2024 22:25:30 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sophie Wen (Gerrit)

    unread,
    Sep 10, 2024, 10:14:44 PM9/10/24
    to Curtis McMullan, Elijah Hewer, Ahmed Fakhry, Michael Cui, Darren Shen, chromium...@chromium.org
    Attention needed from Ahmed Fakhry, Curtis McMullan, Darren Shen, Elijah Hewer and Michael Cui

    Sophie Wen added 1 comment

    File ash/scanner/scanner_controller.h
    Line 27, Patchset 7: std::unique_ptr<ScannerSession> StartNewSession();
    Ahmed Fakhry . unresolved

    Please help me understand what session we're talking about here?

    Sunfish will start capture-mode in a special session that will also include "scanner" capabilities. How is this `ScannerSession` used in relation?

    Curtis McMullan

    This is a session for the Scanner feature, the lifetime of `ScannerSession` is linked to the lifetime of a "SunfishSession" however they don't have the exact same lifetimes. For example a "SunfishSession" may end but a `ScannerSession` may continue to exist to complete any processing it needs to do.

    So the relation is, a `ScannerSession` will be created alongside a "SunfishSession", but may outlive the "SunfishSession". Hope that helps!

    Ahmed Fakhry

    Can we please document this somewhere?

    Ahmed Fakhry

    @soph...@chromium.org @he...@chromium.org FYI

    Sophie Wen

    I'd also like to get more context of when the `ScannerSession` will need to outlive a `SunfishSession`? Since there will be no real-time user interaction after `SunfishSession` ends, could any needed post-processing be done via a deferred task runner? Please correct me if I'm misunderstanding.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ahmed Fakhry
    • Curtis McMullan
    • Darren Shen
    • Elijah Hewer
    • Michael Cui
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
    Gerrit-Change-Number: 5826446
    Gerrit-PatchSet: 8
    Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
    Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
    Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
    Gerrit-Reviewer: Michael Cui <ml...@google.com>
    Gerrit-CC: Elijah Hewer <he...@chromium.org>
    Gerrit-CC: Sophie Wen <soph...@chromium.org>
    Gerrit-Attention: Curtis McMullan <curtism...@chromium.org>
    Gerrit-Attention: Ahmed Fakhry <afa...@chromium.org>
    Gerrit-Attention: Elijah Hewer <he...@chromium.org>
    Gerrit-Attention: Darren Shen <sh...@chromium.org>
    Gerrit-Attention: Michael Cui <ml...@google.com>
    Gerrit-Comment-Date: Wed, 11 Sep 2024 02:14:36 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Curtis McMullan (Gerrit)

    unread,
    Sep 10, 2024, 11:00:21 PM9/10/24
    to Sophie Wen, Elijah Hewer, Ahmed Fakhry, Michael Cui, Darren Shen, chromium...@chromium.org
    Attention needed from Ahmed Fakhry, Darren Shen, Elijah Hewer, Michael Cui and Sophie Wen

    Curtis McMullan added 12 comments

    File ash/public/cpp/scanner/OWNERS
    Ahmed Fakhry . resolved

    Normally we don't add owners until the feature work is almost stable.

    Curtis McMullan

    I'd like to land this so that others can begin to contribute to the code and not require CL reviews from top level OWNERS. We have done this for other features as well. Let me know if you feel strongly about this.

    Ahmed Fakhry

    I understand the reason behind this .. the desire to make faster progress, but having the top level owners as reviewers at the initial stages of a project is very important, since they can help you catch a lot of issues with your architecture early on.

    I'm ok with keeping ash/scanner/OWNERS, but please remove all others until a later stage of the project.

    Curtis McMullan

    Okay fair enough, I'll leave this OWNERS file and remove the others.

    File ash/public/cpp/scanner/scanner_action.h
    Line 18, Patchset 8: // Complete the operation contained within this action.
    Ahmed Fakhry . resolved

    Completes

    Function comments should use the indicative mood ("Opens the file") rather than the imperative ("Open the file").

    Curtis McMullan

    Done

    File ash/scanner/scanner_controller.h
    Line 27, Patchset 7: std::unique_ptr<ScannerSession> StartNewSession();
    Ahmed Fakhry . resolved

    Please help me understand what session we're talking about here?

    Sunfish will start capture-mode in a special session that will also include "scanner" capabilities. How is this `ScannerSession` used in relation?

    Curtis McMullan

    This is a session for the Scanner feature, the lifetime of `ScannerSession` is linked to the lifetime of a "SunfishSession" however they don't have the exact same lifetimes. For example a "SunfishSession" may end but a `ScannerSession` may continue to exist to complete any processing it needs to do.

    So the relation is, a `ScannerSession` will be created alongside a "SunfishSession", but may outlive the "SunfishSession". Hope that helps!

    Ahmed Fakhry

    Can we please document this somewhere?

    Ahmed Fakhry

    @soph...@chromium.org @he...@chromium.org FYI

    Sophie Wen

    I'd also like to get more context of when the `ScannerSession` will need to outlive a `SunfishSession`? Since there will be no real-time user interaction after `SunfishSession` ends, could any needed post-processing be done via a deferred task runner? Please correct me if I'm misunderstanding.

    Curtis McMullan

    For sure! I'll add some of these details in the comments above the `ScannerSession` class definition.

    @sophiewen, yes you are right there shouldn't be any real time user interaction after a` SunfishSession` ends. However, we may want to forward the user to a URL after the screen capture overlay has closed or complete some other UX interaction post `SunfishSession`. Or maybe we want to record some metrics or complete some other post session analysis after the overlay has closed.

    I really would prefer to not strictly bind the lifetime of this `ScannerSession` to the lifetime of a `SunfishSession` to give us this flexibility with the use of `ScannerSession`.

    File ash/scanner/scanner_controller.cc
    Line 46, Patchset 8: std::unique_ptr<ScannerProfileScopedDelegate> profile_scoped_delegate =
    Ahmed Fakhry . resolved

    This will be immediately destroyed when this function returns. Was that meant to be passed to `ScannerSession`?

    Curtis McMullan

    Yeah you are very right, in the following CL this is passed to the `ScannerSession` so the session has access to the browser.

    Line 48, Patchset 8: return profile_scoped_delegate != nullptr &&
    Ahmed Fakhry . resolved

    Nit: Just `profile_scoped_delegate && ...`

    Curtis McMullan

    Done

    File chrome/browser/ash/scanner/OWNERS
    Ahmed Fakhry . resolved

    Ditto

    Curtis McMullan

    Similar to above comments re OWNERS

    Ahmed Fakhry

    As mentioned earlier. Let's remove this one.

    Curtis McMullan

    Done

    File chrome/browser/ash/scanner/chrome_scanner_delegate.h

    private:
    // Not owned by this class
    raw_ptr<ash::ScannerController> controller_;
    Ahmed Fakhry . resolved

    Not needed. Please remove for now.

    Curtis McMullan

    Done

    Line 23, Patchset 8: // ash::ScannerDelegate overrides
    Ahmed Fakhry . resolved

    Nit: Just
    ```
    // ash::ScannerDelegate:
    ```

    Curtis McMullan

    Done

    Line 20, Patchset 8: ChromeScannerDelegate();
    Ahmed Fakhry . resolved

    Nit: Delete copy-ctor/copy-assign.

    Curtis McMullan

    Done

    File chrome/browser/ash/scanner/scanner_keyed_service.h
    Line 20, Patchset 8: // ash::ScannerProfileScopedDelegate overrides
    Ahmed Fakhry . resolved

    Ditto:

    ```
    / ash::ScannerProfileScopedDelegate:
    ```

    Curtis McMullan

    Done

    Line 17, Patchset 8: ScannerKeyedService();
    Ahmed Fakhry . resolved

    Ditto

    Curtis McMullan

    Done

    File chrome/browser/ui/ash/shell_delegate/chrome_shell_delegate.h
    Line 59, Patchset 8: std::unique_ptr<ash::ScannerDelegate> CreateScannerDelegate() const override;
    Ahmed Fakhry . resolved

    I think you need to implement this in `TestShellDelegate`. Otherwise ash_unittests will fail to compile.

    Curtis McMullan

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ahmed Fakhry
    • Darren Shen
    • Elijah Hewer
    • Michael Cui
    • Sophie Wen
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
    Gerrit-Change-Number: 5826446
    Gerrit-PatchSet: 9
    Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
    Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
    Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
    Gerrit-Reviewer: Michael Cui <ml...@google.com>
    Gerrit-CC: Elijah Hewer <he...@chromium.org>
    Gerrit-CC: Sophie Wen <soph...@chromium.org>
    Gerrit-Attention: Sophie Wen <soph...@chromium.org>
    Gerrit-Attention: Ahmed Fakhry <afa...@chromium.org>
    Gerrit-Attention: Elijah Hewer <he...@chromium.org>
    Gerrit-Attention: Darren Shen <sh...@chromium.org>
    Gerrit-Attention: Michael Cui <ml...@google.com>
    Gerrit-Comment-Date: Wed, 11 Sep 2024 03:00:08 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Curtis McMullan <curtism...@chromium.org>
    Comment-In-Reply-To: Ahmed Fakhry <afa...@chromium.org>
    Comment-In-Reply-To: Sophie Wen <soph...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Curtis McMullan (Gerrit)

    unread,
    Sep 11, 2024, 12:31:31 AM9/11/24
    to Scott Violet, Sophie Wen, Elijah Hewer, Ahmed Fakhry, Michael Cui, Darren Shen, chromium...@chromium.org
    Attention needed from Ahmed Fakhry, Darren Shen, Elijah Hewer, Michael Cui, Scott Violet and Sophie Wen

    Curtis McMullan added 2 comments

    Patchset-level comments
    File-level comment, Patchset 11 (Latest):
    Curtis McMullan . resolved

    PTAL sky@ for //chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc

    Thanks!

    File chrome/browser/ash/scanner/scanner_keyed_service.h
    Curtis McMullan . resolved

    This will be a `ProfileKeyedService`.

    Curtis McMullan

    I'll change this to a `ProfileKeyedService` in this CL when I get a chance. With that change the structure of the CL (ie. the need for a `ScannerDelegate` and a `ScannerProfileScopedDelegate`) will make more sense.

    Ahmed Fakhry

    Acknowledged

    Curtis McMullan

    I've made this a true `ProfileKeyedService` and updated the CL accordingly.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ahmed Fakhry
    • Darren Shen
    • Elijah Hewer
    • Michael Cui
    • Scott Violet
    • Sophie Wen
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
    Gerrit-Change-Number: 5826446
    Gerrit-PatchSet: 11
    Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
    Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
    Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
    Gerrit-Reviewer: Michael Cui <ml...@google.com>
    Gerrit-Reviewer: Scott Violet <s...@chromium.org>
    Gerrit-CC: Elijah Hewer <he...@chromium.org>
    Gerrit-CC: Sophie Wen <soph...@chromium.org>
    Gerrit-Attention: Scott Violet <s...@chromium.org>
    Gerrit-Attention: Sophie Wen <soph...@chromium.org>
    Gerrit-Attention: Ahmed Fakhry <afa...@chromium.org>
    Gerrit-Attention: Elijah Hewer <he...@chromium.org>
    Gerrit-Attention: Darren Shen <sh...@chromium.org>
    Gerrit-Attention: Michael Cui <ml...@google.com>
    Gerrit-Comment-Date: Wed, 11 Sep 2024 04:31:22 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michael Cui (Gerrit)

    unread,
    Sep 11, 2024, 1:34:27 AM9/11/24
    to Curtis McMullan, Michael Cui, Scott Violet, Sophie Wen, Elijah Hewer, Ahmed Fakhry, Darren Shen, chromium...@chromium.org
    Attention needed from Ahmed Fakhry, Curtis McMullan, Darren Shen, Elijah Hewer, Scott Violet and Sophie Wen

    Michael Cui voted and added 2 comments

    Votes added by Michael Cui

    Code-Review+1

    2 comments

    File chrome/browser/ash/scanner/DEPS
    Line 9, Patchset 11 (Latest):
    Michael Cui . unresolved

    nit: unneeded whitespace

    File chrome/browser/ui/ash/shell_delegate/chrome_shell_delegate.cc
    Line 227, Patchset 11 (Latest): return std::make_unique<ChromeScannerDelegate>();
    Michael Cui . unresolved

    optional: If we expect `ScannerDelegate` to not have any more functionality other than getting a pointer to the service, consider making `ScannerKeyedServiceFactory` implement `ash::ScannerDelegate` and return a raw pointer here. See https://crrev.com/c/5846970 for an example.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ahmed Fakhry
    • Curtis McMullan
    • Darren Shen
    • Elijah Hewer
    • Scott Violet
    • Sophie Wen
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
    Gerrit-Change-Number: 5826446
    Gerrit-PatchSet: 11
    Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
    Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
    Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
    Gerrit-Reviewer: Michael Cui <ml...@google.com>
    Gerrit-Reviewer: Scott Violet <s...@chromium.org>
    Gerrit-CC: Elijah Hewer <he...@chromium.org>
    Gerrit-CC: Sophie Wen <soph...@chromium.org>
    Gerrit-Attention: Curtis McMullan <curtism...@chromium.org>
    Gerrit-Attention: Scott Violet <s...@chromium.org>
    Gerrit-Attention: Sophie Wen <soph...@chromium.org>
    Gerrit-Attention: Ahmed Fakhry <afa...@chromium.org>
    Gerrit-Attention: Elijah Hewer <he...@chromium.org>
    Gerrit-Attention: Darren Shen <sh...@chromium.org>
    Gerrit-Comment-Date: Wed, 11 Sep 2024 05:34:14 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Scott Violet (Gerrit)

    unread,
    Sep 11, 2024, 11:25:13 AM9/11/24
    to Curtis McMullan, Kyle Horimoto, Michael Cui, Scott Violet, Sophie Wen, Elijah Hewer, Ahmed Fakhry, Darren Shen, chromium...@chromium.org
    Attention needed from Ahmed Fakhry, Curtis McMullan, Darren Shen, Elijah Hewer, Kyle Horimoto and Sophie Wen

    Scott Violet added 1 comment

    Patchset-level comments
    File-level comment, Patchset 12 (Latest):
    Scott Violet . resolved

    chrome_browser_main_extra_parts_profiles LGTM (I did not look at anything else).

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ahmed Fakhry
    • Curtis McMullan
    • Darren Shen
    • Elijah Hewer
    • Kyle Horimoto
    • Sophie Wen
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
    Gerrit-Change-Number: 5826446
    Gerrit-PatchSet: 12
    Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
    Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
    Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
    Gerrit-Reviewer: Kyle Horimoto <khor...@chromium.org>
    Gerrit-Reviewer: Michael Cui <ml...@google.com>
    Gerrit-Reviewer: Scott Violet <s...@chromium.org>
    Gerrit-CC: Elijah Hewer <he...@chromium.org>
    Gerrit-CC: Sophie Wen <soph...@chromium.org>
    Gerrit-Attention: Curtis McMullan <curtism...@chromium.org>
    Gerrit-Attention: Kyle Horimoto <khor...@chromium.org>
    Gerrit-Attention: Sophie Wen <soph...@chromium.org>
    Gerrit-Attention: Ahmed Fakhry <afa...@chromium.org>
    Gerrit-Attention: Elijah Hewer <he...@chromium.org>
    Gerrit-Attention: Darren Shen <sh...@chromium.org>
    Gerrit-Comment-Date: Wed, 11 Sep 2024 15:25:02 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Ahmed Fakhry (Gerrit)

    unread,
    Sep 11, 2024, 12:17:30 PM9/11/24
    to Curtis McMullan, Kyle Horimoto, Michael Cui, Scott Violet, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org
    Attention needed from Curtis McMullan, Darren Shen, Elijah Hewer, Kyle Horimoto, Michael Cui and Sophie Wen

    Ahmed Fakhry voted and added 7 comments

    Votes added by Ahmed Fakhry

    Code-Review+1

    7 comments

    Patchset-level comments
    Ahmed Fakhry . resolved

    LGTM % below

    File ash/public/cpp/scanner/OWNERS
    Line 4, Patchset 12 (Latest):sh...@chromium.org
    Ahmed Fakhry . unresolved

    Please remove this file.

    File ash/scanner/scanner_controller.h
    Line 33, Patchset 12 (Latest): // due to system level constraints (ie pref disabled, feature not allowed).
    Ahmed Fakhry . unresolved

    i.e.

    File chrome/browser/ash/scanner/DEPS
    Michael Cui . unresolved

    nit: unneeded whitespace

    Ahmed Fakhry

    +1

    File chrome/browser/ash/scanner/scanner_keyed_service.h
    Line 32, Patchset 12 (Latest): // KeyedService
    Ahmed Fakhry . unresolved

    // KeyedService:

    File chrome/browser/ash/scanner/scanner_keyed_service_factory.h
    Line 30, Patchset 12 (Latest): // BrowserContextKeyedServiceFactory
    Ahmed Fakhry . unresolved

    // BrowserContextKeyedServiceFactory:

    File chrome/browser/ash/scanner/scanner_system_state_provider.h
    Line 16, Patchset 12 (Latest):class ScannerSystemStateProvider {
    Ahmed Fakhry . unresolved

    Question (doesn't have to be in this CL): Can this class and `ScannerKeyedService` be combined together into one (e.g. just `ScannerKeyedService`)?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Curtis McMullan
    • Darren Shen
    • Elijah Hewer
    • Kyle Horimoto
    • Michael Cui
    • Sophie Wen
    Gerrit-Attention: Elijah Hewer <he...@chromium.org>
    Gerrit-Attention: Darren Shen <sh...@chromium.org>
    Gerrit-Attention: Michael Cui <ml...@google.com>
    Gerrit-Comment-Date: Wed, 11 Sep 2024 16:17:16 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Michael Cui <ml...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Curtis McMullan (Gerrit)

    unread,
    Sep 12, 2024, 11:49:14 PM9/12/24
    to Ahmed Fakhry, Kyle Horimoto, Michael Cui, Scott Violet, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org
    Attention needed from Ahmed Fakhry, Darren Shen, Elijah Hewer, Kyle Horimoto, Michael Cui and Sophie Wen

    Curtis McMullan added 7 comments

    File ash/public/cpp/scanner/OWNERS
    Line 4, Patchset 12:sh...@chromium.org
    Ahmed Fakhry . resolved

    Please remove this file.

    Curtis McMullan

    Done

    File ash/scanner/scanner_controller.h
    Line 33, Patchset 12: // due to system level constraints (ie pref disabled, feature not allowed).
    Ahmed Fakhry . resolved

    i.e.

    Curtis McMullan

    Done

    File chrome/browser/ash/scanner/DEPS
    Line 9, Patchset 11:
    Michael Cui . resolved

    nit: unneeded whitespace

    Ahmed Fakhry

    +1

    Curtis McMullan

    Done

    File chrome/browser/ash/scanner/scanner_keyed_service.h
    Line 32, Patchset 12: // KeyedService
    Ahmed Fakhry . resolved

    // KeyedService:

    Curtis McMullan

    Done

    File chrome/browser/ash/scanner/scanner_keyed_service_factory.h
    Line 30, Patchset 12: // BrowserContextKeyedServiceFactory
    Ahmed Fakhry . resolved

    // BrowserContextKeyedServiceFactory:

    Curtis McMullan

    Done

    File chrome/browser/ash/scanner/scanner_system_state_provider.h
    Line 16, Patchset 12:class ScannerSystemStateProvider {
    Ahmed Fakhry . resolved

    Question (doesn't have to be in this CL): Can this class and `ScannerKeyedService` be combined together into one (e.g. just `ScannerKeyedService`)?

    Curtis McMullan

    As mentioned previously we can inline these, however there will be a solid amount of logic added to this class alone so it will be nice to encapsulate it as its own single unit rather than merging it with its holding class.

    File chrome/browser/ui/ash/shell_delegate/chrome_shell_delegate.cc
    Line 227, Patchset 11: return std::make_unique<ChromeScannerDelegate>();
    Michael Cui . resolved

    optional: If we expect `ScannerDelegate` to not have any more functionality other than getting a pointer to the service, consider making `ScannerKeyedServiceFactory` implement `ash::ScannerDelegate` and return a raw pointer here. See https://crrev.com/c/5846970 for an example.

    Curtis McMullan

    Acknowledged

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ahmed Fakhry
    • Darren Shen
    • Elijah Hewer
    • Kyle Horimoto
    • Michael Cui
    • Sophie Wen
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
      Gerrit-Change-Number: 5826446
      Gerrit-PatchSet: 13
      Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
      Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
      Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
      Gerrit-Reviewer: Kyle Horimoto <khor...@chromium.org>
      Gerrit-Reviewer: Michael Cui <ml...@google.com>
      Gerrit-Reviewer: Scott Violet <s...@chromium.org>
      Gerrit-CC: Elijah Hewer <he...@chromium.org>
      Gerrit-CC: Sophie Wen <soph...@chromium.org>
      Gerrit-Attention: Ahmed Fakhry <afa...@chromium.org>
      Gerrit-Attention: Kyle Horimoto <khor...@chromium.org>
      Gerrit-Attention: Sophie Wen <soph...@chromium.org>
      Gerrit-Attention: Elijah Hewer <he...@chromium.org>
      Gerrit-Attention: Darren Shen <sh...@chromium.org>
      Gerrit-Attention: Michael Cui <ml...@google.com>
      Gerrit-Comment-Date: Fri, 13 Sep 2024 03:49:04 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Ahmed Fakhry <afa...@chromium.org>
      Comment-In-Reply-To: Michael Cui <ml...@google.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Curtis McMullan (Gerrit)

      unread,
      Sep 12, 2024, 11:50:31 PM9/12/24
      to Ahmed Fakhry, Kyle Horimoto, Michael Cui, Scott Violet, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org
      Attention needed from Ahmed Fakhry, Darren Shen, Elijah Hewer, Kyle Horimoto, Michael Cui, Scott Violet and Sophie Wen

      Curtis McMullan added 1 comment

      Patchset-level comments
      Scott Violet . resolved

      chrome_browser_main_extra_parts_profiles LGTM (I did not look at anything else).

      Curtis McMullan

      Thanks for reviewing Scott, could I get a +1 for `chrome_browser_main_extra_parts_profiles.cc`?

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Ahmed Fakhry
      • Darren Shen
      • Elijah Hewer
      • Kyle Horimoto
      • Michael Cui
      • Scott Violet
      • Sophie Wen
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
      Gerrit-Change-Number: 5826446
      Gerrit-PatchSet: 13
      Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
      Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
      Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
      Gerrit-Reviewer: Kyle Horimoto <khor...@chromium.org>
      Gerrit-Reviewer: Michael Cui <ml...@google.com>
      Gerrit-Reviewer: Scott Violet <s...@chromium.org>
      Gerrit-CC: Elijah Hewer <he...@chromium.org>
      Gerrit-CC: Sophie Wen <soph...@chromium.org>
      Gerrit-Attention: Scott Violet <s...@chromium.org>
      Gerrit-Attention: Ahmed Fakhry <afa...@chromium.org>
      Gerrit-Attention: Kyle Horimoto <khor...@chromium.org>
      Gerrit-Attention: Sophie Wen <soph...@chromium.org>
      Gerrit-Attention: Elijah Hewer <he...@chromium.org>
      Gerrit-Attention: Darren Shen <sh...@chromium.org>
      Gerrit-Attention: Michael Cui <ml...@google.com>
      Gerrit-Comment-Date: Fri, 13 Sep 2024 03:50:21 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Scott Violet <s...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Scott Violet (Gerrit)

      unread,
      Sep 13, 2024, 10:23:13 AM9/13/24
      to Curtis McMullan, Scott Violet, Ahmed Fakhry, Kyle Horimoto, Michael Cui, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org
      Attention needed from Ahmed Fakhry, Curtis McMullan, Darren Shen, Elijah Hewer, Kyle Horimoto, Michael Cui and Sophie Wen

      Scott Violet voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Ahmed Fakhry
      • Curtis McMullan
      • Darren Shen
      • Elijah Hewer
      • Kyle Horimoto
      • Michael Cui
      • Sophie Wen
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
      Gerrit-Change-Number: 5826446
      Gerrit-PatchSet: 13
      Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
      Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
      Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
      Gerrit-Reviewer: Kyle Horimoto <khor...@chromium.org>
      Gerrit-Reviewer: Michael Cui <ml...@google.com>
      Gerrit-Reviewer: Scott Violet <s...@chromium.org>
      Gerrit-CC: Elijah Hewer <he...@chromium.org>
      Gerrit-CC: Sophie Wen <soph...@chromium.org>
      Gerrit-Attention: Curtis McMullan <curtism...@chromium.org>
      Gerrit-Attention: Ahmed Fakhry <afa...@chromium.org>
      Gerrit-Attention: Kyle Horimoto <khor...@chromium.org>
      Gerrit-Attention: Sophie Wen <soph...@chromium.org>
      Gerrit-Attention: Elijah Hewer <he...@chromium.org>
      Gerrit-Attention: Darren Shen <sh...@chromium.org>
      Gerrit-Attention: Michael Cui <ml...@google.com>
      Gerrit-Comment-Date: Fri, 13 Sep 2024 14:23:01 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Kyle Horimoto (Gerrit)

      unread,
      Sep 13, 2024, 1:04:02 PM9/13/24
      to Curtis McMullan, Scott Violet, Ahmed Fakhry, Michael Cui, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org, Kyle Horimoto
      Attention needed from Ahmed Fakhry, Curtis McMullan, Darren Shen, Elijah Hewer, Michael Cui and Sophie Wen

      Kyle Horimoto added 1 comment

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

      Looks likes all files are already reviewed; removing myself.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Ahmed Fakhry
      • Curtis McMullan
      • Darren Shen
      • Elijah Hewer
      • Michael Cui
      • Sophie Wen
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
      Gerrit-Change-Number: 5826446
      Gerrit-PatchSet: 13
      Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
      Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
      Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
      Gerrit-Reviewer: Michael Cui <ml...@google.com>
      Gerrit-Reviewer: Scott Violet <s...@chromium.org>
      Gerrit-CC: Elijah Hewer <he...@chromium.org>
      Gerrit-CC: Sophie Wen <soph...@chromium.org>
      Gerrit-Attention: Curtis McMullan <curtism...@chromium.org>
      Gerrit-Attention: Ahmed Fakhry <afa...@chromium.org>
      Gerrit-Attention: Sophie Wen <soph...@chromium.org>
      Gerrit-Attention: Elijah Hewer <he...@chromium.org>
      Gerrit-Attention: Darren Shen <sh...@chromium.org>
      Gerrit-Attention: Michael Cui <ml...@google.com>
      Gerrit-Comment-Date: Fri, 13 Sep 2024 17:03:51 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      open
      diffy

      Ahmed Fakhry (Gerrit)

      unread,
      Sep 13, 2024, 2:23:47 PM9/13/24
      to Curtis McMullan, Scott Violet, Michael Cui, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org
      Attention needed from Curtis McMullan, Darren Shen, Elijah Hewer, Michael Cui and Sophie Wen

      Ahmed Fakhry voted and added 1 comment

      Votes added by Ahmed Fakhry

      Code-Review+1

      1 comment

      Patchset-level comments
      Ahmed Fakhry . resolved

      Still LGTM

      Open in Gerrit

      Related details

      Attention is currently required from:
      Gerrit-Attention: Sophie Wen <soph...@chromium.org>
      Gerrit-Attention: Elijah Hewer <he...@chromium.org>
      Gerrit-Attention: Darren Shen <sh...@chromium.org>
      Gerrit-Attention: Michael Cui <ml...@google.com>
      Gerrit-Comment-Date: Fri, 13 Sep 2024 18:23:34 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Curtis McMullan (Gerrit)

      unread,
      Sep 13, 2024, 5:05:53 PM9/13/24
      to Ahmed Fakhry, Scott Violet, Michael Cui, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org
      Attention needed from Darren Shen, Elijah Hewer, Michael Cui and Sophie Wen

      Curtis McMullan voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Darren Shen
      • Elijah Hewer
      • Michael Cui
      • Sophie Wen
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
      Gerrit-Change-Number: 5826446
      Gerrit-PatchSet: 13
      Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
      Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
      Gerrit-Reviewer: Curtis McMullan <curtism...@chromium.org>
      Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
      Gerrit-Reviewer: Michael Cui <ml...@google.com>
      Gerrit-Reviewer: Scott Violet <s...@chromium.org>
      Gerrit-CC: Elijah Hewer <he...@chromium.org>
      Gerrit-CC: Sophie Wen <soph...@chromium.org>
      Gerrit-Attention: Sophie Wen <soph...@chromium.org>
      Gerrit-Attention: Elijah Hewer <he...@chromium.org>
      Gerrit-Attention: Darren Shen <sh...@chromium.org>
      Gerrit-Attention: Michael Cui <ml...@google.com>
      Gerrit-Comment-Date: Fri, 13 Sep 2024 21:05:38 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Curtis McMullan (Gerrit)

      unread,
      Sep 16, 2024, 12:22:42 AM9/16/24
      to Chromium LUCI CQ, Ahmed Fakhry, Scott Violet, Michael Cui, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org
      Attention needed from Darren Shen, Elijah Hewer, Michael Cui and Sophie Wen

      Curtis McMullan voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Darren Shen
      • Elijah Hewer
      • Michael Cui
      • Sophie Wen
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
      Gerrit-Change-Number: 5826446
      Gerrit-PatchSet: 14
      Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
      Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
      Gerrit-Reviewer: Curtis McMullan <curtism...@chromium.org>
      Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
      Gerrit-Reviewer: Michael Cui <ml...@google.com>
      Gerrit-Reviewer: Scott Violet <s...@chromium.org>
      Gerrit-CC: Elijah Hewer <he...@chromium.org>
      Gerrit-CC: Sophie Wen <soph...@chromium.org>
      Gerrit-Attention: Sophie Wen <soph...@chromium.org>
      Gerrit-Attention: Elijah Hewer <he...@chromium.org>
      Gerrit-Attention: Darren Shen <sh...@chromium.org>
      Gerrit-Attention: Michael Cui <ml...@google.com>
      Gerrit-Comment-Date: Mon, 16 Sep 2024 04:22:26 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      findit-for-me@appspot.gserviceaccount.com (Gerrit)

      unread,
      Sep 16, 2024, 1:47:40 AM9/16/24
      to Curtis McMullan, Chromium LUCI CQ, Ahmed Fakhry, Scott Violet, Michael Cui, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org
      Attention needed from Ahmed Fakhry, Darren Shen, Elijah Hewer, Michael Cui, Scott Violet and Sophie Wen

      findit...@appspot.gserviceaccount.com voted Code-Coverage+1

      This change meets the code coverage requirements.

      Code-Coverage+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Ahmed Fakhry
      • Darren Shen
      • Elijah Hewer
      • Michael Cui
      • Scott Violet
      • Sophie Wen
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
      Gerrit-Change-Number: 5826446
      Gerrit-PatchSet: 15
      Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
      Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
      Gerrit-Reviewer: Curtis McMullan <curtism...@chromium.org>
      Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
      Gerrit-Reviewer: Michael Cui <ml...@google.com>
      Gerrit-Reviewer: Scott Violet <s...@chromium.org>
      Gerrit-CC: Elijah Hewer <he...@chromium.org>
      Gerrit-CC: Sophie Wen <soph...@chromium.org>
      Gerrit-Attention: Scott Violet <s...@chromium.org>
      Gerrit-Attention: Ahmed Fakhry <afa...@chromium.org>
      Gerrit-Attention: Sophie Wen <soph...@chromium.org>
      Gerrit-Attention: Elijah Hewer <he...@chromium.org>
      Gerrit-Attention: Darren Shen <sh...@chromium.org>
      Gerrit-Attention: Michael Cui <ml...@google.com>
      Gerrit-Comment-Date: Mon, 16 Sep 2024 05:47:30 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Curtis McMullan (Gerrit)

      unread,
      Sep 16, 2024, 2:09:03 AM9/16/24
      to findit...@appspot.gserviceaccount.com, Chromium LUCI CQ, Ahmed Fakhry, Scott Violet, Michael Cui, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org
      Attention needed from Ahmed Fakhry, Darren Shen, Elijah Hewer, Michael Cui, Scott Violet and Sophie Wen

      Curtis McMullan added 1 comment

      Patchset-level comments
      File-level comment, Patchset 15 (Latest):
      Curtis McMullan . unresolved

      Apologies all, I had to update a DEPS file to pass CQ and lost everyones +1. If you could add it again I would appreciate it, thanks!

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Ahmed Fakhry
      • Darren Shen
      • Elijah Hewer
      • Michael Cui
      • Scott Violet
      • Sophie Wen
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        Gerrit-Comment-Date: Mon, 16 Sep 2024 06:08:52 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Ahmed Fakhry (Gerrit)

        unread,
        Sep 16, 2024, 1:10:58 PM9/16/24
        to Curtis McMullan, findit...@appspot.gserviceaccount.com, Chromium LUCI CQ, Scott Violet, Michael Cui, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org
        Attention needed from Curtis McMullan, Darren Shen, Elijah Hewer, Michael Cui, Scott Violet and Sophie Wen

        Ahmed Fakhry voted and added 1 comment

        Votes added by Ahmed Fakhry

        Code-Review+1

        1 comment

        Patchset-level comments
        Ahmed Fakhry . resolved

        LGTM

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Curtis McMullan
        • Darren Shen
        • Elijah Hewer
        • Michael Cui
        • Scott Violet
        • Sophie Wen
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
          Gerrit-Change-Number: 5826446
          Gerrit-PatchSet: 15
          Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
          Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
          Gerrit-Reviewer: Curtis McMullan <curtism...@chromium.org>
          Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
          Gerrit-Reviewer: Michael Cui <ml...@google.com>
          Gerrit-Reviewer: Scott Violet <s...@chromium.org>
          Gerrit-CC: Elijah Hewer <he...@chromium.org>
          Gerrit-CC: Sophie Wen <soph...@chromium.org>
          Gerrit-Attention: Curtis McMullan <curtism...@chromium.org>
          Gerrit-Attention: Scott Violet <s...@chromium.org>
          Gerrit-Attention: Sophie Wen <soph...@chromium.org>
          Gerrit-Attention: Elijah Hewer <he...@chromium.org>
          Gerrit-Attention: Darren Shen <sh...@chromium.org>
          Gerrit-Attention: Michael Cui <ml...@google.com>
          Gerrit-Comment-Date: Mon, 16 Sep 2024 17:10:45 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Curtis McMullan (Gerrit)

          unread,
          Sep 16, 2024, 11:13:44 PM9/16/24
          to Ahmed Fakhry, findit...@appspot.gserviceaccount.com, Chromium LUCI CQ, Scott Violet, Michael Cui, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org
          Attention needed from Darren Shen, Elijah Hewer, Michael Cui, Scott Violet and Sophie Wen

          Curtis McMullan added 1 comment

          Patchset-level comments
          Curtis McMullan . resolved

          Apologies all, I had to update a DEPS file to pass CQ and lost everyones +1. If you could add it again I would appreciate it, thanks!

          Curtis McMullan

          Done

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Darren Shen
          • Elijah Hewer
          • Michael Cui
          • Scott Violet
          • Sophie Wen
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Review
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
          Gerrit-Change-Number: 5826446
          Gerrit-PatchSet: 15
          Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
          Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
          Gerrit-Reviewer: Curtis McMullan <curtism...@chromium.org>
          Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
          Gerrit-Reviewer: Michael Cui <ml...@google.com>
          Gerrit-Reviewer: Scott Violet <s...@chromium.org>
          Gerrit-CC: Elijah Hewer <he...@chromium.org>
          Gerrit-CC: Sophie Wen <soph...@chromium.org>
          Gerrit-Attention: Scott Violet <s...@chromium.org>
          Gerrit-Attention: Sophie Wen <soph...@chromium.org>
          Gerrit-Attention: Elijah Hewer <he...@chromium.org>
          Gerrit-Attention: Darren Shen <sh...@chromium.org>
          Gerrit-Attention: Michael Cui <ml...@google.com>
          Gerrit-Comment-Date: Tue, 17 Sep 2024 03:13:31 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Curtis McMullan <curtism...@chromium.org>
          satisfied_requirement
          open
          diffy

          Curtis McMullan (Gerrit)

          unread,
          Sep 16, 2024, 11:26:09 PM9/16/24
          to Ahmed Fakhry, findit...@appspot.gserviceaccount.com, Chromium LUCI CQ, Scott Violet, Michael Cui, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org
          Attention needed from Darren Shen, Elijah Hewer, Michael Cui, Scott Violet and Sophie Wen

          Curtis McMullan voted Commit-Queue+2

          Commit-Queue+2
          Gerrit-Comment-Date: Tue, 17 Sep 2024 03:25:55 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Michael Cui (Gerrit)

          unread,
          Sep 16, 2024, 11:49:03 PM9/16/24
          to Curtis McMullan, Michael Cui, Ahmed Fakhry, findit...@appspot.gserviceaccount.com, Chromium LUCI CQ, Scott Violet, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org
          Attention needed from Curtis McMullan, Darren Shen, Elijah Hewer, Scott Violet and Sophie Wen

          Michael Cui voted Code-Review+1

          Code-Review+1
          Open in Gerrit

          Related details

          Attention is currently required from:
          • Curtis McMullan
          • Darren Shen
          • Elijah Hewer
          • Scott Violet
          • Sophie Wen
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Review
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
          Gerrit-Change-Number: 5826446
          Gerrit-PatchSet: 15
          Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
          Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
          Gerrit-Reviewer: Curtis McMullan <curtism...@chromium.org>
          Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
          Gerrit-Reviewer: Michael Cui <ml...@google.com>
          Gerrit-Reviewer: Scott Violet <s...@chromium.org>
          Gerrit-CC: Elijah Hewer <he...@chromium.org>
          Gerrit-CC: Sophie Wen <soph...@chromium.org>
          Gerrit-Attention: Curtis McMullan <curtism...@chromium.org>
          Gerrit-Attention: Scott Violet <s...@chromium.org>
          Gerrit-Attention: Sophie Wen <soph...@chromium.org>
          Gerrit-Attention: Elijah Hewer <he...@chromium.org>
          Gerrit-Attention: Darren Shen <sh...@chromium.org>
          Gerrit-Comment-Date: Tue, 17 Sep 2024 03:48:49 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Scott Violet (Gerrit)

          unread,
          Sep 17, 2024, 11:56:25 AM9/17/24
          to Curtis McMullan, Kyle Horimoto, Scott Violet, Michael Cui, Ahmed Fakhry, findit...@appspot.gserviceaccount.com, Chromium LUCI CQ, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org
          Attention needed from Curtis McMullan, Darren Shen, Elijah Hewer, Kyle Horimoto and Sophie Wen

          Scott Violet voted Code-Review+1

          Code-Review+1
          Open in Gerrit

          Related details

          Attention is currently required from:
          • Curtis McMullan
          • Darren Shen
          • Elijah Hewer
          • Kyle Horimoto
          • Sophie Wen
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Review
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
          Gerrit-Change-Number: 5826446
          Gerrit-PatchSet: 15
          Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
          Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
          Gerrit-Reviewer: Curtis McMullan <curtism...@chromium.org>
          Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
          Gerrit-Reviewer: Kyle Horimoto <khor...@chromium.org>
          Gerrit-Reviewer: Michael Cui <ml...@google.com>
          Gerrit-Reviewer: Scott Violet <s...@chromium.org>
          Gerrit-CC: Elijah Hewer <he...@chromium.org>
          Gerrit-CC: Sophie Wen <soph...@chromium.org>
          Gerrit-Attention: Curtis McMullan <curtism...@chromium.org>
          Gerrit-Attention: Kyle Horimoto <khor...@chromium.org>
          Gerrit-Attention: Sophie Wen <soph...@chromium.org>
          Gerrit-Attention: Elijah Hewer <he...@chromium.org>
          Gerrit-Attention: Darren Shen <sh...@chromium.org>
          Gerrit-Comment-Date: Tue, 17 Sep 2024 15:56:14 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Curtis McMullan (Gerrit)

          unread,
          Sep 17, 2024, 4:41:36 PM9/17/24
          to Kyle Horimoto, Scott Violet, Michael Cui, Ahmed Fakhry, findit...@appspot.gserviceaccount.com, Chromium LUCI CQ, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org
          Attention needed from Darren Shen, Elijah Hewer, Kyle Horimoto and Sophie Wen

          Curtis McMullan voted Commit-Queue+2

          Commit-Queue+2
          Open in Gerrit

          Related details

          Attention is currently required from:
          Gerrit-Attention: Kyle Horimoto <khor...@chromium.org>
          Gerrit-Attention: Sophie Wen <soph...@chromium.org>
          Gerrit-Attention: Elijah Hewer <he...@chromium.org>
          Gerrit-Attention: Darren Shen <sh...@chromium.org>
          Gerrit-Comment-Date: Tue, 17 Sep 2024 20:41:20 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Chromium LUCI CQ (Gerrit)

          unread,
          Sep 17, 2024, 5:17:04 PM9/17/24
          to Curtis McMullan, Kyle Horimoto, Scott Violet, Michael Cui, Ahmed Fakhry, findit...@appspot.gserviceaccount.com, Sophie Wen, Elijah Hewer, Darren Shen, chromium...@chromium.org

          Chromium LUCI CQ submitted the change

          Change information

          Commit message:
          scanner: initial setup

          This CL sets up the baseline plumbing required for scanner.

          BUG=b:363100868
          Change-Id: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
          Reviewed-by: Ahmed Fakhry <afa...@chromium.org>
          Commit-Queue: Curtis McMullan <curtism...@chromium.org>
          Reviewed-by: Michael Cui <ml...@google.com>
          Reviewed-by: Scott Violet <s...@chromium.org>
          Cr-Commit-Position: refs/heads/main@{#1356733}
          Files:
          • M ash/BUILD.gn
          • M ash/constants/ash_switches.cc
          • M ash/constants/ash_switches.h
          • M ash/public/cpp/BUILD.gn
          • A ash/public/cpp/scanner/scanner_action.h
          • A ash/public/cpp/scanner/scanner_delegate.h
          • A ash/public/cpp/scanner/scanner_enums.h
          • A ash/public/cpp/scanner/scanner_profile_scoped_delegate.h
          • A ash/public/cpp/scanner/scanner_system_state.cc
          • A ash/public/cpp/scanner/scanner_system_state.h
          • A ash/scanner/OWNERS
          • A ash/scanner/scanner_controller.cc
          • A ash/scanner/scanner_controller.h
          • A ash/scanner/scanner_session.cc
          • A ash/scanner/scanner_session.h
          • M ash/shell.cc
          • M ash/shell.h
          • M ash/shell_delegate.h
          • M ash/test_shell_delegate.cc
          • M ash/test_shell_delegate.h
          • M chrome/browser/BUILD.gn
          • A chrome/browser/ash/scanner/BUILD.gn
          • A chrome/browser/ash/scanner/DEPS
          • A chrome/browser/ash/scanner/chrome_scanner_delegate.cc
          • A chrome/browser/ash/scanner/chrome_scanner_delegate.h
          • A chrome/browser/ash/scanner/scanner_keyed_service.cc
          • A chrome/browser/ash/scanner/scanner_keyed_service.h
          • A chrome/browser/ash/scanner/scanner_keyed_service_factory.cc
          • A chrome/browser/ash/scanner/scanner_keyed_service_factory.h
          • A chrome/browser/ash/scanner/scanner_system_state_provider.cc
          • A chrome/browser/ash/scanner/scanner_system_state_provider.h
          • M chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
          • M chrome/browser/ui/ash/shell_delegate/BUILD.gn
          • M chrome/browser/ui/ash/shell_delegate/DEPS
          • M chrome/browser/ui/ash/shell_delegate/chrome_shell_delegate.cc
          • M chrome/browser/ui/ash/shell_delegate/chrome_shell_delegate.h
          Change size: L
          Delta: 36 files changed, 629 insertions(+), 0 deletions(-)
          Branch: refs/heads/main
          Submit Requirements:
          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: I640d5504ca1b01d8b6341f637c199fe2ca78aeb6
          Gerrit-Change-Number: 5826446
          Gerrit-PatchSet: 16
          Gerrit-Owner: Curtis McMullan <curtism...@chromium.org>
          Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: Curtis McMullan <curtism...@chromium.org>
          Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
          Gerrit-Reviewer: Kyle Horimoto <khor...@chromium.org>
          Gerrit-Reviewer: Michael Cui <ml...@google.com>
          Gerrit-Reviewer: Scott Violet <s...@chromium.org>
          open
          diffy
          satisfied_requirement
          Reply all
          Reply to author
          Forward
          0 new messages