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

Unified Diff: content/browser/mojo/mojo_shell_context.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: Remove most of the LOGs. 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/browser/mojo/mojo_shell_context.h
diff --git a/content/browser/mojo/mojo_shell_context.h b/content/browser/mojo/mojo_shell_context.h
index 2ed9cfcd3ac627010e3d5d6e6c228a0ce4e30fc4..6dbb434382ec9ca46f2ad6c51d8232bd837f7730 100644
--- a/content/browser/mojo/mojo_shell_context.h
+++ b/content/browser/mojo/mojo_shell_context.h
@@ -21,6 +21,7 @@ class ShellClient;
}
namespace content {
+class BrowserContext;
// MojoShellContext hosts the browser's ApplicationManager, coordinating
// app registration and interconnection.
@@ -43,6 +44,14 @@ class CONTENT_EXPORT MojoShellContext {
mojo::shell::mojom::InterfaceProviderPtr exposed_services,
const mojo::shell::mojom::Connector::ConnectCallback& callback);
+ static void ConnectToApplicationWithContext(
jam 2016/03/03 16:32:10 add comment
+ BrowserContext* context,
+ const std::string& name,
+ const std::string& requestor_name,
+ mojo::shell::mojom::InterfaceProviderRequest request,
+ mojo::shell::mojom::InterfaceProviderPtr exposed_services,
+ const mojo::shell::mojom::Connector::ConnectCallback& callback);
+
static void SetApplicationsForTest(const StaticApplicationMap* apps);
private:
@@ -50,6 +59,7 @@ class CONTENT_EXPORT MojoShellContext {
friend class Proxy;
void ConnectToApplicationOnOwnThread(
+ uint32_t user_id,
const std::string& name,
const std::string& requestor_name,
mojo::shell::mojom::InterfaceProviderRequest request,

Powered by Google App Engine
This is Rietveld 408576698