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

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: jam's comments Created 4 years, 10 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..024e241c713b660659ed0223f20c663f7cfdda2d 100644
--- a/content/public/browser/mojo_app_connection.h
+++ b/content/public/browser/mojo_app_connection.h
@@ -15,6 +15,8 @@
namespace content {
+class BrowserContext;
+
// A virtual app URL identifying the browser itself. This should be used for
// a connection's |requestor_url| when connecting from browser code to apps that
// don't require a more specific request context.
@@ -28,9 +30,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(
+ BrowserContext* context,
const std::string& name,
const std::string& requestor_name);

Powered by Google App Engine
This is Rietveld 408576698