1
1
Description: Add "Chromium" and "Ubuntu" to the user-agent text.
2
2
Author: Chad Miller <chad.miller@canonical.com>
7
9
// Derived from Safari's UA string.
8
10
// This is done to expose our product name in a manner that is maximally
9
11
// compatible with Safari, we hope!!
11
12
+ // We want to also add Chromium
12
14
+ std::string realproduct = product.c_str();
14
16
+ if ((pos = realproduct.find("/")) != std::string::npos)