| Index: content/public/test/mock_resource_context.h
|
| diff --git a/content/public/test/mock_resource_context.h b/content/public/test/mock_resource_context.h
|
| index 8f1791a5f8bb9b7b2e0746409ce1ff47280590ef..e42f5c62b1911fa03b2af6b5eadf814f9949d3f9 100644
|
| --- a/content/public/test/mock_resource_context.h
|
| +++ b/content/public/test/mock_resource_context.h
|
| @@ -28,25 +28,10 @@ class MockResourceContext : public ResourceContext {
|
| // ResourceContext implementation:
|
| virtual net::HostResolver* GetHostResolver() OVERRIDE;
|
| virtual net::URLRequestContext* GetRequestContext() OVERRIDE;
|
| - virtual bool AllowMicAccess(const GURL& origin) OVERRIDE;
|
| - virtual bool AllowCameraAccess(const GURL& origin) OVERRIDE;
|
| -
|
| - //////////////////////////////////////////////////////////////////////////
|
| - // The following functions are used by tests.
|
| - void set_mic_access(bool mic_allowed) {
|
| - mic_allowed_ = mic_allowed;
|
| - }
|
| -
|
| - void set_camera_access(bool camera_allowed) {
|
| - camera_allowed_ = camera_allowed;
|
| - }
|
|
|
| private:
|
| net::URLRequestContext* test_request_context_;
|
|
|
| - bool mic_allowed_;
|
| - bool camera_allowed_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(MockResourceContext);
|
| };
|
|
|
|
|