Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |