[tracing] Forward startup tracing config as shmem [chromium/src : main]

2 views
Skip to first unread message

Eric Seckler (Gerrit)

unread,
Jun 13, 2024, 7:05:58 AMJun 13
to Etienne Pierre-Doray, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
Attention needed from Etienne Pierre-Doray and Mikhail Khokhlov

Eric Seckler added 1 comment

Commit Message
Line 7, Patchset 29:Implement early startup background tracing
Eric Seckler . unresolved

Please add a little more context 😊

Open in Gerrit

Related details

Attention is currently required from:
  • Etienne Pierre-Doray
  • Mikhail Khokhlov
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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
Gerrit-Change-Number: 5581006
Gerrit-PatchSet: 29
Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
Gerrit-CC: Peter Beverloo <pe...@chromium.org>
Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
Gerrit-Comment-Date: Thu, 13 Jun 2024 11:05:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Eric Seckler (Gerrit)

unread,
Jun 13, 2024, 7:28:26 AMJun 13
to Etienne Pierre-Doray, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
Attention needed from Etienne Pierre-Doray and Mikhail Khokhlov

Eric Seckler voted and added 11 comments

Votes added by Eric Seckler

Code-Review+1

11 comments

Patchset-level comments
File-level comment, Patchset 31 (Latest):
Eric Seckler . resolved

Very very cool! Thanks Etienne! 😊

Added khokhlov@ for additional review since I think he might remember more of the caveats of past startup tracing issues.

