| 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 49ecd22237daebcd30d20c29348ec2aa0a35a575..c13c03a76f2461bd0eecff776bd800ab1ba52a55 100644
|
| --- a/components/web_restrictions/browser/web_restrictions_mojo_implementation.h
|
| +++ b/components/web_restrictions/browser/web_restrictions_mojo_implementation.h
|
| @@ -9,7 +9,6 @@
|
|
|
| #include "base/macros.h"
|
| #include "components/web_restrictions/interfaces/web_restrictions.mojom.h"
|
| -#include "mojo/public/cpp/bindings/strong_binding.h"
|
|
|
| namespace web_restrictions {
|
|
|
| @@ -17,21 +16,18 @@ class WebRestrictionsClient;
|
|
|
| class WebRestrictionsMojoImplementation : public mojom::WebRestrictions {
|
| public:
|
| + explicit WebRestrictionsMojoImplementation(WebRestrictionsClient* client);
|
| + ~WebRestrictionsMojoImplementation() override;
|
| +
|
| static void Create(WebRestrictionsClient* client,
|
| mojo::InterfaceRequest<mojom::WebRestrictions> request);
|
|
|
| private:
|
| - WebRestrictionsMojoImplementation(
|
| - WebRestrictionsClient* client,
|
| - mojo::InterfaceRequest<mojom::WebRestrictions> request);
|
| - ~WebRestrictionsMojoImplementation() override;
|
| -
|
| void GetResult(const std::string& url,
|
| const GetResultCallback& callback) override;
|
| void RequestPermission(const std::string& url,
|
| const RequestPermissionCallback& callback) override;
|
|
|
| - mojo::StrongBinding<mojom::WebRestrictions> binding_;
|
| WebRestrictionsClient* web_restrictions_client_;
|
| };
|
|
|
|
|