Commit 7810214e authored by vadimt's avatar vadimt Committed by Commit bot

Instrumenting NetworkChangeNotifierWin::GetCurrentConnectionType for jank

We suspect that this method may be causing jankiness of QuicClientSession constructor

BUG=422516

Review URL: https://codereview.chromium.org/879943003

Cr-Commit-Position: refs/heads/master@{#313427}
parent 440dad13
......@@ -208,6 +208,11 @@ NetworkChangeNotifierWin::RecomputeCurrentConnectionType() const {
NetworkChangeNotifier::ConnectionType
NetworkChangeNotifierWin::GetCurrentConnectionType() const {
// TODO(vadimt): Remove ScopedTracker below once crbug.com/422516 is fixed.
tracked_objects::ScopedTracker tracking_profile(
FROM_HERE_WITH_EXPLICIT_FUNCTION(
"422516 NetworkChangeNotifierWin::GetCurrentConnectionType"));
base::AutoLock auto_lock(last_computed_connection_type_lock_);
return last_computed_connection_type_;
}
......
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