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..477e67ca096dbb128d8138b023aaf3570beeba72 |
| --- /dev/null |
| +++ b/content/browser/indexed_db/indexed_db_observer.h |
| @@ -0,0 +1,30 @@ |
| +// 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 observer_id); |
| + ~IndexedDBObserver(); |
| + |
| + int32_t id() const { return observer_id_; } |
| + |
| + private: |
| + 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.
|
| + int32_t observer_id_; |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_ |