| // Copyright 2026 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| package consoleserver |
| |
| import ( |
| "context" |
| |
| "go.chromium.org/infra/fleetconsole/api/fleetconsolerpc" |
| ) |
| |
| func (frontend *FleetConsoleFrontend) CountBrowserDevices(ctx context.Context, req *fleetconsolerpc.CountBrowserDevicesRequest) (_ *fleetconsolerpc.CountBrowserDevicesResponse, err error) { |
| return &fleetconsolerpc.CountBrowserDevicesResponse{ |
| Total: 21345, |
| SwarmingState: &fleetconsolerpc.SwarmingStateCounts{ |
| Alive: 16930, |
| Dead: 417, |
| Quarantined: 372, |
| Maintenance: 18, |
| }, |
| }, nil |
| } |