When converting some WebContentsObservers to use the new API, one thing that came up was that some getters are now not possible to call in DidStartNavigation. It looks like for non-PlzNavigate, it makes sense that we have to wait for the network request to start before this information is available. However with PlzNavigate, these members are already known when the NavigationRequest is created.
So when PlzNavigate is the only code path, I suggest we set these early so that their getters can have the dcheck's removed.
virtual bool IsPost() = 0;
virtual const Referrer& GetReferrer() = 0;
virtual bool HasUserGesture() = 0;
virtual ui::PageTransition GetPageTransition() = 0;
Comment 1 by jam@chromium.org
, Jan 21 2017