| 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 d5ca57d4e3554c8369397507601251c6ee91e6d1..5596b20efa9ea00d422700ec19cc2696c7b92bc9 100644
|
| --- a/components/dom_distiller/core/url_utils.cc
|
| +++ b/components/dom_distiller/core/url_utils.cc
|
| @@ -8,7 +8,9 @@
|
|
|
| #include "base/guid.h"
|
| #include "components/dom_distiller/core/url_constants.h"
|
| +#include "grit/component_resources.h"
|
| #include "net/base/url_util.h"
|
| +#include "ui/base/resource/resource_bundle.h"
|
| #include "url/gurl.h"
|
|
|
| namespace dom_distiller {
|
| @@ -51,6 +53,11 @@ bool IsDistilledPage(const GURL& url) {
|
| return url.is_valid() && url.scheme() == kDomDistillerScheme;
|
| }
|
|
|
| +std::string GetIsDistillableJs() {
|
| + return ResourceBundle::GetSharedInstance()
|
| + .GetRawDataResource(IDR_IS_DISTILLABLE_JS).as_string();
|
| +}
|
| +
|
| } // namespace url_utils
|
|
|
| } // namespace dom_distiller
|
|
|