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

Unified Diff: ash/wm/lock_state_controller.cc

Issue 2489853002: Added function to provide the short board name of the device (Closed)
Patch Set: Fixed the review comment 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 | base/sys_info.h » ('j') | base/sys_info.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/lock_state_controller.cc
diff --git a/ash/wm/lock_state_controller.cc b/ash/wm/lock_state_controller.cc
index 5842f1706c5083ff5492aaf7dceb4902af91372d..22e6459bfcf30d071fa24a3eac24195e9f4b2291 100644
--- a/ash/wm/lock_state_controller.cc
+++ b/ash/wm/lock_state_controller.cc
@@ -488,7 +488,7 @@ void LockStateController::PreLockAnimationFinished(bool request_lock) {
base::TimeDelta::FromMilliseconds(kLockFailTimeoutMs);
#if defined(OS_CHROMEOS)
// Increase lock timeout for slower hardware, see http://crbug.com/350628
- const std::string board = base::SysInfo::GetLsbReleaseBoard();
+ const std::string board = base::SysInfo::GetStrippedReleaseBoard();
if (board == "x86-mario" ||
base::StartsWith(board, "x86-alex", base::CompareCase::SENSITIVE) ||
base::StartsWith(board, "x86-zgb", base::CompareCase::SENSITIVE) ||
« no previous file with comments | « no previous file | base/sys_info.h » ('j') | base/sys_info.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698