| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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/multi_user/multi_user_window_manager_stub.h" | 5 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
| 9 | 9 |
| 10 namespace chrome { | 10 namespace chrome { |
| 11 | 11 |
| 12 void MultiUserWindowManagerStub::SetWindowOwner(aura::Window* window, | 12 void MultiUserWindowManagerStub::SetWindowOwner(aura::Window* window, |
| 13 const std::string& user_id) { | 13 const std::string& user_id) { |
| 14 NOTIMPLEMENTED(); | 14 NOTIMPLEMENTED(); |
| 15 } | 15 } |
| 16 | 16 |
| 17 const std::string& MultiUserWindowManagerStub::GetWindowOwner( | 17 const std::string& MultiUserWindowManagerStub::GetWindowOwner( |
| 18 aura::Window* window) { | 18 aura::Window* window) { |
| 19 return EmptyString(); | 19 return base::EmptyString(); |
| 20 } | 20 } |
| 21 | 21 |
| 22 void MultiUserWindowManagerStub::ShowWindowForUser(aura::Window* window, | 22 void MultiUserWindowManagerStub::ShowWindowForUser(aura::Window* window, |
| 23 const std::string& user_id) { | 23 const std::string& user_id) { |
| 24 NOTIMPLEMENTED(); | 24 NOTIMPLEMENTED(); |
| 25 } | 25 } |
| 26 | 26 |
| 27 bool MultiUserWindowManagerStub::AreWindowsSharedAmongUsers() { | 27 bool MultiUserWindowManagerStub::AreWindowsSharedAmongUsers() { |
| 28 return false; | 28 return false; |
| 29 } | 29 } |
| 30 | 30 |
| 31 bool MultiUserWindowManagerStub::IsWindowOnDesktopOfUser( | 31 bool MultiUserWindowManagerStub::IsWindowOnDesktopOfUser( |
| 32 aura::Window* window, | 32 aura::Window* window, |
| 33 const std::string& user_id) { | 33 const std::string& user_id) { |
| 34 return true; | 34 return true; |
| 35 } | 35 } |
| 36 | 36 |
| 37 const std::string& MultiUserWindowManagerStub::GetUserPresentingWindow( | 37 const std::string& MultiUserWindowManagerStub::GetUserPresentingWindow( |
| 38 aura::Window* window) { | 38 aura::Window* window) { |
| 39 return EmptyString(); | 39 return base::EmptyString(); |
| 40 } | 40 } |
| 41 | 41 |
| 42 void MultiUserWindowManagerStub::AddUser(Profile* profile) { | 42 void MultiUserWindowManagerStub::AddUser(Profile* profile) { |
| 43 NOTIMPLEMENTED(); | 43 NOTIMPLEMENTED(); |
| 44 } | 44 } |
| 45 | 45 |
| 46 } // namespace chrome | 46 } // namespace chrome |
| OLD | NEW |