Implement listing tests to a JSON file for iOS gtest test launcher
[chromium-blink-merge.git] / ash / test / test_lock_state_controller_delegate.cc
blob55e46ac60473dfe9fd63a97d01b2cb0c7c6fde56
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.
5 #include "ash/test/test_lock_state_controller_delegate.h"
7 namespace ash {
8 namespace test {
10 TestLockStateControllerDelegate::TestLockStateControllerDelegate()
11 : num_lock_requests_(0),
12 num_shutdown_requests_(0) {
15 TestLockStateControllerDelegate::~TestLockStateControllerDelegate() {
18 void TestLockStateControllerDelegate::RequestLockScreen() {
19 ++num_lock_requests_;
22 void TestLockStateControllerDelegate::RequestShutdown() {
23 ++num_shutdown_requests_;
26 } // namespace test
27 } // namespace ash