blob: d5f34182f11c09d9c6dfcce1a60a7a6af27d2fc1 [file] [log] [blame]
// Copyright 2017 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.
#include "ash/test/test_accessibility_delegate.h"
namespace ash {
namespace test {
void TestAccessibilityDelegate::PlayEarcon(int sound_key) {
sound_key_ = sound_key;
}
int TestAccessibilityDelegate::GetPlayedEarconAndReset() {
int tmp = sound_key_;
sound_key_ = -1;
return tmp;
}
} // namespace test
} // namespace ash