summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/public/platform/modules/indexeddb/web_idb_observation.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/public/platform/modules/indexeddb/web_idb_observation.h')
-rw-r--r--chromium/third_party/blink/public/platform/modules/indexeddb/web_idb_observation.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/chromium/third_party/blink/public/platform/modules/indexeddb/web_idb_observation.h b/chromium/third_party/blink/public/platform/modules/indexeddb/web_idb_observation.h
deleted file mode 100644
index 3ba4de6e5dd..00000000000
--- a/chromium/third_party/blink/public/platform/modules/indexeddb/web_idb_observation.h
+++ /dev/null
@@ -1,43 +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.
-
-#ifndef THIRD_PARTY_BLINK_PUBLIC_PLATFORM_MODULES_INDEXEDDB_WEB_IDB_OBSERVATION_H_
-#define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_MODULES_INDEXEDDB_WEB_IDB_OBSERVATION_H_
-
-#include "third_party/blink/public/common/indexeddb/web_idb_types.h"
-#include "third_party/blink/public/mojom/indexeddb/indexeddb.mojom-shared.h"
-#include "third_party/blink/public/platform/modules/indexeddb/web_idb_key_range.h"
-#include "third_party/blink/public/platform/modules/indexeddb/web_idb_value.h"
-
-namespace blink {
-
-struct WebIDBObservation {
- int64_t object_store_id;
- mojom::IDBOperationType type;
- WebIDBKeyRange key_range;
- WebIDBValue value;
-
- WebIDBObservation(int64_t object_store_id,
- mojom::IDBOperationType type,
- WebIDBKeyRange key_range,
- WebIDBValue value)
- : object_store_id(object_store_id),
- type(type),
- key_range(key_range),
- value(std::move(value)) {}
-
- WebIDBObservation(WebIDBObservation&&) = default;
- WebIDBObservation& operator=(WebIDBObservation&&) = default;
-
- private:
- // WebIDBObservation has to be move-only, because WebIDBValue is move-only.
- // Making the restriction explicit results in slightly better compilation
- // error messages in code that attempts copying.
- WebIDBObservation(const WebIDBObservation&) = delete;
- WebIDBObservation& operator=(const WebIDBObservation&) = delete;
-};
-
-} // namespace blink
-
-#endif // THIRD_PARTY_BLINK_PUBLIC_PLATFORM_MODULES_INDEXEDDB_WEB_IDB_OBSERVATION_H_