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

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 moved to connection 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/core/dom/DataView.idl b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
similarity index 86%
copy from third_party/WebKit/Source/core/dom/DataView.idl
copy to third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
index 876a0a86493d2a82fba3adb003318558b6234e2c..f95c2fc53053772703aeff2fbd7ca960f1f659ad 100644
--- a/third_party/WebKit/Source/core/dom/DataView.idl
+++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
@@ -23,9 +23,19 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// https://www.khronos.org/registry/typedarray/specs/latest/#DATAVIEW
+#ifndef WebIDBObserver_h
+#define WebIDBObserver_h
-[
- ImplementedAs=DOMDataView,
-] interface DataView : ArrayBufferView {
+namespace blink {
+
+class WebIDBObserver {
+public:
+ virtual ~WebIDBObserver() {}
+
+protected:
+ WebIDBObserver() {}
};
+
+} // namespace blink
+
+#endif // WebIDBObserver_h

Powered by Google App Engine
This is Rietveld 408576698