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

Unified Diff: components/dom_distiller/content/browser/distillability_driver.cc

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 years, 8 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/browser/distillability_driver.cc
diff --git a/components/dom_distiller/content/browser/distillability_driver.cc b/components/dom_distiller/content/browser/distillability_driver.cc
index e17fe9d10ba09de1de48c2d78fa6778c54199a5c..88d4ccf21f6890e2b8dac69e9b06c1f2e2acc4e4 100644
--- a/components/dom_distiller/content/browser/distillability_driver.cc
+++ b/components/dom_distiller/content/browser/distillability_driver.cc
@@ -54,7 +54,8 @@ DistillabilityDriver::~DistillabilityDriver() {
}
void DistillabilityDriver::CreateDistillabilityService(
- mojo::InterfaceRequest<mojom::DistillabilityService> request) {
+ const service_manager::BindSourceInfo& source_info,
+ mojom::DistillabilityServiceRequest request) {
mojo::MakeStrongBinding(
base::MakeUnique<DistillabilityServiceImpl>(weak_factory_.GetWeakPtr()),
std::move(request));

Powered by Google App Engine
This is Rietveld 408576698