OLD | NEW |
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 "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "components/user_manager/empty_user_info.h" | 10 #include "components/user_manager/empty_user_info.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 NOTIMPLEMENTED(); | 21 NOTIMPLEMENTED(); |
22 return NULL; | 22 return NULL; |
23 } | 23 } |
24 | 24 |
25 content::BrowserContext* SessionStateDelegate::GetBrowserContextForWindow( | 25 content::BrowserContext* SessionStateDelegate::GetBrowserContextForWindow( |
26 aura::Window* window) { | 26 aura::Window* window) { |
27 NOTIMPLEMENTED(); | 27 NOTIMPLEMENTED(); |
28 return NULL; | 28 return NULL; |
29 } | 29 } |
30 | 30 |
| 31 const std::string& SessionStateDelegate::GetUserPresentingWindow( |
| 32 aura::Window* window) { |
| 33 return base::EmptyString(); |
| 34 } |
| 35 |
31 int SessionStateDelegate::GetMaximumNumberOfLoggedInUsers() const { | 36 int SessionStateDelegate::GetMaximumNumberOfLoggedInUsers() const { |
32 return 3; | 37 return 3; |
33 } | 38 } |
34 | 39 |
35 int SessionStateDelegate::NumberOfLoggedInUsers() const { | 40 int SessionStateDelegate::NumberOfLoggedInUsers() const { |
36 return 1; | 41 return 1; |
37 } | 42 } |
38 | 43 |
39 bool SessionStateDelegate::IsActiveUserSessionStarted() const { | 44 bool SessionStateDelegate::IsActiveUserSessionStarted() const { |
40 return true; | 45 return true; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 102 |
98 void SessionStateDelegate::AddSessionStateObserver( | 103 void SessionStateDelegate::AddSessionStateObserver( |
99 ash::SessionStateObserver* observer) { | 104 ash::SessionStateObserver* observer) { |
100 NOTIMPLEMENTED(); | 105 NOTIMPLEMENTED(); |
101 } | 106 } |
102 | 107 |
103 void SessionStateDelegate::RemoveSessionStateObserver( | 108 void SessionStateDelegate::RemoveSessionStateObserver( |
104 ash::SessionStateObserver* observer) { | 109 ash::SessionStateObserver* observer) { |
105 NOTIMPLEMENTED(); | 110 NOTIMPLEMENTED(); |
106 } | 111 } |
OLD | NEW |