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

Unified Diff: components/leveldb/public/interfaces/leveldb.mojom

Issue 2722293002: Fix lifetime of leveldb::MojoEnv instances. (Closed)
Patch Set: annotate leaks Created 3 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
Index: components/leveldb/public/interfaces/leveldb.mojom
diff --git a/components/leveldb/public/interfaces/leveldb.mojom b/components/leveldb/public/interfaces/leveldb.mojom
index 68062c0c322592e7b5fe1a9b2bb570a158493ba8..11e567095539380e24698d9627911316ebeaddd2 100644
--- a/components/leveldb/public/interfaces/leveldb.mojom
+++ b/components/leveldb/public/interfaces/leveldb.mojom
@@ -62,11 +62,6 @@ struct OpenOptions {
// Service which hands out databases.
interface LevelDBService {
- // Sets the name of the environment to a custom value. This is used for any
- // databases opened after calling this method to name UMA histograms and to
- // name the background thread that might get started.
- SetEnvironmentName(string name);
-
// Open the database with the specified "name" in the specified "directory".
// Fails if the database doesn't already exist.
Open(filesystem.mojom.Directory directory,

Powered by Google App Engine
This is Rietveld 408576698