| Index: components/dom_distiller/core/url_utils.cc
|
| diff --git a/components/dom_distiller/core/url_utils.cc b/components/dom_distiller/core/url_utils.cc
|
| index 814a4e7c81c8ff94816a48b493f88a804fb5e395..e1d9b3d7606f0f346d8ad2c2e17179ccadbaf859 100644
|
| --- a/components/dom_distiller/core/url_utils.cc
|
| +++ b/components/dom_distiller/core/url_utils.cc
|
| @@ -47,6 +47,10 @@ bool IsUrlDistillable(const GURL& url) {
|
| return url.is_valid() && url.SchemeIsHTTPOrHTTPS();
|
| }
|
|
|
| +bool IsUrlReportable(const std::string& scheme, const GURL& url) {
|
| + return url.is_valid() && url.scheme() == scheme;
|
| +}
|
| +
|
| } // namespace url_utils
|
|
|
| } // namespace dom_distiller
|
|
|