Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Unified Diff: components/dom_distiller/content/renderer/distiller_native_javascript.cc

Issue 2768093004: Remove unused feedback class in dom distiller component (Closed)
Patch Set: address comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/dom_distiller/content/renderer/distiller_native_javascript.cc
diff --git a/components/dom_distiller/content/renderer/distiller_native_javascript.cc b/components/dom_distiller/content/renderer/distiller_native_javascript.cc
index 7e5f90620ca0662f64793f48bb600ea62d2b7b80..a8af2dccc20e0b156c312ddb0896afab12d87153 100644
--- a/components/dom_distiller/content/renderer/distiller_native_javascript.cc
+++ b/components/dom_distiller/content/renderer/distiller_native_javascript.cc
@@ -45,12 +45,6 @@ void DistillerNativeJavaScript::AddJavaScriptObjectToFrame(
// wrapper function for binding. Note that calling distiller_js_service.get()
// does not transfer ownership of the interface.
BindFunctionToObject(
- distiller_obj, "sendFeedback",
- base::Bind(
- &mojom::DistillerJavaScriptService::HandleDistillerFeedbackCall,
- base::Unretained(distiller_js_service_.get())));
-
- BindFunctionToObject(
distiller_obj, "closePanel",
base::Bind(
&mojom::DistillerJavaScriptService::HandleDistillerClosePanelCall,

Powered by Google App Engine
This is Rietveld 408576698