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

Unified Diff: chrome/browser/chromeos/login/session/user_session_manager.cc

Issue 2536113003: chromeos: Make InputEventsBlocker NOTIMPLEMENTED for mash (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/ui/input_events_blocker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/session/user_session_manager.cc
diff --git a/chrome/browser/chromeos/login/session/user_session_manager.cc b/chrome/browser/chromeos/login/session/user_session_manager.cc
index 311d553277239d9407b6520c099f3ef8336b967f..f6591e257a203969056bd2de8dfc40ce98fd3ec7 100644
--- a/chrome/browser/chromeos/login/session/user_session_manager.cc
+++ b/chrome/browser/chromeos/login/session/user_session_manager.cc
@@ -1736,12 +1736,6 @@ void UserSessionManager::RespectLocalePreferenceWrapper(
if (browser_shutdown::IsTryingToQuit())
return;
- // InputEventsBlocker is not available in Mash
- if (chrome::IsRunningInMash()) {
- callback.Run();
- return;
- }
-
const user_manager::User* const user =
ProfileHelper::Get()->GetUserByProfile(profile);
locale_util::SwitchLanguageCallback locale_switched_callback(base::Bind(
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/ui/input_events_blocker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698