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