Chromium Code Reviews| Index: content/browser/indexed_db/indexed_db_observer.h |
| diff --git a/content/browser/indexed_db/indexed_db_observer.h b/content/browser/indexed_db/indexed_db_observer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5d77e9bb15a54282e5feb23fed66bc50b95db636 |
| --- /dev/null |
| +++ b/content/browser/indexed_db/indexed_db_observer.h |
| @@ -0,0 +1,30 @@ |
| +// 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.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_ |
| +#define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_ |
| + |
| +#include <stdint.h> |
| + |
| +#include "base/macros.h" |
| +#include "content/browser/indexed_db/indexed_db_database.h" |
| + |
| +namespace content { |
| + |
| +class CONTENT_EXPORT IndexedDBObserver { |
| + public: |
| + IndexedDBObserver(int64_t); |
| + ~IndexedDBObserver(); |
| + |
| + // TODO(palakj): Add other fields. |
| + 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.
|
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(IndexedDBObserver); |
| + int64_t observer_id_; |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_ |