Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Unified Diff: gpu/ipc/service/gpu_init.h

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: cleanup Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/ipc/service/gpu_init.h
diff --git a/gpu/ipc/service/gpu_init.h b/gpu/ipc/service/gpu_init.h
index 1566b82f4d83b623f21d4584ed9e3e7fea1aab4f..e9a27b0dfc0a026e5c88464a65c52b9ed2efc6a6 100644
--- a/gpu/ipc/service/gpu_init.h
+++ b/gpu/ipc/service/gpu_init.h
@@ -7,6 +7,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
+#include "gpu/config/gpu_feature_status.h"
#include "gpu/config/gpu_info.h"
#include "gpu/gpu_export.h"
#include "gpu/ipc/service/gpu_watchdog_thread.h"
@@ -38,6 +39,9 @@ class GPU_EXPORT GpuInit {
bool InitializeAndStartSandbox(const base::CommandLine& command_line);
const GPUInfo& gpu_info() const { return gpu_info_; }
+ const GPUFeatureStatus& gpu_feature_status() const {
+ return gpu_feature_status_;
+ }
std::unique_ptr<GpuWatchdogThread> TakeWatchdogThread() {
return std::move(watchdog_thread_);
}
@@ -46,6 +50,7 @@ class GPU_EXPORT GpuInit {
GpuSandboxHelper* sandbox_helper_ = nullptr;
std::unique_ptr<GpuWatchdogThread> watchdog_thread_;
GPUInfo gpu_info_;
+ GPUFeatureStatus gpu_feature_status_;
DISALLOW_COPY_AND_ASSIGN(GpuInit);
};

Powered by Google App Engine
This is Rietveld 408576698