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

Unified Diff: chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.cc

Issue 1428213004: This CL replaces std::string user_id in ash/* with AccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.cc
diff --git a/chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.cc b/chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.cc
index 0fcf0cef92ed5da7d9dc2d087d1d42f31ef6e340..e7d4d41fef4904fe596c8887e2107f369d30bd09 100644
--- a/chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.cc
+++ b/chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.cc
@@ -6,21 +6,23 @@
#include "base/logging.h"
#include "base/strings/string_util.h"
+#include "components/signin/core/account_id/account_id.h"
namespace chrome {
void MultiUserWindowManagerStub::SetWindowOwner(aura::Window* window,
- const std::string& user_id) {
+ const AccountId& account_id) {
NOTIMPLEMENTED();
}
-const std::string& MultiUserWindowManagerStub::GetWindowOwner(
+const AccountId& MultiUserWindowManagerStub::GetWindowOwner(
aura::Window* window) const {
- return base::EmptyString();
+ return EmptyAccountId();
}
-void MultiUserWindowManagerStub::ShowWindowForUser(aura::Window* window,
- const std::string& user_id) {
+void MultiUserWindowManagerStub::ShowWindowForUser(
+ aura::Window* window,
+ const AccountId& account_id) {
NOTIMPLEMENTED();
}
@@ -29,18 +31,17 @@ bool MultiUserWindowManagerStub::AreWindowsSharedAmongUsers() const {
}
void MultiUserWindowManagerStub::GetOwnersOfVisibleWindows(
- std::set<std::string>* user_ids) const {
-}
+ std::set<AccountId>* account_ids) const {}
bool MultiUserWindowManagerStub::IsWindowOnDesktopOfUser(
aura::Window* window,
- const std::string& user_id) const {
+ const AccountId& account_id) const {
return true;
}
-const std::string& MultiUserWindowManagerStub::GetUserPresentingWindow(
+const AccountId& MultiUserWindowManagerStub::GetUserPresentingWindow(
aura::Window* window) const {
- return base::EmptyString();
+ return EmptyAccountId();
}
void MultiUserWindowManagerStub::AddUser(content::BrowserContext* context) {

Powered by Google App Engine
This is Rietveld 408576698