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..3b683409adc9557b18b336793c94f800d4ee5bbd |
| --- /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); |
|
cmumford
2016/07/01 18:35:01
Add parameter name.
palakj1
2016/07/02 00:48:14
Done.
|
| + ~IndexedDBObserver(); |
| + |
| + int32_t id() { return observer_id_; } |
|
cmumford
2016/07/01 18:35:01
make method const.
palakj1
2016/07/02 00:48:14
Done.
|
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(IndexedDBObserver); |
| + int32_t observer_id_; |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_ |