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

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: Created 5 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/user_agent.cc
diff --git a/content/common/user_agent.cc b/content/common/user_agent.cc
index 1176c488d3d89ab814b0f79d1f1930b16449be17..380105365cecbc6ab34c73546a470753c5594671 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) && ENABLE_OILPAN && !defined(OFFICIAL_BUILD)
brettw 2015/02/07 00:17:17 You should do either "defined" style or check the
tasak 2015/02/10 05:51:24 Because we don't need to add the "OILPAN" string t
brettw 2015/02/10 22:51:38 But shouldn'e the ENABLE_OILPAN flag always be set
+ "-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) && ENABLE_OILPAN && !defined(OFFICIAL_BUILD)
+ "-OILPAN"
+#endif
+ ;
}
std::string BuildOSCpuInfo() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698