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

Side by Side Diff: content/browser/mock_resource_context.h

Issue 9371025: Move resource_context.h to content/public/browser. Remove the workaround in its destructor since ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/download/save_package.cc ('k') | content/browser/plugin_service_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/browser/download/save_package.cc ('k') | content/browser/plugin_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698