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

Unified Diff: content/browser/mojo_shell_browsertest.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 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_shell_browsertest.cc
diff --git a/content/browser/mojo_shell_browsertest.cc b/content/browser/mojo_shell_browsertest.cc
index 5e9eac1e313538e44f8c59473ae6b69439c3c481..5ea8de85ccbe3fff6c55f8ea5d13dda1ab73cccf 100644
--- a/content/browser/mojo_shell_browsertest.cc
+++ b/content/browser/mojo_shell_browsertest.cc
@@ -35,7 +35,8 @@ class MojoShellTest : public ContentBrowserTest {
};
IN_PROC_BROWSER_TEST_F(MojoShellTest, TestBrowserConnection) {
- auto test_app = MojoAppConnection::Create(kInProcessTestMojoAppName,
+ auto test_app = MojoAppConnection::Create(GetBrowserContext(),
+ kInProcessTestMojoAppName,
kBrowserMojoAppUrl);
TestMojoServicePtr test_service;
test_app->GetInterface(&test_service);
@@ -49,7 +50,8 @@ IN_PROC_BROWSER_TEST_F(MojoShellTest, TestUtilityConnection) {
// With no loader registered at this URL, the shell should spawn a utility
// process and connect us to it. content_shell's utility process always hosts
// a TestMojoApp at |kTestMojoAppUrl|.
- auto test_app = MojoAppConnection::Create(kTestMojoAppUrl,
+ auto test_app = MojoAppConnection::Create(GetBrowserContext(),
+ kTestMojoAppUrl,
kBrowserMojoAppUrl);
TestMojoServicePtr test_service;
test_app->GetInterface(&test_service);

Powered by Google App Engine
This is Rietveld 408576698