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

Unified Diff: third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h

Issue 2062203004: IDBObserver: Lifetime Management: Adding Observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Post dmurph review 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698