Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1780)

Unified Diff: components/leveldb/util.h

Issue 1861903002: mojo leveldb: Add an iteration interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/leveldb/remote_iterator_unittest.cc ('k') | components/leveldb/util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/leveldb/util.h
diff --git a/components/leveldb/util.h b/components/leveldb/util.h
deleted file mode 100644
index cf7a1296bb67567f97941763bdf19b8ea6c6fde3..0000000000000000000000000000000000000000
--- a/components/leveldb/util.h
+++ /dev/null
@@ -1,24 +0,0 @@
-// 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 COMPONENTS_LEVELDB_UTIL_H_
-#define COMPONENTS_LEVELDB_UTIL_H_
-
-#include "components/leveldb/public/interfaces/leveldb.mojom.h"
-
-namespace leveldb {
-
-class Slice;
-class Status;
-
-DatabaseError LeveldbStatusToError(const leveldb::Status& s);
-
-// Builds a Slice pointing to the data inside |a|. This is not a type-converter
-// as it is not a copy operation; the returned Slice points into |a| and must
-// outlive |a|.
-leveldb::Slice GetSliceFor(const mojo::Array<uint8_t>& a);
-
-} // namespace leveldb
-
-#endif // COMPONENTS_LEVELDB_UTIL_H_
« no previous file with comments | « components/leveldb/remote_iterator_unittest.cc ('k') | components/leveldb/util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698