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

Unified Diff: chrome/browser/ui/webui/signin/inline_login_handler_impl.cc

Issue 1686833003: Remove HostDesktopType from profiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-16
Patch Set: desktop linux and mac Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/signin/inline_login_handler_impl.cc
diff --git a/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc b/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc
index 21cedd1939ce4be3628723b9e51d4a4d3713c264..676f6c0f03e8b498aaf1746ee3d291486e8cc62d 100644
--- a/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc
+++ b/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc
@@ -690,8 +690,8 @@ void InlineLoginHandlerImpl::CompleteLogin(const base::ListValue* args) {
auth_code, choose_what_to_sync);
ProfileManager::CreateCallback callback = base::Bind(
&InlineLoginHandlerImpl::FinishCompleteLogin, params);
- profiles::SwitchToProfile(path, chrome::GetActiveDesktop(), true,
- callback, ProfileMetrics::SWITCH_PROFILE_UNLOCK);
+ profiles::SwitchToProfile(path, true, callback,
+ ProfileMetrics::SWITCH_PROFILE_UNLOCK);
}
} else {
FinishCompleteLogin(

Powered by Google App Engine
This is Rietveld 408576698