Index: ui/base/win/lock_state.h |
diff --git a/ui/base/win/lock_state.h b/ui/base/win/lock_state.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b99f358bea6439924e7169550e0b4f87e4dfd326 |
--- /dev/null |
+++ b/ui/base/win/lock_state.h |
@@ -0,0 +1,18 @@ |
+// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_BASE_WIN_LOCK_STATE_H_ |
+#define UI_BASE_WIN_LOCK_STATE_H_ |
+ |
+#include "base/basictypes.h" |
+#include "ui/base/ui_base_export.h" |
+ |
+namespace ui { |
+ |
+// Returns true if the screen is currently locked. |
+UI_BASE_EXPORT bool IsWorkstationLocked(); |
+ |
+} // namespace ui |
+ |
+#endif // UI_BASE_WIN_LOCK_STATE_H_ |