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

Unified Diff: content/public/test/content_browser_test.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: Fix cast. 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/public/test/content_browser_test.cc
diff --git a/content/public/test/content_browser_test.cc b/content/public/test/content_browser_test.cc
index 64208f776ac12d90a5ec0050bb3106136e0555a1..15cb44d8580105b8eac4eb0642db2d9efa600f33 100644
--- a/content/public/test/content_browser_test.cc
+++ b/content/public/test/content_browser_test.cc
@@ -10,6 +10,7 @@
#include "base/message_loop/message_loop.h"
#include "base/path_service.h"
#include "build/build_config.h"
+#include "content/public/browser/browser_context.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/common/content_paths.h"
#include "content/public/common/content_switches.h"
@@ -147,6 +148,10 @@ void ContentBrowserTest::RunTestOnMainThreadLoop() {
Shell::CloseAllWindows();
}
+BrowserContext* ContentBrowserTest::GetBrowserContext() const {
+ return ShellContentBrowserClient::Get()->browser_context();
+}
+
Shell* ContentBrowserTest::CreateBrowser() {
return Shell::CreateNewWindow(
ShellContentBrowserClient::Get()->browser_context(),

Powered by Google App Engine
This is Rietveld 408576698