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..0a727cd7301c9f8721acc8254d64c7b7b0ac3338 |
| --- /dev/null |
| +++ b/content/browser/indexed_db/indexed_db_observer.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// 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 <stddef.h> |
| +#include <stdint.h> |
| + |
| +#include "base/macros.h" |
| +#include "content/common/content_export.h" |
| + |
| +namespace content { |
| + |
| +class CONTENT_EXPORT IndexedDBObserver { |
| + public: |
| + IndexedDBObserver(int32_t); |
| + ~IndexedDBObserver(); |
| + |
| + // 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
|
| + int32_t id() { return observer_id_; } |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(IndexedDBObserver); |
| + int32_t observer_id_; |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_ |