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

Unified Diff: content/test/test_content_browser_client.h

Issue 12546016: Remove the Extensions URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android webview init fix merged in. Created 7 years, 4 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/test/test_content_browser_client.h
diff --git a/content/test/test_content_browser_client.h b/content/test/test_content_browser_client.h
index f0d58bbb21a55a53659b8a8cb901619f91f7deae..0182ef10b8556e3d80a6d44c67711c77004b59bd 100644
--- a/content/test/test_content_browser_client.h
+++ b/content/test/test_content_browser_client.h
@@ -12,6 +12,10 @@
#include "base/files/scoped_temp_dir.h"
#include "content/public/browser/content_browser_client.h"
+namespace net {
+class URLRequestContextGetter;
+} // namespace net
+
namespace content {
// Base for unit tests that need a ContentBrowserClient.
@@ -23,6 +27,9 @@ class TestContentBrowserClient : public ContentBrowserClient {
virtual WebContentsViewPort* OverrideCreateWebContentsView(
WebContents* web_contents,
RenderViewHostDelegateView** render_view_host_delegate_view) OVERRIDE;
+ virtual net::URLRequestContextGetter* CreateRequestContext(
+ BrowserContext* browser_context,
+ ProtocolHandlerMap* protocol_handlers) OVERRIDE;
virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE;
private:
« no previous file with comments | « content/shell/browser/shell_url_request_context_getter.cc ('k') | content/test/test_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698