| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2013 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 <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_; } |
| 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 |