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(), |