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 observer_id); | |
| 19 ~IndexedDBObserver(); | |
| 20 | |
| 21 int32_t id() const { return observer_id_; } | |
| 22 | |
| 23 private: | |
| 24 DISALLOW_COPY_AND_ASSIGN(IndexedDBObserver); | |
|
dmurph
2016/07/06 18:25:10
nit: we usually put these statements at the end of
palakj1
2016/07/06 18:58:44
Oops! changing this with the next patch.
| |
| 25 int32_t observer_id_; | |
| 26 }; | |
| 27 | |
| 28 } // namespace content | |
| 29 | |
| 30 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_ | |
| OLD | NEW |