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

Side by Side Diff: content/public/browser/resource_context.h

Issue 9433006: Remove GetAudioManager and GetMediaStreamManager from ResourceContext. The reason is the content mo… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_
6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_ 6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/supports_user_data.h" 9 #include "base/supports_user_data.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 11
12 class AudioManager;
13 class MediaObserver; 12 class MediaObserver;
14 13
15 namespace appcache { 14 namespace appcache {
16 class AppCacheService; 15 class AppCacheService;
17 } 16 }
18 17
19 namespace fileapi { 18 namespace fileapi {
20 class FileSystemContext; 19 class FileSystemContext;
21 } 20 }
22 21
23 namespace media_stream {
24 class MediaStreamManager;
25 }
26
27 namespace net { 22 namespace net {
28 class HostResolver; 23 class HostResolver;
29 class URLRequestContext; 24 class URLRequestContext;
30 } 25 }
31 26
32 namespace webkit_blob { 27 namespace webkit_blob {
33 class BlobStorageController; 28 class BlobStorageController;
34 } 29 }
35 30
36 namespace content { 31 namespace content {
(...skipping 10 matching lines...) Expand all
47 static fileapi::FileSystemContext* GetFileSystemContext( 42 static fileapi::FileSystemContext* GetFileSystemContext(
48 ResourceContext* resource_context); 43 ResourceContext* resource_context);
49 static webkit_blob::BlobStorageController* GetBlobStorageController( 44 static webkit_blob::BlobStorageController* GetBlobStorageController(
50 ResourceContext* resource_context); 45 ResourceContext* resource_context);
51 46
52 virtual ~ResourceContext() {} 47 virtual ~ResourceContext() {}
53 virtual net::HostResolver* GetHostResolver() = 0; 48 virtual net::HostResolver* GetHostResolver() = 0;
54 virtual net::URLRequestContext* GetRequestContext() = 0; 49 virtual net::URLRequestContext* GetRequestContext() = 0;
55 virtual HostZoomMap* GetHostZoomMap() = 0; 50 virtual HostZoomMap* GetHostZoomMap() = 0;
56 virtual MediaObserver* GetMediaObserver() = 0; 51 virtual MediaObserver* GetMediaObserver() = 0;
57 virtual media_stream::MediaStreamManager* GetMediaStreamManager() = 0;
58 virtual AudioManager* GetAudioManager() = 0;
59 }; 52 };
60 53
61 } // namespace content 54 } // namespace content
62 55
63 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_ 56 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698