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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WebIDBObserver_h
6 #define WebIDBObserver_h
7
8 #include "public/platform/WebPrivatePtr.h"
9
10 namespace blink {
11
12 class IDBObserver;
13
14 class WebIDBObserver {
15 public:
16 BLINK_EXPORT virtual ~WebIDBObserver();
17 WebIDBObserver() {}
18
19 #if INSIDE_BLINK
20 WebIDBObserver(IDBObserver*);
21 #endif
22
23 private:
24 WebPrivatePtr<IDBObserver, WebPrivatePtrDestructionCrossThread> m_observer;
25 };
26
27 } // namespace blink
28
29 #endif // WebIDBObserver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698