Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@jason-simmons
Copy link
Member

@jason-simmons jason-simmons requested a review from chinmaygarde May 6, 2021 19:42
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat.

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@google-cla google-cla bot added the cla: yes label May 6, 2021

void InitSkiaEventTracer(bool enabled);
void InitSkiaEventTracer(bool enabled,
const std::vector<std::string>& allowlist);
Copy link
Member

Choose a reason for hiding this comment

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

Nit: underscore_case for arguments.

Copy link
Member

Choose a reason for hiding this comment

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

Nevermind. I thought it was allowList. I feel silly.

bool start_paused = false;
bool trace_skia = false;
std::string trace_allowlist;
std::string trace_skia_allowlist;
Copy link
Member

Choose a reason for hiding this comment

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

Can this be a set of string already please? Also for the allowlist maybe. It's impossible to tell from looking at the settings what format of the string needs to be. Looking at the Tokenize method below, it seems like a comma separate list that allows newline? Is that right? Also, can be move Tokenize out of shell.cc as it seems out of place and undocumented there. Perhaps Settings::TokenizeAllowlist that returns the set and also documents the format.

Copy link
Member Author

Choose a reason for hiding this comment

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

Moved this into switches.cc

@jason-simmons jason-simmons added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label May 13, 2021
@fluttergithubbot fluttergithubbot merged commit 0fc1bea into flutter:master May 13, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 13, 2021
cbracken pushed a commit to flutter/flutter that referenced this pull request May 13, 2021
* 304ec46 Roll Skia from 537b7508343d to 6b719c25cade (3 revisions) (flutter/engine#26119)

* 75f705b Roll Fuchsia Mac SDK from q1qWG9XiN... to mdsssGtoC... (flutter/engine#26123)

* 0fc1bea Add an allowlist flag for Skia trace event categories (flutter/engine#25985)

* 917371f Use PackageManager to locate installed UWP apps (flutter/engine#26120)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants