gpu_info_util.h 770 B

123456789101112131415161718192021222324
  1. // Copyright 2021 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.
  4. #ifndef UI_DISPLAY_UTIL_GPU_INFO_UTIL_H_
  5. #define UI_DISPLAY_UTIL_GPU_INFO_UTIL_H_
  6. #include "base/strings/string_piece_forward.h"
  7. namespace base {
  8. class Value;
  9. }
  10. namespace display {
  11. // Helpers for internal pages like chrome://gpu. Create a dictionary with two
  12. // values named description (string) and value (depends on the helper).
  13. base::Value BuildGpuInfoEntry(base::StringPiece description,
  14. base::StringPiece value);
  15. base::Value BuildGpuInfoEntry(base::StringPiece description, base::Value value);
  16. } // namespace display
  17. #endif // UI_DISPLAY_UTIL_GPU_INFO_UTIL_H_