#ifndef COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DISTILLER_JAVASCRIPT_UTILS_H_
#define COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DISTILLER_JAVASCRIPT_UTILS_H_
#include <string>
#include "content/public/browser/render_frame_host.h"
namespace dom_distiller {
void SetDistillerJavaScriptWorldId(const int32_t id);
bool DistillerJavaScriptWorldIdIsSet();
void RunIsolatedJavaScript(
content::RenderFrameHost* render_frame_host,
const std::string& buffer,
content::RenderFrameHost::JavaScriptResultCallback callback);
void RunIsolatedJavaScript(content::RenderFrameHost* render_frame_host,
const std::string& buffer);
}
#endif