Skip to content

Commit 27b0377

Browse files
zetafunctionChromium LUCI CQ
authored and
Chromium LUCI CQ
committed
Replace url::Replacements<T> with GURL::Replacements in /chrome/browser/extensions/activity_log.
When clearing URL components, the two interfaces are exactly identical. When replacing a URL component, GURL::Replacements has a simpler interface. This CL was uploaded by git cl split. [email protected] Bug: 1271865 Change-Id: I8cefdcd24b5ff85556fce97ed3beadff239b8c47 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3487148 Auto-Submit: Daniel Cheng <[email protected]> Reviewed-by: Devlin Cronin <[email protected]> Commit-Queue: Devlin Cronin <[email protected]> Cr-Commit-Position: refs/heads/main@{#974931}
1 parent 4da9c0b commit 27b0377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chrome/browser/extensions/activity_log/activity_log_policy.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void ActivityLogPolicy::Util::StripPrivacySensitiveFields(
9090

9191
// Strip query parameters, username/password, etc., from URLs.
9292
if (action->page_url().is_valid() || action->arg_url().is_valid()) {
93-
url::Replacements<char> url_sanitizer;
93+
GURL::Replacements url_sanitizer;
9494
url_sanitizer.ClearUsername();
9595
url_sanitizer.ClearPassword();
9696
url_sanitizer.ClearQuery();

0 commit comments

Comments
 (0)