| Index: gpu/config/gpu_util.h
|
| diff --git a/gpu/config/gpu_util.h b/gpu/config/gpu_util.h
|
| index 8c82555dbdc4f1251b746e392eb686f11ada7e1c..f0cd1794316cb2971a13b1528f2e3acf27f65eee 100644
|
| --- a/gpu/config/gpu_util.h
|
| +++ b/gpu/config/gpu_util.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/command_line.h"
|
| #include "build/build_config.h"
|
| +#include "gpu/config/gpu_feature_info.h"
|
| #include "gpu/gpu_export.h"
|
|
|
| namespace base {
|
| @@ -39,6 +40,13 @@ GPU_EXPORT void ParseSecondaryGpuDevicesFromCommandLine(
|
| GPU_EXPORT void InitializeDualGpusIfSupported(
|
| const std::set<int>& driver_bug_workarounds);
|
|
|
| +// This function should only be called from the GPU process, or the Browser
|
| +// process while using in-process GPU. This function is safe to call at any
|
| +// point, and is not dependent on sandbox initialization.
|
| +GPU_EXPORT GpuFeatureInfo
|
| +GetGpuFeatureInfo(const GPUInfo& gpu_info,
|
| + const base::CommandLine& command_line);
|
| +
|
| } // namespace gpu
|
|
|
| #endif // GPU_CONFIG_GPU_UTIL_H_
|
|
|