|
@@ -17,8 +17,8 @@ diff --git a/components/version_info/version_info.cc b/components/version_info/v
|
|
|
|
|
|
std::string GetProductNameAndVersionForUserAgent() {
|
|
|
- return "Chrome/" + GetVersionNumber();
|
|
|
-+ // a common version for Android 8.0.0
|
|
|
-+ return "Chrome/74.0.3729.157";
|
|
|
++ // a common version for Android 8.1.0
|
|
|
++ return "Chrome/77.0.3865.92";
|
|
|
}
|
|
|
|
|
|
std::string GetProductName() {
|
|
@@ -30,7 +30,7 @@ diff --git a/content/common/user_agent.cc b/content/common/user_agent.cc
|
|
|
}
|
|
|
#elif defined(OS_ANDROID)
|
|
|
- std::string android_version_str = base::SysInfo::OperatingSystemVersion();
|
|
|
-+ std::string android_version_str = "8.0.0";
|
|
|
++ std::string android_version_str = "8.1.0";
|
|
|
std::string android_info_str = GetAndroidOSInfo(include_android_build_number);
|
|
|
#elif defined(OS_POSIX) && !defined(OS_MACOSX)
|
|
|
// Should work on any Posix system.
|
|
@@ -49,7 +49,7 @@ diff --git a/content/common/user_agent.cc b/content/common/user_agent.cc
|
|
|
- semicolon_inserted = true;
|
|
|
- }
|
|
|
+ // Send spoofed information about the device.
|
|
|
-+ std::string android_info_str = "; SM-G960F";
|
|
|
++ std::string android_info_str = "; Moto G (5S) Plus";
|
|
|
+ bool semicolon_inserted = true;
|
|
|
|
|
|
// Append the build ID.
|