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

Unified Diff: content/public/browser/mojo_app_connection.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/public/browser/mojo_app_connection.h
diff --git a/content/public/browser/mojo_app_connection.h b/content/public/browser/mojo_app_connection.h
index 3878825889ef93fe8e2e187cfa168c2797617dd0..6ac8055e82bfd6c80948d0651138f8602ca40b53 100644
--- a/content/public/browser/mojo_app_connection.h
+++ b/content/public/browser/mojo_app_connection.h
@@ -28,9 +28,11 @@ class CONTENT_EXPORT MojoAppConnection {
virtual ~MojoAppConnection() {}
// Creates a new connection to the application at |name| using
- // |requestor_name| to identify the requestor upon connection. This may be
- // called from any thread.
+ // |requestor_name| to identify the requestor and |context|'s mojo userid to
+ // specify a profile specific application instantiation. This may be called
+ // from any thread.
static scoped_ptr<MojoAppConnection> Create(
+ const std::string& user_id,
const std::string& name,
const std::string& requestor_name);

Powered by Google App Engine
This is Rietveld 408576698