| 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 b12feeab8d3c612914e292c03999b541f47f3329..a7dd6218579231e6f6d07f607f1877ae3b3dcd51 100644
 | 
| --- a/chrome/browser/ui/views/frame/browser_view.cc
 | 
| +++ b/chrome/browser/ui/views/frame/browser_view.cc
 | 
| @@ -548,6 +548,15 @@ bool BrowserView::IsOffTheRecord() const {
 | 
|    return browser_->profile()->IsOffTheRecord();
 | 
|  }
 | 
|  
 | 
| +bool BrowserView::IsGuestSession() const {
 | 
| +  return browser_->profile()->IsGuestSession();
 | 
| +}
 | 
| +
 | 
| +bool BrowserView::IsRegularOrGuestSession() const {
 | 
| +  Profile* profile = browser_->profile();
 | 
| +  return (profile->IsGuestSession() || !profile->IsOffTheRecord());
 | 
| +}
 | 
| +
 | 
|  int BrowserView::GetOTRIconResourceID() const {
 | 
|    int otr_resource_id = IDR_OTR_ICON;
 | 
|    if (ui::GetDisplayLayout() == ui::LAYOUT_TOUCH) {
 | 
| @@ -562,10 +571,6 @@ int BrowserView::GetOTRIconResourceID() const {
 | 
|    return otr_resource_id;
 | 
|  }
 | 
|  
 | 
| -bool BrowserView::IsGuestSession() const {
 | 
| -  return browser_->profile()->IsGuestSession();
 | 
| -}
 | 
| -
 | 
|  int BrowserView::GetGuestIconResourceID() const {
 | 
|    return IDR_GUEST_ICON;
 | 
|  }
 | 
| 
 |