1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
ash / game_dashboard / test_game_dashboard_delegate.cc [blame]
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/game_dashboard/test_game_dashboard_delegate.h"
namespace ash {
void TestGameDashboardDelegate::GetIsGame(const std::string& app_id,
IsGameCallback callback) {
std::move(callback).Run(app_id == kGameAppId);
}
std::string TestGameDashboardDelegate::GetArcAppName(
const std::string& app_id) const {
return std::string();
}
void TestGameDashboardDelegate::RecordGameWindowOpenedEvent(
aura::Window* window) {}
void TestGameDashboardDelegate::ShowResizeToggleMenu(aura::Window* window) {}
ukm::SourceId TestGameDashboardDelegate::GetUkmSourceId(
const std::string& app_id) {
return 123;
}
} // namespace ash