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

Unified Diff: content/browser/mojo/mojo_app_connection_impl.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: merge tot 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: content/browser/mojo/mojo_app_connection_impl.h
diff --git a/content/browser/mojo/mojo_app_connection_impl.h b/content/browser/mojo/mojo_app_connection_impl.h
index 60caa125eda85f4cfa01fdec9b4be1d68e3baf23..5ed747b2c5f60ad1d57a450d06323487016bf930 100644
--- a/content/browser/mojo/mojo_app_connection_impl.h
+++ b/content/browser/mojo/mojo_app_connection_impl.h
@@ -14,7 +14,10 @@ namespace content {
// Implementation of the app connection mechanism provided to browser code.
class MojoAppConnectionImpl : public MojoAppConnection {
public:
- MojoAppConnectionImpl(const std::string& name,
+ // Takes a BrowserContext and derives a mojo userid from it for this
+ // connection.
+ MojoAppConnectionImpl(const std::string& user_id,
+ const std::string& name,
const std::string& requestor_name);
~MojoAppConnectionImpl() override;

Powered by Google App Engine
This is Rietveld 408576698