22 lines
910 B
Diff
22 lines
910 B
Diff
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: Zoraver Kang <Zoraver@users.noreply.github.com>
|
||
|
Date: Sun, 10 Oct 2021 21:59:16 -0400
|
||
|
Subject: [PATCH] use Google Chrome branding for client hints
|
||
|
|
||
|
---
|
||
|
components/embedder_support/user_agent_utils.cc | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/components/embedder_support/user_agent_utils.cc b/components/embedder_support/user_agent_utils.cc
|
||
|
index 86e97af7108a5..bbc583aba184b 100644
|
||
|
--- a/components/embedder_support/user_agent_utils.cc
|
||
|
+++ b/components/embedder_support/user_agent_utils.cc
|
||
|
@@ -246,6 +246,7 @@ const blink::UserAgentBrandList GetUserAgentBrandList(
|
||
|
bool parse_result = base::StringToInt(major_version, &major_version_number);
|
||
|
DCHECK(parse_result);
|
||
|
absl::optional<std::string> brand;
|
||
|
+ brand = "Google Chrome";
|
||
|
#if !BUILDFLAG(CHROMIUM_BRANDING)
|
||
|
brand = version_info::GetProductName();
|
||
|
#endif
|