OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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 MessageCallback_h |
| 6 #define MessageCallback_h |
| 7 |
| 8 #include "platform/heap/Handle.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 class NFCMessage; |
| 13 |
| 14 class MessageCallback : public GarbageCollectedFinalized<MessageCallback> { |
| 15 public: |
| 16 virtual ~MessageCallback() { } |
| 17 DEFINE_INLINE_VIRTUAL_TRACE() { } |
| 18 virtual void handleMessage(const NFCMessage&) = 0; |
| 19 }; |
| 20 |
| 21 } // namespace blink |
| 22 |
| 23 #endif // MessageCallback_h |
OLD | NEW |