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

Unified Diff: content/browser/indexed_db/indexed_db_observation.cc

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: content/browser/indexed_db/indexed_db_observation.cc
diff --git a/content/browser/indexed_db/indexed_db_observation.cc b/content/browser/indexed_db/indexed_db_observation.cc
deleted file mode 100644
index 573329aa868b4dccdaace0b795b714414c4e194d..0000000000000000000000000000000000000000
--- a/content/browser/indexed_db/indexed_db_observation.cc
+++ /dev/null
@@ -1,33 +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.
-
-#include "content/browser/indexed_db/indexed_db_observation.h"
-
-namespace content {
-
-IndexedDBObservation::IndexedDBObservation(int32_t object_store_id,
- OperationType type)
- : object_store_id_(object_store_id), type_(type) {}
-
-IndexedDBObservation::IndexedDBObservation(int32_t object_store_id,
- OperationType type,
- IndexedDBKeyRange key_range)
- : object_store_id_(object_store_id), type_(type), key_range_(key_range) {
- DCHECK_NE(type_, blink::WebIDBClear);
-}
-
-IndexedDBObservation::IndexedDBObservation(int32_t object_store_id,
- OperationType type,
- IndexedDBKeyRange key_range,
- IndexedDBValue value)
- : object_store_id_(object_store_id),
- type_(type),
- key_range_(key_range),
- value_(value) {
- DCHECK(type_ == blink::WebIDBAdd || type_ == blink::WebIDBPut);
-}
-
-IndexedDBObservation::~IndexedDBObservation() {}
-
-} // namespace content
« no previous file with comments | « content/browser/indexed_db/indexed_db_observation.h ('k') | content/browser/indexed_db/indexed_db_observer_changes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698