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

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

Issue 2511403003: Send IndexedDB observations through IDBDatabaseCallbacks. (Closed)
Patch Set: Remove unnecessary forward declaration. Created 4 years, 1 month 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/public/platform/modules/indexeddb/WebIDBObserver.h b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
deleted file mode 100644
index 811a149be6401884483ca235095d650f3430c10e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// This class makes the blink::IDBObserver visible to the content layer by
-// holding a reference to it.
-
-#ifndef WebIDBObserver_h
-#define WebIDBObserver_h
-
-#include "public/platform/WebVector.h"
-#include "public/platform/modules/indexeddb/WebIDBTypes.h"
-#include <bitset>
-
-namespace blink {
-
-struct WebIDBObservation;
-
-class WebIDBObserver {
- public:
- virtual ~WebIDBObserver() {}
-
- virtual bool transaction() const = 0;
- virtual bool noRecords() const = 0;
- virtual bool values() const = 0;
- virtual const std::bitset<WebIDBOperationTypeCount>& operationTypes()
- const = 0;
- virtual void onChange(const WebVector<WebIDBObservation>&,
- const WebVector<int32_t>& observationIndex) = 0;
-};
-
-} // namespace blink
-
-#endif // WebIDBObserver_h

Powered by Google App Engine
This is Rietveld 408576698