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

Unified Diff: third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h

Issue 2062203004: IDBObserver: Lifetime Management: Adding Observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Observer addition and removal Created 4 years, 6 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: third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLContextEvent.idl b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
similarity index 85%
copy from third_party/WebKit/Source/modules/webgl/WebGLContextEvent.idl
copy to third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
index 484b8bcbc8cc164db18fcc791f782fd8e9fb1fe7..4318e7f1b06d2c17dbc9d86d4104fffe3a3d1411 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLContextEvent.idl
+++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
@@ -23,11 +23,17 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// https://www.khronos.org/registry/webgl/specs/1.0/#5.15
+#ifndef WebIDBObserver_h
+#define WebIDBObserver_h
-[
- Constructor(DOMString type, optional WebGLContextEventInit eventInit),
-] interface WebGLContextEvent : Event {
- readonly attribute DOMString statusMessage;
+namespace blink {
+
+class WebIDBObserver {
+public:
+ virtual ~WebIDBObserver() {}
+ virtual void removeObserver(int32_t id) = 0;
};
+} // namespace blink
+
+#endif // WebIDBObserver_h

Powered by Google App Engine
This is Rietveld 408576698