| Index: content/public/browser/gpu_data_manager.h
|
| diff --git a/content/public/browser/gpu_data_manager.h b/content/public/browser/gpu_data_manager.h
|
| index 8bcea35b0533dd707566da30ee0e1f9e2ba66d40..e57d15288d85d83591a3b7256caca1f626c5d7a8 100644
|
| --- a/content/public/browser/gpu_data_manager.h
|
| +++ b/content/public/browser/gpu_data_manager.h
|
| @@ -12,6 +12,7 @@
|
| #include "content/public/common/gpu_switching_option.h"
|
|
|
| class FilePath;
|
| +class GURL;
|
|
|
| namespace base {
|
| class ListValue;
|
| @@ -84,6 +85,12 @@ class GpuDataManager {
|
| virtual void SetWindowCount(uint32 count) = 0;
|
| virtual uint32 GetWindowCount() const = 0;
|
|
|
| + // Allows a given domain previously blocked from accessing 3D APIs
|
| + // to access them again.
|
| + virtual void UnblockDomainFrom3DAPIs(const GURL& url) = 0;
|
| + // Disables domain blocking for 3D APIs. For use only in tests.
|
| + virtual void DisableDomainBlockingFor3DAPIsForTesting() = 0;
|
| +
|
| protected:
|
| virtual ~GpuDataManager() {}
|
| };
|
|
|