| 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 2e1fca1e56d579df94cdfe242ae856a81114331a..46d6b397026a2ff26d577d6dfe8bff40d8209322 100644
|
| --- a/content/browser/permissions/permission_service_context.h
|
| +++ b/content/browser/permissions/permission_service_context.h
|
| @@ -15,7 +15,6 @@
|
| class PermissionService;
|
| class PermissionServiceImpl;
|
| class RenderFrameHost;
|
| -class RenderProcessHost;
|
|
|
| // Provides information to a PermissionService. It is used by the
|
| // PermissionService to handle request permission UI.
|
| @@ -24,7 +23,6 @@
|
| class PermissionServiceContext : public WebContentsObserver {
|
| public:
|
| explicit PermissionServiceContext(RenderFrameHost* render_frame_host);
|
| - explicit PermissionServiceContext(RenderProcessHost* render_process_host);
|
| virtual ~PermissionServiceContext();
|
|
|
| void CreateService(mojo::InterfaceRequest<PermissionService> request);
|
| @@ -32,9 +30,6 @@
|
| // Called by a PermissionService identified as |service| when it has a
|
| // connection error in order to get unregistered and killed.
|
| void ServiceHadConnectionError(PermissionServiceImpl* service);
|
| -
|
| - BrowserContext* GetBrowserContext() const;
|
| - GURL GetEmbeddingOrigin() const;
|
|
|
| private:
|
| // WebContentsObserver
|
| @@ -46,7 +41,6 @@
|
| void CancelPendingRequests(RenderFrameHost*) const;
|
|
|
| RenderFrameHost* render_frame_host_;
|
| - RenderProcessHost* render_process_host_;
|
| ScopedVector<PermissionServiceImpl> services_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PermissionServiceContext);
|
|
|