| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_ | 5 #ifndef CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_ |
| 6 #define CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_ | 6 #define CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "content/browser/resource_context.h" | 11 #include "content/public/browser/resource_context.h" |
| 12 #include "net/url_request/url_request_context.h" | 12 #include "net/url_request/url_request_context.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 template <typename T> | 15 template <typename T> |
| 16 struct DefaultLazyInstanceTraits; | 16 struct DefaultLazyInstanceTraits; |
| 17 } // namespace base | 17 } // namespace base |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 | 20 |
| 21 class MockResourceContext : public ResourceContext { | 21 class MockResourceContext : public ResourceContext { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 58 |
| 59 scoped_refptr<net::URLRequestContext> test_request_context_; | 59 scoped_refptr<net::URLRequestContext> test_request_context_; |
| 60 MediaObserver* media_observer_; | 60 MediaObserver* media_observer_; |
| 61 media_stream::MediaStreamManager* media_stream_manager_; | 61 media_stream::MediaStreamManager* media_stream_manager_; |
| 62 AudioManager* audio_manager_; | 62 AudioManager* audio_manager_; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace content | 65 } // namespace content |
| 66 | 66 |
| 67 #endif // CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_ | 67 #endif // CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_ |
| OLD | NEW |