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

Unified Diff: content/browser/mojo/mojo_app_connection_impl.cc

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 stray mark. 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_app_connection_impl.cc
diff --git a/content/browser/mojo/mojo_app_connection_impl.cc b/content/browser/mojo/mojo_app_connection_impl.cc
index 5182971d86f9936b193091644ee30f3f4cad2e61..b2941e2a5dc17cf8dfbded0d91c51a428f0e3f50 100644
--- a/content/browser/mojo/mojo_app_connection_impl.cc
+++ b/content/browser/mojo/mojo_app_connection_impl.cc
@@ -21,19 +21,20 @@ void OnGotInstanceID(mojo::shell::mojom::ConnectResult result,
// static
scoped_ptr<MojoAppConnection> MojoAppConnection::Create(
+ const std::string& user_id,
const std::string& name,
const std::string& requestor_name) {
return scoped_ptr<MojoAppConnection>(
- new MojoAppConnectionImpl(name, requestor_name));
+ new MojoAppConnectionImpl(user_id, name, requestor_name));
}
MojoAppConnectionImpl::MojoAppConnectionImpl(
+ const std::string& user_id,
const std::string& name,
const std::string& requestor_name) {
MojoShellContext::ConnectToApplication(
- name, requestor_name, mojo::GetProxy(&interfaces_),
- mojo::shell::mojom::InterfaceProviderPtr(),
- base::Bind(&OnGotInstanceID));
+ user_id, name, requestor_name, mojo::GetProxy(&interfaces_),
+ mojo::shell::mojom::InterfaceProviderPtr(), base::Bind(&OnGotInstanceID));
}
MojoAppConnectionImpl::~MojoAppConnectionImpl() {

Powered by Google App Engine
This is Rietveld 408576698