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

Side by Side Diff: chrome/browser/profiles/profile_io_data.h

Issue 7948004: Removing singelton property of MediaStreamManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 | « no previous file | chrome/browser/profiles/profile_io_data.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 CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 16 matching lines...) Expand all
27 class HostContentSettingsMap; 27 class HostContentSettingsMap;
28 class HostZoomMap; 28 class HostZoomMap;
29 class IOThread; 29 class IOThread;
30 class Profile; 30 class Profile;
31 class ProtocolHandlerRegistry; 31 class ProtocolHandlerRegistry;
32 32
33 namespace fileapi { 33 namespace fileapi {
34 class FileSystemContext; 34 class FileSystemContext;
35 } // namespace fileapi 35 } // namespace fileapi
36 36
37 namespace media_stream {
38 class MediaStreamManager;
39 } // namespace media_stream
40
37 namespace net { 41 namespace net {
38 class CookieStore; 42 class CookieStore;
39 class DnsCertProvenanceChecker; 43 class DnsCertProvenanceChecker;
40 class HttpTransactionFactory; 44 class HttpTransactionFactory;
41 class NetLog; 45 class NetLog;
42 class OriginBoundCertService; 46 class OriginBoundCertService;
43 class ProxyConfigService; 47 class ProxyConfigService;
44 class ProxyService; 48 class ProxyService;
45 class SSLConfigService; 49 class SSLConfigService;
46 class TransportSecurityState; 50 class TransportSecurityState;
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 mutable scoped_ptr<net::ProxyService> proxy_service_; 278 mutable scoped_ptr<net::ProxyService> proxy_service_;
275 mutable scoped_ptr<net::URLRequestJobFactory> job_factory_; 279 mutable scoped_ptr<net::URLRequestJobFactory> job_factory_;
276 280
277 // Pointed to by ResourceContext. 281 // Pointed to by ResourceContext.
278 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_; 282 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_;
279 mutable scoped_refptr<ChromeAppCacheService> appcache_service_; 283 mutable scoped_refptr<ChromeAppCacheService> appcache_service_;
280 mutable scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; 284 mutable scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
281 mutable scoped_refptr<fileapi::FileSystemContext> file_system_context_; 285 mutable scoped_refptr<fileapi::FileSystemContext> file_system_context_;
282 mutable scoped_refptr<quota::QuotaManager> quota_manager_; 286 mutable scoped_refptr<quota::QuotaManager> quota_manager_;
283 mutable scoped_refptr<HostZoomMap> host_zoom_map_; 287 mutable scoped_refptr<HostZoomMap> host_zoom_map_;
288 mutable scoped_ptr<media_stream::MediaStreamManager> media_stream_manager_;
284 289
285 // TODO(willchan): Remove from ResourceContext. 290 // TODO(willchan): Remove from ResourceContext.
286 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_; 291 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_;
287 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 292 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
288 mutable DesktopNotificationService* notification_service_; 293 mutable DesktopNotificationService* notification_service_;
289 mutable base::Callback<prerender::PrerenderManager*(void)> 294 mutable base::Callback<prerender::PrerenderManager*(void)>
290 prerender_manager_getter_; 295 prerender_manager_getter_;
291 296
292 mutable ResourceContext resource_context_; 297 mutable ResourceContext resource_context_;
293 298
294 // These are only valid in between LazyInitialize() and their accessor being 299 // These are only valid in between LazyInitialize() and their accessor being
295 // called. 300 // called.
296 mutable scoped_refptr<ChromeURLRequestContext> main_request_context_; 301 mutable scoped_refptr<ChromeURLRequestContext> main_request_context_;
297 mutable scoped_refptr<ChromeURLRequestContext> extensions_request_context_; 302 mutable scoped_refptr<ChromeURLRequestContext> extensions_request_context_;
298 // One AppRequestContext per isolated app. 303 // One AppRequestContext per isolated app.
299 mutable AppRequestContextMap app_request_context_map_; 304 mutable AppRequestContextMap app_request_context_map_;
300 305
301 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 306 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
302 }; 307 };
303 308
304 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 309 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698