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

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

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.h
diff --git a/components/dom_distiller/content/browser/distillability_driver.h b/components/dom_distiller/content/browser/distillability_driver.h
index 68d98ea09e2869050db652f0aa4caf9c6083c19b..bf2f0477e0745c232a8f92c4ded78803430ee4e8 100644
--- a/components/dom_distiller/content/browser/distillability_driver.h
+++ b/components/dom_distiller/content/browser/distillability_driver.h
@@ -11,6 +11,7 @@
#include "content/public/browser/web_contents_observer.h"
#include "content/public/browser/web_contents_user_data.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
+#include "services/service_manager/public/cpp/bind_source_info.h"
namespace dom_distiller {
@@ -21,7 +22,8 @@ class DistillabilityDriver
public:
~DistillabilityDriver() override;
void CreateDistillabilityService(
- mojo::InterfaceRequest<mojom::DistillabilityService> request);
+ const service_manager::BindSourceInfo& source_info,
+ mojom::DistillabilityServiceRequest request);
void SetDelegate(const base::Callback<void(bool, bool)>& delegate);

Powered by Google App Engine
This is Rietveld 408576698