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

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

Issue 1771743002: Move geolocation and permission mojoms into WebKit/public/platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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_context.h
diff --git a/content/browser/permissions/permission_service_context.h b/content/browser/permissions/permission_service_context.h
index 4bc1fa6018e22b1c7936f81cc340a6be94eb6bb2..3db134edd82e23e97d979e288fbe904bcb8b600a 100644
--- a/content/browser/permissions/permission_service_context.h
+++ b/content/browser/permissions/permission_service_context.h
@@ -10,20 +10,22 @@
#include "content/public/browser/web_contents_observer.h"
#include "mojo/public/cpp/bindings/interface_request.h"
-namespace content {
-
+namespace blink {
namespace mojom {
class PermissionService;
}
+}
+
+namespace content {
class PermissionServiceImpl;
class RenderFrameHost;
class RenderProcessHost;
// Provides information to a PermissionService. It is used by the
-// mojom::PermissionService to handle request permission UI.
+// PermissionServiceImpl to handle request permission UI.
// There is one PermissionServiceContext per RenderFrameHost/RenderProcessHost
-// which owns it. It then owns all mojom::PermissionService associated to their
+// which owns it. It then owns all PermissionServiceImpl associated to their
// owner.
class PermissionServiceContext : public WebContentsObserver {
public:
@@ -31,9 +33,10 @@ class PermissionServiceContext : public WebContentsObserver {
explicit PermissionServiceContext(RenderProcessHost* render_process_host);
~PermissionServiceContext() override;
- void CreateService(mojo::InterfaceRequest<mojom::PermissionService> request);
+ void CreateService(
+ mojo::InterfaceRequest<blink::mojom::PermissionService> request);
- // Called by a mojom::PermissionService identified as |service| when it has a
+ // Called by a PermissionServiceImpl identified as |service| when it has a
// connection error in order to get unregistered and killed.
void ServiceHadConnectionError(PermissionServiceImpl* service);
« no previous file with comments | « content/browser/media/cdm/browser_cdm_manager.cc ('k') | content/browser/permissions/permission_service_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698