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 content::BrowserContext* |
| 32 SessionStateDelegate::GetUserPresentingBrowserContextForWindow( |
| 33 aura::Window* window) { |
| 34 return NULL; |
| 35 } |
| 36 |
31 int SessionStateDelegate::GetMaximumNumberOfLoggedInUsers() const { | 37 int SessionStateDelegate::GetMaximumNumberOfLoggedInUsers() const { |
32 return 3; | 38 return 3; |
33 } | 39 } |
34 | 40 |
35 int SessionStateDelegate::NumberOfLoggedInUsers() const { | 41 int SessionStateDelegate::NumberOfLoggedInUsers() const { |
36 return 1; | 42 return 1; |
37 } | 43 } |
38 | 44 |
39 bool SessionStateDelegate::IsActiveUserSessionStarted() const { | 45 bool SessionStateDelegate::IsActiveUserSessionStarted() const { |
40 return true; | 46 return true; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 103 |
98 void SessionStateDelegate::AddSessionStateObserver( | 104 void SessionStateDelegate::AddSessionStateObserver( |
99 ash::SessionStateObserver* observer) { | 105 ash::SessionStateObserver* observer) { |
100 NOTIMPLEMENTED(); | 106 NOTIMPLEMENTED(); |
101 } | 107 } |
102 | 108 |
103 void SessionStateDelegate::RemoveSessionStateObserver( | 109 void SessionStateDelegate::RemoveSessionStateObserver( |
104 ash::SessionStateObserver* observer) { | 110 ash::SessionStateObserver* observer) { |
105 NOTIMPLEMENTED(); | 111 NOTIMPLEMENTED(); |
106 } | 112 } |
OLD | NEW |