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

Unified Diff: content/test/mock_resource_context.cc

Issue 9845033: Move the MediaObserver getter from ResourceContext to ContentBrowserClient, since we only need to s… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix dcheck Created 8 years, 9 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/test/mock_resource_context.h ('k') | content/test/webrtc_audio_device_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/mock_resource_context.cc
===================================================================
--- content/test/mock_resource_context.cc (revision 128803)
+++ content/test/mock_resource_context.cc (working copy)
@@ -10,13 +10,11 @@
namespace content {
MockResourceContext::MockResourceContext()
- : test_request_context_(new TestURLRequestContext),
- media_observer_(NULL) {
+ : test_request_context_(new TestURLRequestContext) {
}
MockResourceContext::MockResourceContext(net::URLRequestContext* context)
- : test_request_context_(context),
- media_observer_(NULL) {
+ : test_request_context_(context) {
}
MockResourceContext::~MockResourceContext() {}
@@ -29,8 +27,4 @@
return test_request_context_;
}
-MediaObserver* MockResourceContext::GetMediaObserver() {
- return media_observer_;
-}
-
} // namespace content
« no previous file with comments | « content/test/mock_resource_context.h ('k') | content/test/webrtc_audio_device_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698