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

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/IDBObserverChangesRecord.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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.+ 3 // found in the LICENSE file.+
4 4
5 #ifndef IDBObserverChangesRecord_h 5 #ifndef IDBObserverChangesRecord_h
6 #define IDBObserverChangesRecord_h 6 #define IDBObserverChangesRecord_h
7 7
8 #include "bindings/core/v8/ScriptValue.h" 8 #include "bindings/core/v8/ScriptValue.h"
9 #include "bindings/core/v8/ScriptWrappable.h" 9 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
11 #include "public/platform/modules/indexeddb/WebIDBTypes.h" 11 #include "public/platform/modules/indexeddb/WebIDBTypes.h"
12 #include "wtf/PassRefPtr.h" 12 #include "wtf/PassRefPtr.h"
13 #include "wtf/RefPtr.h"
13 14
14 namespace blink { 15 namespace blink {
15 16
16 class IDBKey; 17 class IDBKey;
17 class IDBValue; 18 class IDBValue;
18 class ScriptState; 19 class ScriptState;
19 20
20 class IDBObserverChangesRecord final : public GarbageCollectedFinalized<IDBObser verChangesRecord>, public ScriptWrappable { 21 class IDBObserverChangesRecord final : public GarbageCollectedFinalized<IDBObser verChangesRecord>, public ScriptWrappable {
21 DEFINE_WRAPPERTYPEINFO(); 22 DEFINE_WRAPPERTYPEINFO();
22 23
(...skipping 12 matching lines...) Expand all
35 private: 36 private:
36 IDBObserverChangesRecord(IDBKey*, PassRefPtr<IDBValue>, WebIDBOperationType) ; 37 IDBObserverChangesRecord(IDBKey*, PassRefPtr<IDBValue>, WebIDBOperationType) ;
37 Member<IDBKey> m_key; 38 Member<IDBKey> m_key;
38 RefPtr<IDBValue> m_value; 39 RefPtr<IDBValue> m_value;
39 const WebIDBOperationType m_operationType; 40 const WebIDBOperationType m_operationType;
40 }; 41 };
41 42
42 } // namespace blink 43 } // namespace blink
43 44
44 #endif // IDBObserverChangesRecord_h 45 #endif // IDBObserverChangesRecord_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698