diff options
Diffstat (limited to 'chromium/components/leveldb/public/cpp/util.h')
-rw-r--r-- | chromium/components/leveldb/public/cpp/util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/components/leveldb/public/cpp/util.h b/chromium/components/leveldb/public/cpp/util.h index 1054cad126d..4a5618f81fc 100644 --- a/chromium/components/leveldb/public/cpp/util.h +++ b/chromium/components/leveldb/public/cpp/util.h @@ -6,6 +6,7 @@ #define COMPONENTS_LEVELDB_PUBLIC_CPP_UTIL_H_ #include "components/leveldb/public/interfaces/leveldb.mojom.h" +#include "third_party/leveldatabase/env_chromium.h" namespace leveldb { @@ -23,7 +24,8 @@ leveldb::Status DatabaseErrorToStatus(mojom::DatabaseError e, const Slice& msg2); // Returns an UMA value for a mojom::DatabaseError. -int GetLevelDBStatusUMAValue(mojom::DatabaseError status); +leveldb_env::LevelDBStatusValue GetLevelDBStatusUMAValue( + mojom::DatabaseError status); // 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 |