Chromium Code Reviews| Index: third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h |
| diff --git a/third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackState.h b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h |
| similarity index 52% |
| copy from third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackState.h |
| copy to third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h |
| index 39d6d2522bb0955c31c18da757673ec94a00f6d6..72f082cb6a9d4f58439e85ea685698bfc14383e4 100644 |
| --- a/third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackState.h |
| +++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h |
| @@ -2,16 +2,17 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef WebRemotePlaybackState_h |
| -#define WebRemotePlaybackState_h |
| +#ifndef WebIDBObserver_h |
| +#define WebIDBObserver_h |
| namespace blink { |
| -enum class WebRemotePlaybackState { |
| - Connected = 0, |
| - Disconnected, |
| +class WebIDBObserver { |
| +public: |
| + virtual ~WebIDBObserver() {} |
| + virtual void removeObserver(int32_t id) = 0; |
|
Marijn Kruisselbrink
2016/06/28 18:58:31
I'm a bit confused about this API. First of all yo
palakj1
2016/06/29 23:02:41
Not really sure about this. We hold reference to W
|
| }; |
| } // namespace blink |
| -#endif // WebRemotePlaybackState_h |
| +#endif // WebIDBObserver_h |