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

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

Issue 2157563002: Add a PGO tag for the PGO builds in chrome://version (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove the VS2013 string. Created 4 years, 5 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 | « no previous file | chrome/chrome_features.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/version_ui.cc
diff --git a/chrome/browser/ui/webui/version_ui.cc b/chrome/browser/ui/webui/version_ui.cc
index 2961ea8e2bf0455e4af98ab128064e753ac46fc5..6a58fcb7eb62ce7a486e150075e8bd1afa613f3d 100644
--- a/chrome/browser/ui/webui/version_ui.cc
+++ b/chrome/browser/ui/webui/version_ui.cc
@@ -138,9 +138,11 @@ WebUIDataSource* CreateVersionUIDataSource() {
#if defined(__clang__)
html_source->AddString("compiler", "clang");
#elif defined(_MSC_VER) && _MSC_VER == 1900
+#if BUILDFLAG(PGO_BUILD)
+ html_source->AddString("compiler", "MSVC 2015 (PGO)");
+#else
html_source->AddString("compiler", "MSVC 2015");
-#elif defined(_MSC_VER) && _MSC_VER == 1800
- html_source->AddString("compiler", "MSVC 2013");
+#endif
#elif defined(_MSC_VER)
#error "Unsupported version of MSVC."
#else
« no previous file with comments | « no previous file | chrome/chrome_features.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698