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

Unified Diff: content/browser/permissions/permission_service_impl.h

Issue 1262613005: Remove interface_impl.h and error_handler.h usage from chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 5 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: 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;
+ void OnConnectionError();
void OnRequestPermissionResponse(int request_id, PermissionStatus status);
« no previous file with comments | « content/browser/geolocation/geolocation_service_impl.cc ('k') | content/browser/permissions/permission_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698