| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_ITERATOR_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_ITERATOR_IMPL_H_ |
| 6 #define CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_ITERATOR_IMPL_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_ITERATOR_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "content/browser/indexed_db/leveldb/leveldb_iterator.h" | 10 #include "content/browser/indexed_db/leveldb/leveldb_iterator.h" |
| 10 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
| 11 #include "third_party/leveldatabase/src/include/leveldb/iterator.h" | 12 #include "third_party/leveldatabase/src/include/leveldb/iterator.h" |
| 12 | 13 |
| 13 namespace content { | 14 namespace content { |
| 14 | 15 |
| 15 class CONTENT_EXPORT LevelDBIteratorImpl : public content::LevelDBIterator { | 16 class CONTENT_EXPORT LevelDBIteratorImpl : public content::LevelDBIterator { |
| 16 public: | 17 public: |
| 17 ~LevelDBIteratorImpl() override; | 18 ~LevelDBIteratorImpl() override; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 33 friend class MockBrowserTestIndexedDBClassFactory; | 34 friend class MockBrowserTestIndexedDBClassFactory; |
| 34 | 35 |
| 35 scoped_ptr<leveldb::Iterator> iterator_; | 36 scoped_ptr<leveldb::Iterator> iterator_; |
| 36 | 37 |
| 37 DISALLOW_COPY_AND_ASSIGN(LevelDBIteratorImpl); | 38 DISALLOW_COPY_AND_ASSIGN(LevelDBIteratorImpl); |
| 38 }; | 39 }; |
| 39 | 40 |
| 40 } // namespace content | 41 } // namespace content |
| 41 | 42 |
| 42 #endif // CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_ITERATOR_IMPL_H_ | 43 #endif // CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_ITERATOR_IMPL_H_ |
| OLD | NEW |