commit | 7784def0dfa6342baa09769d570fe2b3259b3098 | [log] [tgz] |
---|---|---|
author | Ramin Halavati <rhalavati@chromium.org> | Mon May 20 09:20:46 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 20 09:20:46 2019 |
tree | c4f3d24a35dc6ef66cada39cd4c35c4e7abea411 | |
parent | ade0f560b21e4e8b39ed7bd3eb9c14806adad7dc [diff] |
Restrict access to profile type to reduce possible misuses. Profile::GetProfileType() is made protected to persuade usage of profile type functions (IsRegularProfile, IsIncognito, IsGuestProfile). Bug: 947933 Change-Id: Ie049488fa714002b3a0372946040fef82672d440 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1611986 Reviewed-by: Marc Treib <treib@chromium.org> Reviewed-by: Mihai Sardarescu <msarda@chromium.org> Commit-Queue: Ramin Halavati <rhalavati@chromium.org> Cr-Commit-Position: refs/heads/master@{#661299}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .