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

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 (c) 2013 The Chromium Authors. All rights reserved.
Marijn Kruisselbrink 2016/06/24 00:48:09 This and many of the other new files should all al
palakj1 2016/06/27 20:19:23 Done.
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 <stdint.h>
9
10 #include "base/macros.h"
11 #include "content/browser/indexed_db/indexed_db_database.h"
12
13 namespace content {
14
15 class CONTENT_EXPORT IndexedDBObserver {
16 public:
17 IndexedDBObserver(int64_t);
18 ~IndexedDBObserver();
19
20 // TODO(palakj): Add other fields.
21 int32_t id() { return observer_id_; }
Marijn Kruisselbrink 2016/06/24 00:48:09 Shouldn't this return int64_t?
palakj1 2016/06/27 20:19:22 Oops! the id is 32 bit.
22
23 private:
24 DISALLOW_COPY_AND_ASSIGN(IndexedDBObserver);
25 int64_t observer_id_;
26 };
27
28 } // namespace content
29
30 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698