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

Unified Diff: content/common/user_agent.cc

Issue 800543006: Add OILPAN string to developer build chromium's webkit revision (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added import to BUILD.gn Created 5 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: content/common/user_agent.cc
diff --git a/content/common/user_agent.cc b/content/common/user_agent.cc
index 1176c488d3d89ab814b0f79d1f1930b16449be17..5e83f869aaa41c1fa9fae8be0ba98574dcfcc002 100644
--- a/content/common/user_agent.cc
+++ b/content/common/user_agent.cc
@@ -37,7 +37,11 @@ std::string GetWebKitVersion() {
return base::StringPrintf("%d.%d (%s)",
WEBKIT_VERSION_MAJOR,
WEBKIT_VERSION_MINOR,
- WEBKIT_SVN_REVISION);
+ WEBKIT_SVN_REVISION
+#if defined(ENABLE_OILPAN) && !defined(OFFICIAL_BUILD)
+ "-OILPAN"
+#endif
+ );
}
int GetWebKitMajorVersion() {
@@ -49,7 +53,11 @@ int GetWebKitMinorVersion() {
}
std::string GetWebKitRevision() {
- return WEBKIT_SVN_REVISION;
+ return WEBKIT_SVN_REVISION
+#if defined(ENABLE_OILPAN) && !defined(OFFICIAL_BUILD)
+ "-OILPAN"
+#endif
+ ;
}
std::string BuildOSCpuInfo() {

Powered by Google App Engine
This is Rietveld 408576698