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

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: Add OWNERS file by request. 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_shell_context.h
diff --git a/content/browser/mojo/mojo_shell_context.h b/content/browser/mojo/mojo_shell_context.h
index 90bda83290332ba98079149e48da163f8a5cd663..41e5709f6c2c91a3c7ea129c9d3569de68b4c5b6 100644
--- a/content/browser/mojo/mojo_shell_context.h
+++ b/content/browser/mojo/mojo_shell_context.h
@@ -43,6 +43,16 @@ class CONTENT_EXPORT MojoShellContext {
mojo::shell::mojom::InterfaceProviderPtr exposed_services,
const mojo::shell::mojom::Connector::ConnectCallback& callback);
+ // Like ConnectToApplication(), but connects to the application as a specific
+ // userid.
+ static void ConnectToApplicationWithUserId(
Ben Goodger (Google) 2016/03/11 23:21:38 I think so few people use this class now that you
+ const std::string& user_id,
+ 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 +60,7 @@ class CONTENT_EXPORT MojoShellContext {
friend class Proxy;
void ConnectToApplicationOnOwnThread(
+ const std::string& 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