| Index: content/browser/indexed_db/leveldb/leveldb_comparator.h
|
| diff --git a/content/browser/indexed_db/leveldb/leveldb_comparator.h b/content/browser/indexed_db/leveldb/leveldb_comparator.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..52be213462e4d4cba0733a07a4d515adbc069d9b
|
| --- /dev/null
|
| +++ b/content/browser/indexed_db/leveldb/leveldb_comparator.h
|
| @@ -0,0 +1,24 @@
|
| +// Copyright (c) 2013 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_LEVELDB_LEVELDB_COMPARATOR_H_
|
| +#define CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_COMPARATOR_H_
|
| +
|
| +#include "base/string16.h"
|
| +
|
| +namespace content {
|
| +
|
| +class LevelDBSlice;
|
| +
|
| +class LevelDBComparator {
|
| + public:
|
| + virtual ~LevelDBComparator() {}
|
| +
|
| + virtual int Compare(const LevelDBSlice&, const LevelDBSlice&) const = 0;
|
| + virtual const char* Name() const = 0;
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_COMPARATOR_H_
|
|
|