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

Side by Side 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, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebRemotePlaybackState_h 5 #ifndef WebIDBObserver_h
6 #define WebRemotePlaybackState_h 6 #define WebIDBObserver_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 enum class WebRemotePlaybackState { 10 class WebIDBObserver {
11 Connected = 0, 11 public:
12 Disconnected, 12 virtual ~WebIDBObserver() {}
13 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
13 }; 14 };
14 15
15 } // namespace blink 16 } // namespace blink
16 17
17 #endif // WebRemotePlaybackState_h 18 #endif // WebIDBObserver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698