Commit 819e3647 authored by Ian Struiksma's avatar Ian Struiksma Committed by Commit Bot

Log the Autofill Server cache key on matches as well as misses.

For Captured Sites test automation, we now log what is in the cache,
and we log the key that was looked for on a miss, but we don't log
what key was requested when there is a hit. This line fixes that.

Change-Id: I01561dd39d7152f87b66bb9d1a993dbe2d94b33f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1748604Reviewed-by: default avatarMaxim Kolosovskiy <kolos@chromium.org>
Commit-Queue: Ian Struiksma <ianstruiksma@google.com>
Cr-Commit-Position: refs/heads/master@{#686479}
parent 82fddb6c
...@@ -526,6 +526,7 @@ bool ServerCacheReplayer::GetResponseForQuery( ...@@ -526,6 +526,7 @@ bool ServerCacheReplayer::GetResponseForQuery(
VLOG(1) << "Did not match any response for " << key; VLOG(1) << "Did not match any response for " << key;
return false; return false;
} }
VLOG(1) << "Retrieving response for " << key;
std::string decompressed_http_response; std::string decompressed_http_response;
// Safe to use at() here since we looked for key's presence and there is no // Safe to use at() here since we looked for key's presence and there is no
// mutation done when there is concurrency. // mutation done when there is concurrency.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment