| commit | 2394dc45b48ef436d5fae8638ba44e0cd398ec6a | [log] [tgz] |
|---|---|---|
| author | Ramin Halavati <[email protected]> | Tue May 21 16:21:58 2019 |
| committer | Commit Bot <[email protected]> | Tue May 21 16:21:58 2019 |
| tree | c238282c4e5fd957a32c8fc73802d73db7e745fa | |
| parent | 07df1bcba05d4d9edf5af41a509c8b67636b3fe9 [diff] [blame] |
Rename Profile::IsIncognito to Profile::IsIncognitoProfile. Current profile type checkers are: - IsRegularProfile - IsIncognito - IsGuestProfile To make them similar, IsIncognito is renamed to IsIncognitoProfile. Bug: 947933 Change-Id: I7e3ca4c0edec797b98e153965ca0fe5bec4af924 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1617774 Commit-Queue: Ramin Halavati <[email protected]> Reviewed-by: Mihai Sardarescu <[email protected]> Reviewed-by: Marc Treib <[email protected]> Cr-Commit-Position: refs/heads/master@{#661758}
diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc index 36b31c8..cc19ed91 100644 --- a/chrome/browser/ui/browser_command_controller.cc +++ b/chrome/browser/ui/browser_command_controller.cc
@@ -960,7 +960,7 @@ command_updater_.UpdateCommandEnabled(IDC_TAKE_SCREENSHOT, true); // Chrome OS uses the system tray menu to handle multi-profiles. Avatar menu // is only required in incognito mode. - if (profile()->IsIncognito()) + if (profile()->IsIncognitoProfile()) command_updater_.UpdateCommandEnabled(IDC_SHOW_AVATAR_MENU, true); #else if (normal_window)