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

Unified Diff: content/browser/devtools/devtools_system_info_handler.cc

Issue 241793002: Fix machine_model behaviors in gpu blacklist. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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
« no previous file with comments | « chrome/browser/media/webrtc_logging_handler_host.cc ('k') | content/browser/gpu/gpu_internals_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/devtools_system_info_handler.cc
diff --git a/content/browser/devtools/devtools_system_info_handler.cc b/content/browser/devtools/devtools_system_info_handler.cc
index b503a5078255b53ebe222178d3672908381f46a3..6e0336d2c08c3644cd93fb858cc5006939f5416e 100644
--- a/content/browser/devtools/devtools_system_info_handler.cc
+++ b/content/browser/devtools/devtools_system_info_handler.cc
@@ -24,6 +24,7 @@ const char kDriverBugWorkarounds[] = "driverBugWorkarounds";
const char kFeatureStatus[] = "featureStatus";
const char kGPU[] = "gpu";
const char kModelName[] = "modelName";
+const char kModelVersion[] = "modelVersion";
const char kVendorId[] = "vendorId";
const char kVendorString[] = "vendorString";
@@ -122,7 +123,8 @@ DevToolsSystemInfoHandler::OnGetInfo(
gpu_dict->Set(kDriverBugWorkarounds, GetDriverBugWorkarounds());
base::DictionaryValue* system_dict = new base::DictionaryValue;
- system_dict->SetString(kModelName, gpu_info.machine_model);
+ system_dict->SetString(kModelName, gpu_info.machine_model_name);
+ system_dict->SetString(kModelVersion, gpu_info.machine_model_version);
system_dict->Set(kGPU, gpu_dict);
return command->SuccessResponse(system_dict);
}
« no previous file with comments | « chrome/browser/media/webrtc_logging_handler_host.cc ('k') | content/browser/gpu/gpu_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698