Chromium Code Reviews| Index: content/browser/permissions/permission_service_impl.h |
| diff --git a/content/browser/permissions/permission_service_impl.h b/content/browser/permissions/permission_service_impl.h |
| index d93d86ddd9d81be1df4cd900eb5513ad64734bf4..a6d120cd8be515c6dad0afbab3c6510ee53d2a51 100644 |
| --- a/content/browser/permissions/permission_service_impl.h |
| +++ b/content/browser/permissions/permission_service_impl.h |
| @@ -11,7 +11,6 @@ |
| #include "content/browser/permissions/permission_service_context.h" |
| #include "content/common/permission_service.mojom.h" |
| #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" |
| -#include "third_party/mojo/src/mojo/public/cpp/bindings/error_handler.h" |
| namespace content { |
| @@ -24,8 +23,7 @@ enum class PermissionType; |
| // to have some information about the current context. That enables the service |
| // to know whether it can show UI and have knowledge of the associated |
| // WebContents for example. |
| -class PermissionServiceImpl : public PermissionService, |
| - public mojo::ErrorHandler { |
| +class PermissionServiceImpl : public PermissionService { |
| public: |
| ~PermissionServiceImpl() override; |
| @@ -84,8 +82,7 @@ class PermissionServiceImpl : public PermissionService, |
| PermissionStatus last_known_status, |
| const PermissionStatusCallback& callback) override; |
| - // mojo::ErrorHandler |
| - void OnConnectionError() override; |
|
yzshen1
2015/07/29 00:01:02
I wonder who does set_error_handler() using this c
|
| + void OnConnectionError(); |
| void OnRequestPermissionResponse(int request_id, PermissionStatus status); |