1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef UI_BASE_WIN_LOCK_STATE_H_ 6 #define UI_BASE_WIN_LOCK_STATE_H_ 7 8 #include "base/basictypes.h" 9 #include "ui/base/ui_export.h" 10 11 namespace ui { 12 13 // Returns true if the screen is currently locked. 14 UI_EXPORT bool IsWorkstationLocked(); 15 16 } // namespace ui 17 18 #endif // UI_BASE_WIN_LOCK_STATE_H_ 19