| Index: components/offline_pages/downloads/download_ui_adapter.cc
|
| diff --git a/components/offline_pages/downloads/download_ui_adapter.cc b/components/offline_pages/downloads/download_ui_adapter.cc
|
| index b38cc591fd391634e3008faae1b90b1b9d5b424e..1ef3534dba10ccb046ae8e1894f32ae606d9ff24 100644
|
| --- a/components/offline_pages/downloads/download_ui_adapter.cc
|
| +++ b/components/offline_pages/downloads/download_ui_adapter.cc
|
| @@ -210,6 +210,7 @@ void DownloadUIAdapter::OnDeletePagesDone(DeletePageResult result) {
|
| // TODO(dimich): Consider adding UMA to record user actions.
|
| }
|
|
|
| +// static
|
| bool DownloadUIAdapter::IsVisibleInUI(const ClientId& client_id) {
|
| const std::string& name_space = client_id.name_space;
|
| return (name_space == kAsyncNamespace || name_space == kDownloadNamespace) &&
|
|
|