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

Side by Side Diff: trunk/src/chrome/browser/ui/ash/session_state_delegate_views.cc

Issue 276773004: Revert 269892 "linux_aura: Compile ash into chrome." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/ash/session_state_delegate_views.h" 5 #include "chrome/browser/ui/ash/session_state_delegate_views.h"
6 6
7 #include "ash/session/user_info.h" 7 #include "ash/session/user_info.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 return false; 101 return false;
102 } 102 }
103 103
104 ash::SessionStateDelegate::SessionState SessionStateDelegate::GetSessionState() 104 ash::SessionStateDelegate::SessionState SessionStateDelegate::GetSessionState()
105 const { 105 const {
106 return SESSION_STATE_ACTIVE; 106 return SESSION_STATE_ACTIVE;
107 } 107 }
108 108
109 const ash::UserInfo* SessionStateDelegate::GetUserInfo( 109 const ash::UserInfo* SessionStateDelegate::GetUserInfo(
110 ash::MultiProfileIndex index) const { 110 ash::MultiProfileIndex index) const {
111 return GetUserInfo(static_cast<content::BrowserContext*>(NULL)); 111 return GetUserInfo(NULL);
112 } 112 }
113 113
114 const ash::UserInfo* SessionStateDelegate::GetUserInfo( 114 const ash::UserInfo* SessionStateDelegate::GetUserInfo(
115 content::BrowserContext* context) const { 115 content::BrowserContext* context) const {
116 static const ash::UserInfo* kUserInfo = new EmptyUserInfo(); 116 static const ash::UserInfo* kUserInfo = new EmptyUserInfo();
117 return kUserInfo; 117 return kUserInfo;
118 } 118 }
119 119
120 bool SessionStateDelegate::ShouldShowAvatar(aura::Window* window) const { 120 bool SessionStateDelegate::ShouldShowAvatar(aura::Window* window) const {
121 return false; 121 return false;
122 } 122 }
123 123
124 void SessionStateDelegate::SwitchActiveUser(const std::string& user_id) { 124 void SessionStateDelegate::SwitchActiveUser(const std::string& user_id) {
125 NOTIMPLEMENTED(); 125 NOTIMPLEMENTED();
126 } 126 }
127 127
128 void SessionStateDelegate::CycleActiveUser(CycleUser cycle_user) { 128 void SessionStateDelegate::CycleActiveUser(CycleUser cycle_user) {
129 NOTIMPLEMENTED(); 129 NOTIMPLEMENTED();
130 } 130 }
131 131
132 void SessionStateDelegate::AddSessionStateObserver( 132 void SessionStateDelegate::AddSessionStateObserver(
133 ash::SessionStateObserver* observer) { 133 ash::SessionStateObserver* observer) {
134 NOTIMPLEMENTED(); 134 NOTIMPLEMENTED();
135 } 135 }
136 136
137 void SessionStateDelegate::RemoveSessionStateObserver( 137 void SessionStateDelegate::RemoveSessionStateObserver(
138 ash::SessionStateObserver* observer) { 138 ash::SessionStateObserver* observer) {
139 NOTIMPLEMENTED(); 139 NOTIMPLEMENTED();
140 } 140 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698