Chromium Code Reviews| Index: third_party/WebKit/Source/modules/nfc/MessageCallback.h |
| diff --git a/third_party/WebKit/Source/modules/nfc/MessageCallback.h b/third_party/WebKit/Source/modules/nfc/MessageCallback.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..189ba89e8e78eb7c955f693630ad0b60cd1616a5 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/modules/nfc/MessageCallback.h |
| @@ -0,0 +1,23 @@ |
| +// Copyright 2015 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. |
| + |
| +#ifndef MessageCallback_h |
| +#define MessageCallback_h |
| + |
| +#include "platform/heap/Handle.h" |
| + |
| +namespace blink { |
| + |
| +class NFCMessage; |
| + |
| +class MessageCallback : public GarbageCollectedFinalized<MessageCallback> { |
|
kenneth.r.christiansen
2015/11/18 16:37:08
You need to cc one of the Oilpan reviewers to revi
shalamov
2015/11/19 08:26:08
Acknowledged.
|
| +public: |
| + virtual ~MessageCallback() { } |
| + DEFINE_INLINE_VIRTUAL_TRACE() { } |
| + virtual void handleMessage(NFCMessage) = 0; |
|
kenneth.r.christiansen
2015/11/18 16:37:08
why not const &?
shalamov
2015/11/19 08:26:08
I have to fix IDL generator first, https://crrev.c
shalamov
2015/11/19 12:59:06
Done.
|
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // MessageCallback_h |