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

Unified Diff: components/web_restrictions/browser/web_restrictions_mojo_implementation.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/web_restrictions/browser/web_restrictions_mojo_implementation.h
diff --git a/components/web_restrictions/browser/web_restrictions_mojo_implementation.h b/components/web_restrictions/browser/web_restrictions_mojo_implementation.h
index c13c03a76f2461bd0eecff776bd800ab1ba52a55..ed71cc24e5caef5f8e58be7163b7fbed3ca0201a 100644
--- a/components/web_restrictions/browser/web_restrictions_mojo_implementation.h
+++ b/components/web_restrictions/browser/web_restrictions_mojo_implementation.h
@@ -10,6 +10,10 @@
#include "base/macros.h"
#include "components/web_restrictions/interfaces/web_restrictions.mojom.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace web_restrictions {
class WebRestrictionsClient;
@@ -20,7 +24,8 @@ class WebRestrictionsMojoImplementation : public mojom::WebRestrictions {
~WebRestrictionsMojoImplementation() override;
static void Create(WebRestrictionsClient* client,
- mojo::InterfaceRequest<mojom::WebRestrictions> request);
+ const service_manager::BindSourceInfo& source_info,
+ mojom::WebRestrictionsRequest request);
private:
void GetResult(const std::string& url,

Powered by Google App Engine
This is Rietveld 408576698