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

Unified Diff: chrome/browser/ui/webui/gpu_internals_ui.cc

Issue 6677149: Append software rendering list version to the about:gpu page. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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: chrome/browser/ui/webui/gpu_internals_ui.cc
===================================================================
--- chrome/browser/ui/webui/gpu_internals_ui.cc (revision 80377)
+++ chrome/browser/ui/webui/gpu_internals_ui.cc (working copy)
@@ -248,7 +248,7 @@
// Watch for changes in GPUInfo
gpu_info_update_callback_ =
- NewCallback(this, &GpuMessageHandler::OnGpuInfoUpdate);
+ NewCallback(this, &GpuMessageHandler::OnGpuInfoUpdate);
gpu_data_manager_->AddGpuInfoUpdateCallback(gpu_info_update_callback_);
// Tell GpuDataManager it should have full GpuInfo. If the
@@ -274,17 +274,20 @@
dict->SetString("version", version_info.Version());
dict->SetString("cl", version_info.LastChange());
dict->SetString("version_mod",
- platform_util::GetVersionStringModifier());
+ platform_util::GetVersionStringModifier());
dict->SetString("official",
- l10n_util::GetStringUTF16(
- version_info.IsOfficialBuild() ?
- IDS_ABOUT_VERSION_OFFICIAL
- : IDS_ABOUT_VERSION_UNOFFICIAL));
+ l10n_util::GetStringUTF16(
+ version_info.IsOfficialBuild() ?
+ IDS_ABOUT_VERSION_OFFICIAL :
+ IDS_ABOUT_VERSION_UNOFFICIAL));
dict->SetString("command_line",
- CommandLine::ForCurrentProcess()->command_line_string());
+ CommandLine::ForCurrentProcess()->command_line_string());
}
+ dict->SetString("blacklist_version",
+ GpuDataManager::GetInstance()->GetBlacklistVersion());
+
return dict;
}

Powered by Google App Engine
This is Rietveld 408576698