friend class DisplayColorManagerTest;NOTE: currently there's no way to set up global CrosSettings instance outside of //chrome.
I'm working on making it possible, but that'll need a bit more changes still.
This should be short term work around until that's done.
assert(is_chromeos, "Quicks can be used only in chromeos")Clarification: Looks like this is only for chromeos now.
Is there any plan to enable it for other platforms?
If not, maybe move this to chromeos/ash/components/quirks?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
assert(is_chromeos, "Quicks can be used only in chromeos")Clarification: Looks like this is only for chromeos now.
Is there any plan to enable it for other platforms?If not, maybe move this to chromeos/ash/components/quirks?
It's up to us. There are "chromeos only" components under components, such as user_manager, exo, and moving all of them is probably not important as long as it's clearly declared like this (but possbiile).
"//chromeos/ash/components/settings",Hmm, I feel odd if this depeneds on settings. Can't we just inject callbacks?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thank you for review. PTAL.
FYI: Greg.
assert(is_chromeos, "Quicks can be used only in chromeos")Mitsuru OshimaClarification: Looks like this is only for chromeos now.
Is there any plan to enable it for other platforms?If not, maybe move this to chromeos/ash/components/quirks?
It's up to us. There are "chromeos only" components under components, such as user_manager, exo, and moving all of them is probably not important as long as it's clearly declared like this (but possbiile).
Thanks for reply.
Moving the components is just an option, and indeed low priority. I just wanted to confirm this is only for chromeos (as this introduces chromeos only code to this module).
Hmm, I feel odd if this depeneds on settings. Can't we just inject callbacks?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thank you for review. PTAL.
FYI: Greg.
Thanks for the ping. But I work on Privacy these days, and haven't touched ChromeOS code in over 7 years(!). So I'm not really qualified to evaluate a change of this magnitude. Glad Oshima's taking a look :)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
if (!base::SysInfo::IsRunningOnChromeOS()) {optional:
#if !BUILDFLAG(IS_CHROMEOS_DEVICE)
to exclude non production code.
quirks_policy_controller_.reset();It's less intuitive to reset then call shutdown related classes. Can you elaborate this dependency in the comment?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
optional:
#if !BUILDFLAG(IS_CHROMEOS_DEVICE)
to exclude non production code.
Done
It's less intuitive to reset then call shutdown related classes. Can you elaborate this dependency in the comment?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
2 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: chrome/browser/ash/main_parts/chrome_browser_main_parts_ash.cc
Insertions: 15, Deletions: 14.
The diff is too large to show. Please review the diff.
```
Remove chrome/browser/ash/display/quirks_manager_delegate_impl
The impl is living in //chrome. However, the actual dependency is
only user dir path injection for linux-chromeos.
That can be handled in chromeos-chrome start up in a way to override
an entry in PathService.
BUG=422082022
TEST=Tryjob
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |