Index: components/dom_distiller/content/renderer/distiller_native_javascript.h |
diff --git a/components/dom_distiller/content/renderer/distiller_native_javascript.h b/components/dom_distiller/content/renderer/distiller_native_javascript.h |
index 180ef9fcb08e26ed93db4792e169d890ea0a758c..694198c3f2c39da4816c618eb515ce2df01f34ac 100644 |
--- a/components/dom_distiller/content/renderer/distiller_native_javascript.h |
+++ b/components/dom_distiller/content/renderer/distiller_native_javascript.h |
@@ -25,10 +25,16 @@ class DistillerNativeJavaScript { |
void AddJavaScriptObjectToFrame(v8::Local<v8::Context> context); |
private: |
+ // Make sure the mojo service is connected. |
+ void ensureServiceConnected(); |
nyquist
2015/09/10 19:04:13
EnsureServiceConnected
mdjones
2015/09/11 16:50:13
Done.
|
+ |
// Native code for "distiller.echo" in JavaScript. This simply returns the |
// provided string. |
std::string DistillerEcho(const std::string& message); |
+ // Send feedback about distillation quality. |
+ void DistillerSendFeedback(bool good); |
+ |
content::RenderFrame* render_frame_; |
DistillerJavaScriptServicePtr distiller_js_service_; |
}; |