| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef IDBObserverCallback_h | |
| 6 #define IDBObserverCallback_h | |
| 7 | |
| 8 #include "platform/heap/Handle.h" | |
| 9 | |
| 10 namespace blink { | |
| 11 | |
| 12 class ExecutionContext; | |
| 13 class IDBObserver; | |
| 14 class IDBObserverChanges; | |
| 15 | |
| 16 class IDBObserverCallback | |
| 17 : public GarbageCollectedFinalized<IDBObserverCallback> { | |
| 18 public: | |
| 19 virtual ~IDBObserverCallback() {} | |
| 20 virtual void handleChanges(IDBObserverChanges&, IDBObserver&) = 0; | |
| 21 virtual ExecutionContext* getExecutionContext() const = 0; | |
| 22 DEFINE_INLINE_VIRTUAL_TRACE() {} | |
| 23 }; | |
| 24 | |
| 25 } // namespace blink | |
| 26 | |
| 27 #endif // IDBObserverCallback_h | |
| OLD | NEW |