Index: public/platform/WebContentDecryptionModule.h |
diff --git a/public/webview/WebDOMResourceProgressEvent.h b/public/platform/WebContentDecryptionModule.h |
similarity index 77% |
copy from public/webview/WebDOMResourceProgressEvent.h |
copy to public/platform/WebContentDecryptionModule.h |
index b65d93c80e006d6e99c837e840eb38cb3a71055d..fa15979e6d418659f1fccb9d06760c83f6a29926 100644 |
--- a/public/webview/WebDOMResourceProgressEvent.h |
+++ b/public/platform/WebContentDecryptionModule.h |
@@ -28,21 +28,23 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef WebDOMResourceProgressEvent_h |
-#define WebDOMResourceProgressEvent_h |
+#ifndef WebContentDecryptionModule_h |
+#define WebContentDecryptionModule_h |
-#include "WebDOMProgressEvent.h" |
+#include "public/platform/WebContentDecryptionModuleSession.h" |
namespace WebKit { |
-class WebString; |
+// Abstract interface to the Chromium content decryption modules. |
abarth-chromium
2013/06/12 23:03:51
This comment doesn't really add any value.
ddorwin
2013/06/12 23:55:54
Done.
|
-class WebDOMResourceProgressEvent : public WebDOMProgressEvent { |
+class WebContentDecryptionModule { |
public: |
- WebDOMResourceProgressEvent() { } |
- WEBKIT_EXPORT WebDOMResourceProgressEvent(const WebString& type, bool lengthIsComputable, unsigned long long loaded, unsigned long long total, const WebString& url); |
+ virtual ~WebContentDecryptionModule() { } |
+ |
+ // Must return non-null. |
+ virtual WebContentDecryptionModuleSession* createSession(WebContentDecryptionModuleSession::Client*) = 0; |
}; |
} // namespace WebKit |
-#endif |
+#endif // WebContentDecryptionModule_h |