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

Unified Diff: components/leveldb/leveldb_app.h

Issue 1737933002: mojo leveldb: Get profile and leveldb connected to DOMStorageContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add OWNERS file by request. Created 4 years, 9 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/leveldb_app.h
diff --git a/components/leveldb/leveldb_app.h b/components/leveldb/leveldb_app.h
index 4b87fc897df145ba74ce60ee5433909d0823f10b..fd2c8ea482a88adabd8a98bad40c624b929ee01a 100644
--- a/components/leveldb/leveldb_app.h
+++ b/components/leveldb/leveldb_app.h
@@ -9,6 +9,7 @@
#include "mojo/public/cpp/bindings/binding_set.h"
#include "mojo/services/tracing/public/cpp/tracing_impl.h"
#include "mojo/shell/public/cpp/interface_factory.h"
+#include "mojo/shell/public/cpp/message_loop_ref.h"
#include "mojo/shell/public/cpp/shell_client.h"
namespace leveldb {
@@ -26,9 +27,6 @@ class LevelDBApp : public mojo::ShellClient,
uint32_t id) override;
bool AcceptConnection(mojo::Connection* connection) override;
- // TODO(erg): What do we have to do on shell error?
- // bool OnShellConnectionError() override;
-
// |InterfaceFactory<LevelDBService>| implementation:
void Create(mojo::Connection* connection,
mojo::InterfaceRequest<LevelDBService> request) override;
@@ -36,6 +34,7 @@ class LevelDBApp : public mojo::ShellClient,
mojo::TracingImpl tracing_;
scoped_ptr<LevelDBService> service_;
mojo::BindingSet<LevelDBService> bindings_;
+ mojo::MessageLoopRefFactory ref_factory_;
DISALLOW_COPY_AND_ASSIGN(LevelDBApp);
};

Powered by Google App Engine
This is Rietveld 408576698