Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add h5vcc.system user on exit strategy. #4915

Closed
wants to merge 1 commit into from

Conversation

aee-google
Copy link
Contributor

@aee-google aee-google commented Feb 15, 2025

b/385357645
b/394646160

@aee-google aee-google requested a review from yell0wd0g February 15, 2025 00:32
@aee-google aee-google requested a review from a team as a code owner February 15, 2025 00:32

Configuration::Configuration() {
configuration_api_ = static_cast<const CobaltExtensionConfigurationApi*>(
SbSystemGetExtension(kCobaltExtensionConfigurationName));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does access to SbSystem...() functions take place? At a guess I'd say this should happen in the browser process, and perhaps in the UI thread (if it can block, possibly in the IO thread). If so then this class' methods should be protected with DCHECK_CURRENTLY_ON(content::BrowserThread::UI); (or ...::IO);.

I see this method is being called directly from a Blink Object, which lives in the main Renderer thread; it would trigger that assertion. We'll need a Mojo interface to access this guy in all likelihood.

@andrewsavage1 FYI

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it being called from h5vcc_system_impl.cc (i.e. going through mojo)?

@aee-google aee-google closed this Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants