Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: chrome/browser/views/frame/browser_view.cc

Issue 4215005: Revert 64246 (reviewer's veto) - Use special text for Guest Session instead o... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/shared/images/guest_icon_standalone.png ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/frame/browser_view.cc
===================================================================
--- chrome/browser/views/frame/browser_view.cc (revision 64372)
+++ chrome/browser/views/frame/browser_view.cc (working copy)
@@ -601,13 +601,7 @@
}
bool BrowserView::ShouldShowOffTheRecordAvatar() const {
- 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;
+ return IsOffTheRecord() && IsBrowserTypeNormal();
}
bool BrowserView::AcceleratorPressed(const views::Accelerator& accelerator) {
« no previous file with comments | « chrome/browser/resources/shared/images/guest_icon_standalone.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698