diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/chrome/common/net | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/chrome/common/net')
-rw-r--r-- | chromium/chrome/common/net/OWNERS | 3 | ||||
-rw-r--r-- | chromium/chrome/common/net/net_error_page_support.mojom | 17 |
2 files changed, 20 insertions, 0 deletions
diff --git a/chromium/chrome/common/net/OWNERS b/chromium/chrome/common/net/OWNERS index b77292902d2..14758211512 100644 --- a/chromium/chrome/common/net/OWNERS +++ b/chromium/chrome/common/net/OWNERS @@ -1,4 +1,7 @@ file://net/OWNERS +per-file *.mojom=set noparent +per-file *.mojom=file://ipc/SECURITY_OWNERS + # COMPONENT: Internals>Network # TEAM: net-dev@chromium.org diff --git a/chromium/chrome/common/net/net_error_page_support.mojom b/chromium/chrome/common/net/net_error_page_support.mojom new file mode 100644 index 00000000000..ae2a112b4e3 --- /dev/null +++ b/chromium/chrome/common/net/net_error_page_support.mojom @@ -0,0 +1,17 @@ +// Copyright 2020 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +module chrome.mojom; + +// A per-frame interface used to support network error pages. +// TODO(darin): Consolidate other such interfaces into this interface. +interface NetErrorPageSupport { + // Called to schedule a download of the current page at a later time. + [EnableIf=enable_offline_pages] + DownloadPageLater(); + + // Called to indicate if download button is being shown in the error page. + [EnableIf=enable_offline_pages] + SetIsShowingDownloadButtonInErrorPage(bool showing_download_button); +}; |