123456789101112131415161718192021222324 |
- // Copyright 2021 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_DISPLAY_UTIL_GPU_INFO_UTIL_H_
- #define UI_DISPLAY_UTIL_GPU_INFO_UTIL_H_
- #include "base/strings/string_piece_forward.h"
- namespace base {
- class Value;
- }
- namespace display {
- // Helpers for internal pages like chrome://gpu. Create a dictionary with two
- // values named description (string) and value (depends on the helper).
- base::Value BuildGpuInfoEntry(base::StringPiece description,
- base::StringPiece value);
- base::Value BuildGpuInfoEntry(base::StringPiece description, base::Value value);
- } // namespace display
- #endif // UI_DISPLAY_UTIL_GPU_INFO_UTIL_H_
|