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

Unified Diff: content/public/test/mock_resource_context.cc

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
« no previous file with comments | « content/public/test/mock_resource_context.h ('k') | content/public/test/test_browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_resource_context.cc
diff --git a/content/public/test/mock_resource_context.cc b/content/public/test/mock_resource_context.cc
index 342766c5f4faeae1e853d0df780b5e4726a6cac7..bcea128d4df2c5b9acd7b4699191fcf4eabdde0e 100644
--- a/content/public/test/mock_resource_context.cc
+++ b/content/public/test/mock_resource_context.cc
@@ -9,12 +9,12 @@
namespace content {
MockResourceContext::MockResourceContext()
- : test_request_context_(NULL) {
+ : request_context_(NULL) {
}
MockResourceContext::MockResourceContext(
- net::URLRequestContext* test_request_context)
- : test_request_context_(test_request_context),
+ net::URLRequestContext* request_context)
+ : request_context_(request_context),
mic_allowed_(false),
camera_allowed_(false) {
}
@@ -26,8 +26,8 @@ net::HostResolver* MockResourceContext::GetHostResolver() {
}
net::URLRequestContext* MockResourceContext::GetRequestContext() {
- CHECK(test_request_context_);
- return test_request_context_;
+ CHECK(request_context_);
+ return request_context_;
}
bool MockResourceContext::AllowMicAccess(const GURL& origin) {
« no previous file with comments | « content/public/test/mock_resource_context.h ('k') | content/public/test/test_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698