File components/nacl/loader/nacl_helper_linux.cc
Line 214, Patchset 31 (Latest): if (child_fds[content::ZygoteForkDelegate::kTracingFDIndex].is_valid()) {
Eric Seckler . unresolved

kTraceConfigFDIndex

Line 258, Patchset 31 (Latest): // |child_fds| should contain either kNumPassedFDs or kNumPassedFDs-1 file
Eric Seckler . unresolved

Needs updating if you are changing the condition below. Not quite clear why we are changing it though?

File components/tracing/common/tracing_switches.h
Line 25, Patchset 31 (Latest):TRACING_EXPORT extern const char kTraceStartupEnablePrivacyFiltering[];
Eric Seckler . unresolved

Maybe we can get rid of this one now?

Line 21, Patchset 31 (Latest):TRACING_EXPORT extern const char kTraceStartupRecordMode[];
Eric Seckler . unresolved

Wondering if there are any real users of this left now.

File components/tracing/common/tracing_switches.cc
Line 47, Patchset 31 (Latest):const char kTraceConfigHandle[] = "trace-config-handle";
Eric Seckler . unresolved

Can we add a comment? 😊

File content/app/content_main_runner_impl.cc
Line 861, Patchset 31 (Latest): g_fds->Set(kTracingSharedMemoryDescriptor,
Eric Seckler . unresolved

kTraceConfigShared... (so it's clear this is different from the SMB used for actual tracing between producers & service)

File content/shell/app/shell_content_main.cc
Line 35, Patchset 31 (Latest): OverrideFrameworkBundlePath();
Eric Seckler . unresolved

Not sure what these are used for, maybe deserves a comment? (or mention in the change description)

File services/tracing/public/cpp/trace_startup.h
Line 57, Patchset 31 (Latest):// child to begin tracing right away via startup tracing command line flags.
Eric Seckler . unresolved

nit: update

File services/tracing/public/cpp/trace_startup.cc
Line 121, Patchset 31 (Latest): trace_config = startup_config.GetPerfettoConfig();
Eric Seckler . unresolved

Is this guaranteed to have the privacy filtering flag set in the config if the session owner is background tracing?

Line 132, Patchset 31 (Latest):
Eric Seckler . unresolved

Btw, we discovered today that we probably shouldn't propagate the config when the owner of the current TraceLog session is system tracing... (unless we set --startup-tracing-owner accordingly and verify that this would then actually work correctly)

Mikhail was going to look into a fix for this.

Open in Gerrit

Related details

Attention is currently required from:
  • Etienne Pierre-Doray
  • Mikhail Khokhlov
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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
Gerrit-Change-Number: 5581006
Gerrit-PatchSet: 31
Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
Gerrit-CC: Peter Beverloo <pe...@chromium.org>
Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
Gerrit-Comment-Date: Thu, 13 Jun 2024 11:28:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Mikhail Khokhlov (Gerrit)

unread,
Jun 13, 2024, 11:12:53 AMJun 13
to Etienne Pierre-Doray, Eric Seckler, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
Attention needed from Etienne Pierre-Doray

Mikhail Khokhlov added 4 comments

File content/browser/child_process_launcher_helper.h
Line 359, Patchset 31: // Startup tracing shared memory region config.
Mikhail Khokhlov . unresolved

nit: Startup tracing config shared memory region.

File services/tracing/public/cpp/trace_startup.cc
Line 123, Patchset 32: perfetto::DataSourceConfig data_source_config =
trace_log->GetCurrentTrackEventDataSourceConfig();
if (data_source_config.has_interceptor_config()) {
return base::ReadOnlySharedMemoryRegion();
}
*trace_config.add_data_sources()->mutable_config() = data_source_config;
Mikhail Khokhlov . unresolved

I suggest the following implementation (see the comment below for rationale):

```
bool has_relevant_config = false;
for (const auto& session : trace_log->GetTrackEventSessions()) {
if (session.backend == perfetto::kCustomBackend &&
!session.config.has_interceptor_config()) {
*trace_config.add_data_sources()->mutable_config() = session.config;
has_relevant_config = true;
break;
}
}
if (!has_relevant_config) {
base::ReadOnlySharedMemoryRegion();
}
```
Line 132, Patchset 31:
Eric Seckler . resolved

Btw, we discovered today that we probably shouldn't propagate the config when the owner of the current TraceLog session is system tracing... (unless we set --startup-tracing-owner accordingly and verify that this would then actually work correctly)

Mikhail was going to look into a fix for this.

Mikhail Khokhlov

Right now --trace-startup-owner doesn't affect backend selection; we always start startup tracing with custom backend [1]. The fix itself is relatively straightforward, but would require extensive testing. For the purpose of this CL, I suggest just skipping system tracing sessions.

Another thing to keep in mind is that there can be multiple tracing sessions active at the same time. But since we skip system sessions anyway, and having multiple custom backend sessions is unlikely, I think something like "propagate the first non-system session" logic should be fine.

[1] https://source.chromium.org/chromium/chromium/src/+/main:services/tracing/public/cpp/trace_startup.cc;l=116?q=%22opts.backend%20%3D%20perfetto::kCustomBackend%22

File services/tracing/public/cpp/trace_startup_config.cc
Line 73, Patchset 31: "benchmark", "toplevel", "startup", "disabled-by-default-file",
Mikhail Khokhlov . unresolved

nit: something's wrong with formatting?

Open in Gerrit

Related details

Attention is currently required from:
  • Etienne Pierre-Doray
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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
Gerrit-Change-Number: 5581006
Gerrit-PatchSet: 33
Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
Gerrit-CC: Peter Beverloo <pe...@chromium.org>
Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Comment-Date: Thu, 13 Jun 2024 15:12:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Eric Seckler <esec...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Etienne Pierre-Doray (Gerrit)

unread,
Jun 13, 2024, 1:43:29 PMJun 13
to Eric Seckler, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
Attention needed from Eric Seckler and Mikhail Khokhlov

Etienne Pierre-Doray added 14 comments

Patchset-level comments
File-level comment, Patchset 36 (Latest):
Etienne Pierre-Doray . resolved

PTAnL?

Commit Message
Line 7, Patchset 29:Implement early startup background tracing
Eric Seckler . resolved

Please add a little more context 😊

Etienne Pierre-Doray

Done

File components/nacl/loader/nacl_helper_linux.cc
Line 214, Patchset 31: if (child_fds[content::ZygoteForkDelegate::kTracingFDIndex].is_valid()) {
Eric Seckler . resolved

kTraceConfigFDIndex

Etienne Pierre-Doray

Done

Line 258, Patchset 31: // |child_fds| should contain either kNumPassedFDs or kNumPassedFDs-1 file
Eric Seckler . resolved

Needs updating if you are changing the condition below. Not quite clear why we are changing it though?

Etienne Pierre-Doray

Done

File components/tracing/common/tracing_switches.h
Line 25, Patchset 31:TRACING_EXPORT extern const char kTraceStartupEnablePrivacyFiltering[];
Eric Seckler . resolved

Maybe we can get rid of this one now?

Etienne Pierre-Doray

Done

Line 21, Patchset 31:TRACING_EXPORT extern const char kTraceStartupRecordMode[];
Eric Seckler . resolved

Wondering if there are any real users of this left now.

Etienne Pierre-Doray

The equivalent of this is used in config file (in telemetry), so maybe it makes sense to keep.

File components/tracing/common/tracing_switches.cc
Line 47, Patchset 31:const char kTraceConfigHandle[] = "trace-config-handle";
Eric Seckler . resolved

Can we add a comment? 😊

Etienne Pierre-Doray

Done

File content/app/content_main_runner_impl.cc
Line 861, Patchset 31: g_fds->Set(kTracingSharedMemoryDescriptor,
Eric Seckler . resolved

kTraceConfigShared... (so it's clear this is different from the SMB used for actual tracing between producers & service)

Etienne Pierre-Doray

Done

File content/browser/child_process_launcher_helper.h
Line 359, Patchset 31: // Startup tracing shared memory region config.
Mikhail Khokhlov . resolved

nit: Startup tracing config shared memory region.

Etienne Pierre-Doray

Done

File content/shell/app/shell_content_main.cc
Line 35, Patchset 31: OverrideFrameworkBundlePath();
Eric Seckler . resolved

Not sure what these are used for, maybe deserves a comment? (or mention in the change description)

Etienne Pierre-Doray

Done

File services/tracing/public/cpp/trace_startup.h
Line 57, Patchset 31:// child to begin tracing right away via startup tracing command line flags.
Eric Seckler . resolved

nit: update

Etienne Pierre-Doray

Done

File services/tracing/public/cpp/trace_startup.cc
Line 121, Patchset 31: trace_config = startup_config.GetPerfettoConfig();
Eric Seckler . resolved

Is this guaranteed to have the privacy filtering flag set in the config if the session owner is background tracing?

Etienne Pierre-Doray

There's no explicit check, but GetDefaultBackgroundStartupConfig() unconditionally set privacy filter to true (it's only code path that sets kBackgroundTracing session owner), so I'd say yes.

https://chromium-review.googlesource.com/c/chromium/src/+/5581006/31/services/tracing/public/cpp/trace_startup_config.cc

Line 123, Patchset 32: perfetto::DataSourceConfig data_source_config =
trace_log->GetCurrentTrackEventDataSourceConfig();
if (data_source_config.has_interceptor_config()) {
return base::ReadOnlySharedMemoryRegion();
}
*trace_config.add_data_sources()->mutable_config() = data_source_config;
Mikhail Khokhlov . resolved

I suggest the following implementation (see the comment below for rationale):

```
bool has_relevant_config = false;
for (const auto& session : trace_log->GetTrackEventSessions()) {
if (session.backend == perfetto::kCustomBackend &&
!session.config.has_interceptor_config()) {
*trace_config.add_data_sources()->mutable_config() = session.config;
has_relevant_config = true;
break;
}
}
if (!has_relevant_config) {
base::ReadOnlySharedMemoryRegion();
}
```
Etienne Pierre-Doray

Done

File services/tracing/public/cpp/trace_startup_config.cc
Line 73, Patchset 31: "benchmark", "toplevel", "startup", "disabled-by-default-file",
Mikhail Khokhlov . resolved

nit: something's wrong with formatting?

Etienne Pierre-Doray

I tried fixing and git cl format is fighting me. Not sure how it gets to this result, but the content seems ok.

Open in Gerrit

Related details

Attention is currently required from:
  • Eric Seckler
  • Mikhail Khokhlov
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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
Gerrit-Change-Number: 5581006
Gerrit-PatchSet: 36
Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
Gerrit-CC: Peter Beverloo <pe...@chromium.org>
Gerrit-Attention: Eric Seckler <esec...@chromium.org>
Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
Gerrit-Comment-Date: Thu, 13 Jun 2024 17:43:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Eric Seckler <esec...@chromium.org>
Comment-In-Reply-To: Mikhail Khokhlov <khok...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Etienne Pierre-Doray (Gerrit)

unread,
Jun 13, 2024, 4:05:12 PMJun 13
to Eric Seckler, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
Attention needed from Eric Seckler and Mikhail Khokhlov

Etienne Pierre-Doray added 1 comment

Patchset-level comments
File-level comment, Patchset 37 (Latest):
Etienne Pierre-Doray . resolved

CQ is green!

Open in Gerrit

Related details

Attention is currently required from:
  • Eric Seckler
  • Mikhail Khokhlov
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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
Gerrit-Change-Number: 5581006
Gerrit-PatchSet: 37
Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
Gerrit-CC: Peter Beverloo <pe...@chromium.org>
Gerrit-Attention: Eric Seckler <esec...@chromium.org>
Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
Gerrit-Comment-Date: Thu, 13 Jun 2024 20:05:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Mikhail Khokhlov (Gerrit)

unread,
Jun 14, 2024, 6:47:25 AMJun 14
to Etienne Pierre-Doray, Eric Seckler, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
Attention needed from Eric Seckler and Etienne Pierre-Doray

Mikhail Khokhlov voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Eric Seckler
  • Etienne Pierre-Doray
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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
Gerrit-Change-Number: 5581006
Gerrit-PatchSet: 37
Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
Gerrit-CC: Peter Beverloo <pe...@chromium.org>
Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Attention: Eric Seckler <esec...@chromium.org>
Gerrit-Comment-Date: Fri, 14 Jun 2024 10:47:09 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Mikhail Khokhlov (Gerrit)

unread,
Jun 14, 2024, 6:49:06 AMJun 14
to Etienne Pierre-Doray, Eric Seckler, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
Attention needed from Eric Seckler and Etienne Pierre-Doray

Mikhail Khokhlov added 1 comment

File base/trace_event/trace_log.cc
Line 836, Patchset 37 (Latest):std::vector<TraceLog::TrackEventSession> TraceLog::GetTrackEventSessions()
Mikhail Khokhlov . resolved

Haha, I forgot to implement it when I added this function 😄 Thanks for fixing!

Gerrit-Comment-Date: Fri, 14 Jun 2024 10:48:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Eric Seckler (Gerrit)

unread,
Jun 14, 2024, 7:09:01 AMJun 14
to Etienne Pierre-Doray, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
Attention needed from Etienne Pierre-Doray

Eric Seckler voted and added 3 comments

Votes added by Eric Seckler

Code-Review+1

3 comments

Commit Message
Line 13, Patchset 37 (Latest):- Some reordering of operations in early startup to ensure dependancies
Eric Seckler . unresolved

"dependancies" is a possible misspelling of "dependencies".

nit :)

File components/tracing/common/tracing_switches.h
Line 21, Patchset 31:TRACING_EXPORT extern const char kTraceStartupRecordMode[];
Eric Seckler . resolved

Wondering if there are any real users of this left now.

Etienne Pierre-Doray

The equivalent of this is used in config file (in telemetry), so maybe it makes sense to keep.

Eric Seckler

Hm. Telemetry doesn't use circular buffers AFAIK -- and alerts when data from traces is missing due to buffer exhaustion etc. But we don't have to remove this right away; can do this separately.

File services/tracing/public/cpp/trace_startup.cc
Line 136, Patchset 37 (Latest): perfetto::DataSourceConfig data_source_config =

trace_log->GetCurrentTrackEventDataSourceConfig();
if (data_source_config.has_interceptor_config()) {
return base::ReadOnlySharedMemoryRegion();
}
*trace_config.add_data_sources()->mutable_config() = data_source_config;
Eric Seckler . unresolved

Remove 😊

Open in Gerrit

Related details

Attention is currently required from:
  • Etienne Pierre-Doray
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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
    Gerrit-Change-Number: 5581006
    Gerrit-PatchSet: 37
    Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
    Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
    Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
    Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
    Gerrit-CC: Peter Beverloo <pe...@chromium.org>
    Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
    Gerrit-Comment-Date: Fri, 14 Jun 2024 11:08:45 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Etienne Pierre-Doray <etie...@chromium.org>
    Comment-In-Reply-To: Eric Seckler <esec...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mikhail Khokhlov (Gerrit)

    unread,
    Jun 17, 2024, 5:32:00 AMJun 17
    to Etienne Pierre-Doray, Eric Seckler, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
    Attention needed from Etienne Pierre-Doray

    Mikhail Khokhlov voted and added 1 comment

    Votes added by Mikhail Khokhlov

    Code-Review+1

    1 comment

    File services/tracing/public/cpp/trace_startup.cc
    Line 133, Patchset 39 (Latest): base::ReadOnlySharedMemoryRegion();
    Mikhail Khokhlov . unresolved

    return

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Etienne Pierre-Doray
    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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
    Gerrit-Change-Number: 5581006
    Gerrit-PatchSet: 39
    Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
    Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
    Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
    Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
    Gerrit-CC: Peter Beverloo <pe...@chromium.org>
    Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
    Gerrit-Comment-Date: Mon, 17 Jun 2024 09:31:47 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Etienne Pierre-Doray (Gerrit)

    unread,
    Jun 20, 2024, 4:49:21 PM (11 days ago) Jun 20
    to Dave Tapuska, Eric Seckler, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
    Attention needed from Dave Tapuska

    Etienne Pierre-Doray added 4 comments

    Patchset-level comments
    File-level comment, Patchset 40 (Latest):
    Etienne Pierre-Doray . resolved

    +dtapuska for content/

    Commit Message
    Line 13, Patchset 37:- Some reordering of operations in early startup to ensure dependancies
    Eric Seckler . resolved

    "dependancies" is a possible misspelling of "dependencies".

    nit :)

    Etienne Pierre-Doray

    Done

    File services/tracing/public/cpp/trace_startup.cc
    Line 133, Patchset 39: base::ReadOnlySharedMemoryRegion();
    Mikhail Khokhlov . resolved

    return

    Etienne Pierre-Doray

    Done Good catch!

    Line 136, Patchset 37: perfetto::DataSourceConfig data_source_config =

    trace_log->GetCurrentTrackEventDataSourceConfig();
    if (data_source_config.has_interceptor_config()) {
    return base::ReadOnlySharedMemoryRegion();
    }
    *trace_config.add_data_sources()->mutable_config() = data_source_config;
    Eric Seckler . resolved

    Remove 😊

    Etienne Pierre-Doray

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dave Tapuska
    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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
    Gerrit-Change-Number: 5581006
    Gerrit-PatchSet: 40
    Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
    Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
    Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
    Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
    Gerrit-CC: Peter Beverloo <pe...@chromium.org>
    Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Comment-Date: Thu, 20 Jun 2024 20:49:03 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    open
    diffy

    Dave Tapuska (Gerrit)

    unread,
    Jun 21, 2024, 10:30:58 AM (10 days ago) Jun 21
    to Etienne Pierre-Doray, Eric Seckler, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
    Attention needed from Etienne Pierre-Doray

    Dave Tapuska added 1 comment

    File content/shell/app/shell_content_main.cc
    Line 36, Patchset 40 (Latest): OverrideFrameworkBundlePath();
    Dave Tapuska . unresolved

    Why are these still in content/shell/app/shell_main_delegate.cc then?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Etienne Pierre-Doray
    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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
      Gerrit-Change-Number: 5581006
      Gerrit-PatchSet: 40
      Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
      Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
      Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
      Gerrit-CC: Peter Beverloo <pe...@chromium.org>
      Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Comment-Date: Fri, 21 Jun 2024 14:30:46 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Etienne Pierre-Doray (Gerrit)

      unread,
      Jun 21, 2024, 5:38:33 PM (10 days ago) Jun 21
      to Dave Tapuska, Eric Seckler, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
      Attention needed from Dave Tapuska, Eric Seckler and Mikhail Khokhlov

      Etienne Pierre-Doray added 1 comment

      File content/shell/app/shell_content_main.cc
      Line 36, Patchset 40: OverrideFrameworkBundlePath();
      Dave Tapuska . resolved

      Why are these still in content/shell/app/shell_main_delegate.cc then?

      Etienne Pierre-Doray

      For the browser process. I think moving these to content/public/test/browser_test_base.cc should work too; let's see what CQ says.

      Note: moving them to content/public/test/test_launcher.cc doesn't work since the code is from a different bundle.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Dave Tapuska
      • Eric Seckler
      • Mikhail Khokhlov
      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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
      Gerrit-Change-Number: 5581006
      Gerrit-PatchSet: 43
      Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
      Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
      Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
      Gerrit-CC: Peter Beverloo <pe...@chromium.org>
      Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
      Gerrit-Attention: Eric Seckler <esec...@chromium.org>
      Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
      Gerrit-Comment-Date: Fri, 21 Jun 2024 21:38:24 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Dave Tapuska <dtap...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Eric Seckler (Gerrit)

      unread,
      Jun 24, 2024, 5:05:12 AM (7 days ago) Jun 24
      to Etienne Pierre-Doray, Dave Tapuska, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
      Attention needed from Dave Tapuska, Etienne Pierre-Doray and Mikhail Khokhlov

      Eric Seckler voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Dave Tapuska
      • Etienne Pierre-Doray
      • Mikhail Khokhlov
      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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
      Gerrit-Change-Number: 5581006
      Gerrit-PatchSet: 43
      Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
      Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
      Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
      Gerrit-CC: Peter Beverloo <pe...@chromium.org>
      Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
      Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
      Gerrit-Comment-Date: Mon, 24 Jun 2024 09:04:58 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Etienne Pierre-Doray (Gerrit)

      unread,
      Jun 26, 2024, 2:12:48 PM (5 days ago) Jun 26
      to Eric Seckler, Dave Tapuska, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, mac-r...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
      Attention needed from Dave Tapuska, Eric Seckler and Mikhail Khokhlov

      Etienne Pierre-Doray added 1 comment

      Patchset-level comments
      File-level comment, Patchset 51 (Latest):
      Etienne Pierre-Doray . resolved

      I think I've got it working

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Dave Tapuska
      • Eric Seckler
      • Mikhail Khokhlov
      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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
      Gerrit-Change-Number: 5581006
      Gerrit-PatchSet: 51
      Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
      Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
      Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
      Gerrit-CC: Peter Beverloo <pe...@chromium.org>
      Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
      Gerrit-Attention: Eric Seckler <esec...@chromium.org>
      Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
      Gerrit-Comment-Date: Wed, 26 Jun 2024 18:12:38 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Dave Tapuska (Gerrit)

      unread,
      Jun 26, 2024, 2:22:40 PM (5 days ago) Jun 26
      to Etienne Pierre-Doray, Avi Drissman, Eric Seckler, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, mac-r...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
      Attention needed from Avi Drissman, Eric Seckler, Etienne Pierre-Doray and Mikhail Khokhlov

      Dave Tapuska added 1 comment

      Patchset-level comments
      Dave Tapuska . resolved

      I think this looks ok. But does feel odd that we are putting these in content/public/app now since these are only used in content shell derivates. So I'm tag-teaming in Avi (as a content owner) who might have some ideas around the bundle ids..

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Avi Drissman
      • Eric Seckler
      • Etienne Pierre-Doray
      • Mikhail Khokhlov
      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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
      Gerrit-Change-Number: 5581006
      Gerrit-PatchSet: 51
      Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
      Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
      Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
      Gerrit-CC: Dave Tapuska <dtap...@chromium.org>
      Gerrit-CC: Peter Beverloo <pe...@chromium.org>
      Gerrit-Attention: Avi Drissman <a...@chromium.org>
      Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Attention: Eric Seckler <esec...@chromium.org>
      Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
      Gerrit-Comment-Date: Wed, 26 Jun 2024 18:22:29 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Avi Drissman (Gerrit)

      unread,
      Jun 26, 2024, 2:35:35 PM (5 days ago) Jun 26
      to Etienne Pierre-Doray, Avi Drissman, Dave Tapuska, Eric Seckler, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, mac-r...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
      Attention needed from Eric Seckler, Etienne Pierre-Doray and Mikhail Khokhlov

      Avi Drissman added 1 comment

      File content/public/app/paths_mac.h
      File-level comment, Patchset 51:
      Avi Drissman . unresolved

      This strikes me as not ideal. This fails the Content API rules as being an implementation and not an interface, but this fails also because the implementation in the source file is descriptive of how Content Shell works, not content/ in general.

      I’m not up to speed on the core problem that we’re trying to solve here by moving this up a level from Shell.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Eric Seckler
      • Etienne Pierre-Doray
      • Mikhail Khokhlov
      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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
        Gerrit-Change-Number: 5581006
        Gerrit-PatchSet: 51
        Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
        Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
        Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
        Gerrit-CC: Dave Tapuska <dtap...@chromium.org>
        Gerrit-CC: Peter Beverloo <pe...@chromium.org>
        Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Attention: Eric Seckler <esec...@chromium.org>
        Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
        Gerrit-Comment-Date: Wed, 26 Jun 2024 18:35:26 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Etienne Pierre-Doray (Gerrit)

        unread,
        Jun 26, 2024, 2:42:41 PM (5 days ago) Jun 26
        to Avi Drissman, Dave Tapuska, Eric Seckler, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, mac-r...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
        Attention needed from Avi Drissman, Eric Seckler and Mikhail Khokhlov

        Etienne Pierre-Doray added 1 comment

        File content/public/app/paths_mac.h
        File-level comment, Patchset 51:
        Avi Drissman . resolved

        This strikes me as not ideal. This fails the Content API rules as being an implementation and not an interface, but this fails also because the implementation in the source file is descriptive of how Content Shell works, not content/ in general.

        I’m not up to speed on the core problem that we’re trying to solve here by moving this up a level from Shell.

        Etienne Pierre-Doray

        Nevermind, this didn't work so I'm reverting to (almost) patchset 40.
        I'll keep the override calls in shell_main_delegate.cc for the browser process.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Avi Drissman
        • Eric Seckler
        • Mikhail Khokhlov
        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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
        Gerrit-Change-Number: 5581006
        Gerrit-PatchSet: 52
        Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
        Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
        Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
        Gerrit-CC: Dave Tapuska <dtap...@chromium.org>
        Gerrit-CC: Peter Beverloo <pe...@chromium.org>
        Gerrit-Attention: Avi Drissman <a...@chromium.org>
        Gerrit-Attention: Eric Seckler <esec...@chromium.org>
        Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
        Gerrit-Comment-Date: Wed, 26 Jun 2024 18:42:29 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Avi Drissman <a...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Dave Tapuska (Gerrit)

        unread,
        Jun 26, 2024, 2:51:09 PM (5 days ago) Jun 26
        to Etienne Pierre-Doray, Avi Drissman, Eric Seckler, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, mac-r...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
        Attention needed from Avi Drissman, Eric Seckler, Etienne Pierre-Doray and Mikhail Khokhlov

        Dave Tapuska added 1 comment

        File content/public/app/paths_mac.h
        Avi Drissman . resolved

        This strikes me as not ideal. This fails the Content API rules as being an implementation and not an interface, but this fails also because the implementation in the source file is descriptive of how Content Shell works, not content/ in general.

        I’m not up to speed on the core problem that we’re trying to solve here by moving this up a level from Shell.

        Etienne Pierre-Doray

        Nevermind, this didn't work so I'm reverting to (almost) patchset 40.
        I'll keep the override calls in shell_main_delegate.cc for the browser process.

        Dave Tapuska

        So I suspected you moved them into shell_content_main.cc because you needed them earlier. Is that correct?

        Leaving them in shell_main_delegate.cc isn't ideal because won't they get executed twice?

        What was the error with removing them from shell_main_delegate.cc?

        I would have thought you would have removed them there but added them to https://source.chromium.org/chromium/chromium/src/+/main:content/test/content_test_launcher.cc;l=93?q=content%2Fshell&ss=chromium%2Fchromium%2Fsrc:content%2Ftest%2F so that covers the other case where ContentShellMainDelegate is instantiated.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Avi Drissman
        • Eric Seckler
        • Etienne Pierre-Doray
        • Mikhail Khokhlov
        Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Attention: Eric Seckler <esec...@chromium.org>
        Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
        Gerrit-Comment-Date: Wed, 26 Jun 2024 18:50:55 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Avi Drissman <a...@chromium.org>
        Comment-In-Reply-To: Etienne Pierre-Doray <etie...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Etienne Pierre-Doray (Gerrit)

        unread,
        Jun 26, 2024, 3:15:40 PM (5 days ago) Jun 26
        to Avi Drissman, Dave Tapuska, Eric Seckler, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, mac-r...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
        Attention needed from Avi Drissman, Dave Tapuska, Eric Seckler and Mikhail Khokhlov

        Etienne Pierre-Doray added 1 comment

        File content/public/app/paths_mac.h
        Avi Drissman . resolved

        This strikes me as not ideal. This fails the Content API rules as being an implementation and not an interface, but this fails also because the implementation in the source file is descriptive of how Content Shell works, not content/ in general.

        I’m not up to speed on the core problem that we’re trying to solve here by moving this up a level from Shell.

        Etienne Pierre-Doray

        Nevermind, this didn't work so I'm reverting to (almost) patchset 40.
        I'll keep the override calls in shell_main_delegate.cc for the browser process.

        Dave Tapuska

        So I suspected you moved them into shell_content_main.cc because you needed them earlier. Is that correct?

        Leaving them in shell_main_delegate.cc isn't ideal because won't they get executed twice?

        What was the error with removing them from shell_main_delegate.cc?

        I would have thought you would have removed them there but added them to https://source.chromium.org/chromium/chromium/src/+/main:content/test/content_test_launcher.cc;l=93?q=content%2Fshell&ss=chromium%2Fchromium%2Fsrc:content%2Ftest%2F so that covers the other case where ContentShellMainDelegate is instantiated.

        Etienne Pierre-Doray

        Yes, we'd call overrides twice (though second time has no impact).

        I tried moving the calls to content/test/content_test_launcher.cc and I'm getting:

        ```
        [0626/150514.012292:FATAL:paths_mac.mm(41)] Check failed: "Contents" == path.BaseName().value() (Contents vs. out)
        0 libbase.dylib 0x000000014d422450 base::debug::CollectStackTrace(void const**, unsigned long) + 48
        1 libbase.dylib 0x000000014d3c88ec base::debug::StackTrace::StackTrace(unsigned long) + 112
        2 libbase.dylib 0x000000014d3c8994 base::debug::StackTrace::StackTrace(unsigned long) + 36
        3 libbase.dylib 0x000000014d3c8960 base::debug::StackTrace::StackTrace() + 40
        4 libbase.dylib 0x000000014d06d344 logging::LogMessage::Flush() + 216
        5 libbase.dylib 0x000000014d06d250 logging::LogMessage::~LogMessage() + 44
        6 libbase.dylib 0x000000014d002a4c logging::(anonymous namespace)::DCheckLogMessage::~DCheckLogMessage() + 152
        7 libbase.dylib 0x000000014d002974 logging::(anonymous namespace)::DCheckLogMessage::~DCheckLogMessage() + 28
        8 libbase.dylib 0x000000014d0029a0 logging::(anonymous namespace)::DCheckLogMessage::~DCheckLogMessage() + 28
        9 libbase.dylib 0x000000014d002f94 std::__Cr::default_delete<logging::LogMessage>::operator()(logging::LogMessage*) const + 52
        10 libbase.dylib 0x000000014d001234 std::__Cr::unique_ptr<logging::LogMessage, std::__Cr::default_delete<logging::LogMessage>>::reset(logging::LogMessage*) + 104
        11 libbase.dylib 0x000000014d001184 logging::CheckError::~CheckError() + 68
        12 libbase.dylib 0x000000014d00128c logging::CheckError::~CheckError() + 28
        13 content_browsertests 0x000000010b6905f4 (anonymous namespace)::GetContentsPath() + 900
        14 content_browsertests 0x000000010b690118 (anonymous namespace)::GetFrameworksPath() + 44
        15 content_browsertests 0x000000010b690040 OverrideFrameworkBundlePath() + 60
        16 content_browsertests 0x00000001077f7954 main + 100
        17 dyld 0x000000019b77a0e0 start + 2360
        ```

        This is because content/test/content_test_launcher.cc is in out/Debug/content_browsertests
        whereas content/shell/app/shell_main_delegate_mac.mm is in
        out/Debug/Content Shell.app/Contents/MacOS/Content Shell (content_shell_framework is a mac_framework_bundle target).

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Avi Drissman
        • Dave Tapuska
        • Eric Seckler
        • Mikhail Khokhlov
        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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
        Gerrit-Change-Number: 5581006
        Gerrit-PatchSet: 52
        Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
        Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
        Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
        Gerrit-CC: Dave Tapuska <dtap...@chromium.org>
        Gerrit-CC: Peter Beverloo <pe...@chromium.org>
        Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
        Gerrit-Attention: Avi Drissman <a...@chromium.org>
        Gerrit-Attention: Eric Seckler <esec...@chromium.org>
        Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
        Gerrit-Comment-Date: Wed, 26 Jun 2024 19:15:29 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Dave Tapuska <dtap...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Etienne Pierre-Doray (Gerrit)

        unread,
        Jun 26, 2024, 3:18:56 PM (5 days ago) Jun 26
        to Avi Drissman, Dave Tapuska, Eric Seckler, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, mac-r...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
        File content/public/app/paths_mac.h
        Etienne Pierre-Doray

        Also, removing the overrides from shell_main_delegate.cc gives us the default bundle id ('org.chromium.Chromium'), which fails tests that need rendezvous.
        I get the same error as https://chromium-swarm.appspot.com/task?id=6a238df8ba527111&o=true&w=true

        Gerrit-Comment-Date: Wed, 26 Jun 2024 19:18:45 +0000
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Dave Tapuska (Gerrit)

        unread,
        Jun 26, 2024, 3:23:07 PM (5 days ago) Jun 26
        to Etienne Pierre-Doray, Avi Drissman, Eric Seckler, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, mac-r...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
        Attention needed from Avi Drissman, Eric Seckler, Etienne Pierre-Doray and Mikhail Khokhlov

        Dave Tapuska added 1 comment

        File content/public/app/paths_mac.h
        Dave Tapuska

        Did you try moving these into the ctor from ShellMainDelegate::BasicStartupComplete?

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Avi Drissman
        • Eric Seckler
        • Etienne Pierre-Doray
        • Mikhail Khokhlov
        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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
        Gerrit-Change-Number: 5581006
        Gerrit-PatchSet: 52
        Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
        Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
        Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
        Gerrit-CC: Dave Tapuska <dtap...@chromium.org>
        Gerrit-CC: Peter Beverloo <pe...@chromium.org>
        Gerrit-Attention: Avi Drissman <a...@chromium.org>
        Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Attention: Eric Seckler <esec...@chromium.org>
        Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
        Gerrit-Comment-Date: Wed, 26 Jun 2024 19:22:55 +0000
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Etienne Pierre-Doray (Gerrit)

        unread,
        Jun 26, 2024, 5:20:38 PM (5 days ago) Jun 26
        to Avi Drissman, Dave Tapuska, Eric Seckler, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, mac-r...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
        Attention needed from Avi Drissman, Dave Tapuska, Eric Seckler and Mikhail Khokhlov

        Etienne Pierre-Doray voted and added 1 comment

        Votes added by Etienne Pierre-Doray

        Commit-Queue+1

        1 comment

        File content/public/app/paths_mac.h
        Etienne Pierre-Doray

        I just tried, I'm getting the same error (the constructor runs content_browsertests). I'm not sure why; maybe it gets inlined (BasicStartupComplete is exposed through virtual ContentMainDelegate)..

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Avi Drissman
        • Dave Tapuska
        • Eric Seckler
        • Mikhail Khokhlov
        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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
        Gerrit-Change-Number: 5581006
        Gerrit-PatchSet: 52
        Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
        Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
        Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
        Gerrit-CC: Dave Tapuska <dtap...@chromium.org>
        Gerrit-CC: Peter Beverloo <pe...@chromium.org>
        Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
        Gerrit-Attention: Avi Drissman <a...@chromium.org>
        Gerrit-Attention: Eric Seckler <esec...@chromium.org>
        Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
        Gerrit-Comment-Date: Wed, 26 Jun 2024 21:20:27 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Etienne Pierre-Doray (Gerrit)

        unread,
        Jun 27, 2024, 1:38:47 PM (4 days ago) Jun 27
        to Avi Drissman, Dave Tapuska, Eric Seckler, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, mac-r...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
        Attention needed from Avi Drissman, Dave Tapuska, Eric Seckler and Mikhail Khokhlov

        Etienne Pierre-Doray added 2 comments

        Patchset-level comments
        File-level comment, Patchset 57 (Latest):
        Etienne Pierre-Doray . resolved

        PTAnL?

        File content/public/app/paths_mac.h
        Etienne Pierre-Doray

        I think I've got it (for real this time) by moving override calls to ContentBrowserTest.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Avi Drissman
        • Dave Tapuska
        • Eric Seckler
        • Mikhail Khokhlov
        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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
        Gerrit-Change-Number: 5581006
        Gerrit-PatchSet: 57
        Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
        Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
        Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
        Gerrit-CC: Dave Tapuska <dtap...@chromium.org>
        Gerrit-CC: Peter Beverloo <pe...@chromium.org>
        Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
        Gerrit-Attention: Avi Drissman <a...@chromium.org>
        Gerrit-Attention: Eric Seckler <esec...@chromium.org>
        Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
        Gerrit-Comment-Date: Thu, 27 Jun 2024 17:38:35 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Eric Seckler (Gerrit)

        unread,
        Jun 28, 2024, 4:29:26 AM (3 days ago) Jun 28
        to Etienne Pierre-Doray, Avi Drissman, Dave Tapuska, Mikhail Khokhlov, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, agriev...@chromium.org, mac-r...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
        Attention needed from Avi Drissman, Dave Tapuska, Etienne Pierre-Doray and Mikhail Khokhlov

        Eric Seckler voted Code-Review+1

        Code-Review+1
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Avi Drissman
        • Dave Tapuska
        • Etienne Pierre-Doray
        • Mikhail Khokhlov
        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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
        Gerrit-Change-Number: 5581006
        Gerrit-PatchSet: 59
        Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
        Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
        Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
        Gerrit-CC: Dave Tapuska <dtap...@chromium.org>
        Gerrit-CC: Peter Beverloo <pe...@chromium.org>
        Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
        Gerrit-Attention: Avi Drissman <a...@chromium.org>
        Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
        Gerrit-Comment-Date: Fri, 28 Jun 2024 08:29:11 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Mikhail Khokhlov (Gerrit)

        unread,
        Jun 28, 2024, 5:14:25 AM (3 days ago) Jun 28
        to Etienne Pierre-Doray, Eric Seckler, Avi Drissman, Dave Tapuska, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, agriev...@chromium.org, mac-r...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
        Attention needed from Avi Drissman, Dave Tapuska and Etienne Pierre-Doray

        Mikhail Khokhlov voted Code-Review+1

        Code-Review+1
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Avi Drissman
        • Dave Tapuska
        • Etienne Pierre-Doray
        Gerrit-Comment-Date: Fri, 28 Jun 2024 09:14:09 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Dave Tapuska (Gerrit)

        unread,
        Jun 28, 2024, 9:02:37 AM (3 days ago) Jun 28
        to Etienne Pierre-Doray, Mikhail Khokhlov, Eric Seckler, Avi Drissman, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, agriev...@chromium.org, mac-r...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
        Attention needed from Avi Drissman and Etienne Pierre-Doray

        Dave Tapuska voted Code-Review+1

        Code-Review+1
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Avi Drissman
        • Etienne Pierre-Doray
        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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
        Gerrit-Change-Number: 5581006
        Gerrit-PatchSet: 59
        Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
        Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
        Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
        Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
        Gerrit-CC: Peter Beverloo <pe...@chromium.org>
        Gerrit-Attention: Avi Drissman <a...@chromium.org>
        Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Comment-Date: Fri, 28 Jun 2024 13:02:20 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Etienne Pierre-Doray (Gerrit)

        unread,
        Jun 28, 2024, 10:03:24 AM (3 days ago) Jun 28
        to Dave Tapuska, Mikhail Khokhlov, Eric Seckler, Avi Drissman, Peter Beverloo, AyeAye, Chromium LUCI CQ, Tricium, chromium...@chromium.org, devtools...@chromium.org, agriev...@chromium.org, mac-r...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
        Attention needed from Avi Drissman

        Etienne Pierre-Doray voted Commit-Queue+2

        Commit-Queue+2
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Avi Drissman
        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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
        Gerrit-Change-Number: 5581006
        Gerrit-PatchSet: 59
        Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
        Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
        Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
        Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
        Gerrit-CC: Peter Beverloo <pe...@chromium.org>
        Gerrit-Attention: Avi Drissman <a...@chromium.org>
        Gerrit-Comment-Date: Fri, 28 Jun 2024 14:03:05 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Chromium LUCI CQ (Gerrit)

        unread,
        Jun 28, 2024, 10:06:28 AM (3 days ago) Jun 28
        to Etienne Pierre-Doray, Dave Tapuska, Mikhail Khokhlov, Eric Seckler, Avi Drissman, Peter Beverloo, AyeAye, Tricium, chromium...@chromium.org, devtools...@chromium.org, agriev...@chromium.org, mac-r...@chromium.org, android-web...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org, blundell+...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org

        Chromium LUCI CQ submitted the change

        Change information

        Commit message:
        [tracing] Forward startup tracing config as shmem

        Using base::shared_memory::AddToLaunchParameters() to
        send config in a shmem at child process creation.

        Related changes:
        - Some reordering of operations in early startup to ensure dependencies
        are in place.
        - TraceStartupConfig holds a perfetto::TraceConfig instead of
        a base::TraceConfig
        Change-Id: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
        Reviewed-by: Mikhail Khokhlov <khok...@google.com>
        Reviewed-by: Eric Seckler <esec...@chromium.org>
        Commit-Queue: Etienne Pierre-Doray <etie...@chromium.org>
        Reviewed-by: Dave Tapuska <dtap...@chromium.org>
        Cr-Commit-Position: refs/heads/main@{#1320942}
        Files:
        • M base/trace_event/trace_log.cc
        • M chrome/browser/tracing/chrome_tracing_delegate_browsertest.cc
        • M components/tracing/common/tracing_switches.cc
        • M components/tracing/common/tracing_switches.h
        • M content/app/content_main_runner_impl.cc
        • M content/browser/browser_child_process_host_impl.cc
        • M content/browser/browser_child_process_host_impl.h
        • M content/browser/child_process_launcher.cc
        • M content/browser/child_process_launcher.h
        • M content/browser/child_process_launcher_helper.cc
        • M content/browser/child_process_launcher_helper.h
        • M content/browser/devtools/protocol/tracing_handler.cc
        • M content/browser/gpu/gpu_process_host.cc
        • M content/browser/ppapi_plugin_process_host.cc
        • M content/browser/renderer_host/render_process_host_impl.cc
        • M content/browser/tracing/background_startup_tracing_observer_unittest.cc
        • M content/browser/tracing/background_tracing_config_impl.cc
        • M content/browser/tracing/background_tracing_config_impl.h
        • M content/browser/tracing/background_tracing_manager_browsertest.cc
        • M content/browser/tracing/startup_tracing_browsertest.cc
        • M content/browser/tracing/startup_tracing_controller.cc
        • M content/browser/utility_process_host.cc
        • M content/public/common/content_descriptors.h
        • M content/public/test/content_browser_test.cc
        • M content/shell/app/paths_mac.h
        • M content/shell/app/paths_mac.mm
        • M content/shell/app/shell_content_main.cc
        • M content/shell/app/shell_main_delegate.cc
        • M content/shell/app/shell_main_delegate_mac.h
        • M content/shell/app/shell_main_delegate_mac.mm
        • M content/test/content_browser_test_test.cc
        • M services/tracing/public/cpp/trace_startup.cc
        • M services/tracing/public/cpp/trace_startup.h
        • M services/tracing/public/cpp/trace_startup_config.cc
        • M services/tracing/public/cpp/trace_startup_config.h
        • M services/tracing/public/cpp/trace_startup_config_unittest.cc
        Change size: L
        Delta: 36 files changed, 478 insertions(+), 442 deletions(-)
        Branch: refs/heads/main
        Submit Requirements:
        • requirement satisfiedCode-Review: +1 by Dave Tapuska, +1 by Mikhail Khokhlov, +1 by Eric Seckler
        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: Ic10f5e7cda39cd953bda5f08b617c4e4568a7773
        Gerrit-Change-Number: 5581006
        Gerrit-PatchSet: 60
        Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
        Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
        Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
        open
        diffy
        satisfied_requirement
        Reply all
        Reply to author
        Forward
        0 new messages