| Index: chrome/browser/ui/views/frame/browser_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
|
| index 2bf7e78dfdaa7124c319beffec1f39b85f4ef5fe..8675cfe74b88dd88b56cd1b924ca5400f478164d 100644
|
| --- a/chrome/browser/ui/views/frame/browser_view.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_view.cc
|
| @@ -598,7 +598,13 @@ bool BrowserView::IsOffTheRecord() const {
|
| }
|
|
|
| bool BrowserView::ShouldShowOffTheRecordAvatar() const {
|
| - return IsOffTheRecord() && IsBrowserTypeNormal();
|
| + bool should_show_off_the_record_avatar =
|
| + IsOffTheRecord() && IsBrowserTypeNormal();
|
| +#if defined(OS_CHROMEOS)
|
| + should_show_off_the_record_avatar = should_show_off_the_record_avatar &&
|
| + !CommandLine::ForCurrentProcess()->HasSwitch(switches::kGuestSession);
|
| +#endif
|
| + return should_show_off_the_record_avatar;
|
| }
|
|
|
| bool BrowserView::AcceleratorPressed(const views::Accelerator& accelerator) {
|
|
|