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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBObservation.h

Issue 2160163002: [IndexedDB] Propogating Changes to Observer : Browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Expected tests updated Created 4 years, 5 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/Source/modules/indexeddb/IDBObservation.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBObserverChangesRecord.h b/third_party/WebKit/Source/modules/indexeddb/IDBObservation.h
similarity index 65%
rename from third_party/WebKit/Source/modules/indexeddb/IDBObserverChangesRecord.h
rename to third_party/WebKit/Source/modules/indexeddb/IDBObservation.h
index 329815214565f2b068f8d36072d8dffa0e6423f8..d94ee7c12ac87a107fe2243ff7f1c3a83c237c8d 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBObserverChangesRecord.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBObservation.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.+
-#ifndef IDBObserverChangesRecord_h
-#define IDBObserverChangesRecord_h
+#ifndef IDBObservation_h
+#define IDBObservation_h
#include "bindings/core/v8/ScriptValue.h"
#include "bindings/core/v8/ScriptWrappable.h"
@@ -17,13 +17,13 @@ class IDBKey;
class IDBValue;
class ScriptState;
-class IDBObserverChangesRecord final : public GarbageCollectedFinalized<IDBObserverChangesRecord>, public ScriptWrappable {
+class IDBObservation final : public GarbageCollectedFinalized<IDBObservation>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
static WebIDBOperationType stringToOperationType(const String&);
- static IDBObserverChangesRecord* create(IDBKey*, PassRefPtr<IDBValue>, WebIDBOperationType);
- ~IDBObserverChangesRecord();
+ static IDBObservation* create(IDBKey*, PassRefPtr<IDBValue>, WebIDBOperationType);
+ ~IDBObservation();
DECLARE_TRACE();
@@ -33,7 +33,7 @@ public:
const String& type() const;
private:
- IDBObserverChangesRecord(IDBKey*, PassRefPtr<IDBValue>, WebIDBOperationType);
+ IDBObservation(IDBKey*, PassRefPtr<IDBValue>, WebIDBOperationType);
Member<IDBKey> m_key;
RefPtr<IDBValue> m_value;
const WebIDBOperationType m_operationType;
@@ -41,4 +41,4 @@ private:
} // namespace blink
-#endif // IDBObserverChangesRecord_h
+#endif // IDBObservation_h

Powered by Google App Engine
This is Rietveld 408576698