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

Unified Diff: content/public/browser/browser_context.h

Issue 1871223003: Use ShellClientFactory interface to load mojo:profile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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: content/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index a218f40cc68786d3192a34c2380866267f9562b5..af0f332d6d24b36f9cb685724e9da605463e19a5 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -30,6 +30,10 @@ class FilePath;
class Time;
}
+namespace mojo {
+class Connector;
+}
+
namespace storage {
class ExternalMountPoints;
}
@@ -152,6 +156,10 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
// services/shell/public/interfaces/connector.mojom.
static const std::string& GetMojoUserIdFor(BrowserContext* browser_context);
+ // Returns a Connector associated with this BrowserContext, which can be used
+ // to connect to Mojo application instances bound to a specific user.
+ static mojo::Connector* GetMojoConnectorFor(BrowserContext* browser_context);
+
~BrowserContext() override;
// Creates a delegate to initialize a HostZoomMap and persist its information.
« no previous file with comments | « content/public/app/mojo/content_browser_manifest.json ('k') | mojo/public/tools/manifest/manifest_collator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698