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

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

Issue 9296041: Create Content API around HostZoomMap. (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 | « chrome/browser/profiles/profile_impl.cc ('k') | 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) 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 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 <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/callback_forward.h" 12 #include "base/callback_forward.h"
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
17 #include "base/synchronization/lock.h" 17 #include "base/synchronization/lock.h"
18 #include "chrome/browser/net/chrome_url_request_context.h" 18 #include "chrome/browser/net/chrome_url_request_context.h"
19 #include "chrome/browser/prefs/pref_member.h" 19 #include "chrome/browser/prefs/pref_member.h"
20 #include "content/browser/resource_context.h" 20 #include "content/browser/resource_context.h"
21 #include "net/base/cookie_monster.h" 21 #include "net/base/cookie_monster.h"
22 22
23 class AudioManager; 23 class AudioManager;
24 class ChromeAppCacheService; 24 class ChromeAppCacheService;
25 class ChromeBlobStorageContext; 25 class ChromeBlobStorageContext;
26 class CookieSettings; 26 class CookieSettings;
27 class DesktopNotificationService; 27 class DesktopNotificationService;
28 class ExtensionInfoMap; 28 class ExtensionInfoMap;
29 class HostContentSettingsMap; 29 class HostContentSettingsMap;
30 class HostZoomMap;
31 class IOThread; 30 class IOThread;
32 class Profile; 31 class Profile;
33 class ProtocolHandlerRegistry; 32 class ProtocolHandlerRegistry;
34 33
35 namespace fileapi { 34 namespace fileapi {
36 class FileSystemContext; 35 class FileSystemContext;
37 } // namespace fileapi 36 } // namespace fileapi
38 37
39 namespace media_stream { 38 namespace media_stream {
40 class MediaStreamManager; 39 class MediaStreamManager;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 FilePath path; 140 FilePath path;
142 bool is_incognito; 141 bool is_incognito;
143 bool clear_local_state_on_exit; 142 bool clear_local_state_on_exit;
144 std::string accept_language; 143 std::string accept_language;
145 std::string accept_charset; 144 std::string accept_charset;
146 std::string referrer_charset; 145 std::string referrer_charset;
147 IOThread* io_thread; 146 IOThread* io_thread;
148 scoped_refptr<AudioManager> audio_manager; 147 scoped_refptr<AudioManager> audio_manager;
149 scoped_refptr<HostContentSettingsMap> host_content_settings_map; 148 scoped_refptr<HostContentSettingsMap> host_content_settings_map;
150 scoped_refptr<CookieSettings> cookie_settings; 149 scoped_refptr<CookieSettings> cookie_settings;
151 scoped_refptr<HostZoomMap> host_zoom_map; 150 scoped_refptr<content::HostZoomMap> host_zoom_map;
152 scoped_refptr<net::SSLConfigService> ssl_config_service; 151 scoped_refptr<net::SSLConfigService> ssl_config_service;
153 scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate; 152 scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate;
154 scoped_refptr<webkit_database::DatabaseTracker> database_tracker; 153 scoped_refptr<webkit_database::DatabaseTracker> database_tracker;
155 scoped_refptr<ChromeAppCacheService> appcache_service; 154 scoped_refptr<ChromeAppCacheService> appcache_service;
156 scoped_refptr<ChromeBlobStorageContext> blob_storage_context; 155 scoped_refptr<ChromeBlobStorageContext> blob_storage_context;
157 scoped_refptr<fileapi::FileSystemContext> file_system_context; 156 scoped_refptr<fileapi::FileSystemContext> file_system_context;
158 scoped_refptr<quota::QuotaManager> quota_manager; 157 scoped_refptr<quota::QuotaManager> quota_manager;
159 scoped_refptr<ExtensionInfoMap> extension_info_map; 158 scoped_refptr<ExtensionInfoMap> extension_info_map;
160 DesktopNotificationService* notification_service; 159 DesktopNotificationService* notification_service;
161 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry; 160 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 mutable scoped_ptr<net::ProxyService> proxy_service_; 280 mutable scoped_ptr<net::ProxyService> proxy_service_;
282 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_; 281 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_;
283 mutable scoped_ptr<net::URLRequestJobFactory> job_factory_; 282 mutable scoped_ptr<net::URLRequestJobFactory> job_factory_;
284 283
285 // Pointed to by ResourceContext. 284 // Pointed to by ResourceContext.
286 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_; 285 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_;
287 mutable scoped_refptr<ChromeAppCacheService> appcache_service_; 286 mutable scoped_refptr<ChromeAppCacheService> appcache_service_;
288 mutable scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; 287 mutable scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
289 mutable scoped_refptr<fileapi::FileSystemContext> file_system_context_; 288 mutable scoped_refptr<fileapi::FileSystemContext> file_system_context_;
290 mutable scoped_refptr<quota::QuotaManager> quota_manager_; 289 mutable scoped_refptr<quota::QuotaManager> quota_manager_;
291 mutable scoped_refptr<HostZoomMap> host_zoom_map_; 290 mutable scoped_refptr<content::HostZoomMap> host_zoom_map_;
292 mutable scoped_ptr<media_stream::MediaStreamManager> media_stream_manager_; 291 mutable scoped_ptr<media_stream::MediaStreamManager> media_stream_manager_;
293 292
294 // TODO(willchan): Remove from ResourceContext. 293 // TODO(willchan): Remove from ResourceContext.
295 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_; 294 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_;
296 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 295 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
297 mutable scoped_refptr<CookieSettings> cookie_settings_; 296 mutable scoped_refptr<CookieSettings> cookie_settings_;
298 mutable DesktopNotificationService* notification_service_; 297 mutable DesktopNotificationService* notification_service_;
299 298
300 mutable ResourceContext resource_context_; 299 mutable ResourceContext resource_context_;
301 300
302 // These are only valid in between LazyInitialize() and their accessor being 301 // These are only valid in between LazyInitialize() and their accessor being
303 // called. 302 // called.
304 mutable scoped_refptr<ChromeURLRequestContext> main_request_context_; 303 mutable scoped_refptr<ChromeURLRequestContext> main_request_context_;
305 mutable scoped_refptr<ChromeURLRequestContext> extensions_request_context_; 304 mutable scoped_refptr<ChromeURLRequestContext> extensions_request_context_;
306 // One AppRequestContext per isolated app. 305 // One AppRequestContext per isolated app.
307 mutable AppRequestContextMap app_request_context_map_; 306 mutable AppRequestContextMap app_request_context_map_;
308 307
309 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. 308 // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
310 bool initialized_on_UI_thread_; 309 bool initialized_on_UI_thread_;
311 310
312 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 311 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
313 }; 312 };
314 313
315 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 314 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698