Chromium Code Reviews| Index: content/browser/frame_host/navigator_delegate.h |
| diff --git a/content/browser/frame_host/navigator_delegate.h b/content/browser/frame_host/navigator_delegate.h |
| index c3db7d188332668261784b124efbf04e29fe140a..ad1aba9bc207417e6e99dd5bb4d263595e92488e 100644 |
| --- a/content/browser/frame_host/navigator_delegate.h |
| +++ b/content/browser/frame_host/navigator_delegate.h |
| @@ -105,6 +105,9 @@ class CONTENT_EXPORT NavigatorDelegate { |
| // preserved in the omnibox. Defaults to false. |
| virtual bool ShouldPreserveAbortedURLs(); |
| + // Returns the overriden user agent string if it's set. |
| + virtual const std::string& GetNavigationUserAgentOverride(); |
|
nasko
2017/03/13 18:47:12
nit: The "Navigation" part of the name doesn't rea
jam
2017/03/13 19:32:40
yeah I did it this way because WebContents, which
nasko
2017/03/13 20:35:41
We have a few cases where the same pure virtual me
jam
2017/03/13 20:38:25
ah, if there's already precedent with this interfa
|
| + |
| // A RenderFrameHost in the specified |frame_tree_node| started loading a new |
| // document. This correponds to Blink's notion of the throbber starting. |
| // |to_different_document| will be true unless the load is a fragment |