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

Side by Side Diff: content/browser/indexed_db/indexed_db_observer.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 CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_
7
8 #include <stddef.h>
9 #include <stdint.h>
10
11 #include "base/macros.h"
12 #include "content/common/content_export.h"
13
14 namespace content {
15
16 class CONTENT_EXPORT IndexedDBObserver {
17 public:
18 IndexedDBObserver(int32_t);
19 ~IndexedDBObserver();
20
21 // TODO(palakj): Add other fields.
cmumford 2016/06/28 20:26:23 What other fields do you intend to add?
palakj1 2016/06/29 23:02:40 None, for this cl. I'll remove the todo for now.
cmumford 2016/07/01 18:35:00 I was less concerned with the TODO comment, just t
22 int32_t id() { return observer_id_; }
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(IndexedDBObserver);
26 int32_t observer_id_;
27 };
28
29 } // namespace content
30
31 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698