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

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

Issue 7793003: Revert 98656 - Make a new integer field in sql::MetaTable (a per-profile db) containing a counter... (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 | « chrome/browser/history/history_marshaling.h ('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) 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"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "base/synchronization/lock.h" 16 #include "base/synchronization/lock.h"
17 #include "chrome/browser/net/chrome_url_request_context.h" 17 #include "chrome/browser/net/chrome_url_request_context.h"
18 #include "chrome/browser/prefs/pref_member.h" 18 #include "chrome/browser/prefs/pref_member.h"
19 #include "content/browser/download/download_manager.h"
20 #include "content/browser/resource_context.h" 19 #include "content/browser/resource_context.h"
21 #include "net/base/cookie_monster.h" 20 #include "net/base/cookie_monster.h"
22 21
23 class CommandLine; 22 class CommandLine;
24 class ChromeAppCacheService; 23 class ChromeAppCacheService;
25 class ChromeBlobStorageContext; 24 class ChromeBlobStorageContext;
26 class DesktopNotificationService; 25 class DesktopNotificationService;
27 class ExtensionInfoMap; 26 class ExtensionInfoMap;
28 class HostContentSettingsMap; 27 class HostContentSettingsMap;
29 class HostZoomMap; 28 class HostZoomMap;
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 mutable scoped_ptr<net::ProxyService> proxy_service_; 267 mutable scoped_ptr<net::ProxyService> proxy_service_;
269 mutable scoped_ptr<net::URLRequestJobFactory> job_factory_; 268 mutable scoped_ptr<net::URLRequestJobFactory> job_factory_;
270 269
271 // Pointed to by ResourceContext. 270 // Pointed to by ResourceContext.
272 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_; 271 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_;
273 mutable scoped_refptr<ChromeAppCacheService> appcache_service_; 272 mutable scoped_refptr<ChromeAppCacheService> appcache_service_;
274 mutable scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; 273 mutable scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
275 mutable scoped_refptr<fileapi::FileSystemContext> file_system_context_; 274 mutable scoped_refptr<fileapi::FileSystemContext> file_system_context_;
276 mutable scoped_refptr<quota::QuotaManager> quota_manager_; 275 mutable scoped_refptr<quota::QuotaManager> quota_manager_;
277 mutable scoped_refptr<HostZoomMap> host_zoom_map_; 276 mutable scoped_refptr<HostZoomMap> host_zoom_map_;
278 mutable DownloadManager::GetNextIdThunkType next_download_id_thunk_;
279 277
280 // TODO(willchan): Remove from ResourceContext. 278 // TODO(willchan): Remove from ResourceContext.
281 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_; 279 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_;
282 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 280 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
283 mutable DesktopNotificationService* notification_service_; 281 mutable DesktopNotificationService* notification_service_;
284 mutable base::Callback<prerender::PrerenderManager*(void)> 282 mutable base::Callback<prerender::PrerenderManager*(void)>
285 prerender_manager_getter_; 283 prerender_manager_getter_;
286 284
287 mutable ResourceContext resource_context_; 285 mutable ResourceContext resource_context_;
288 286
289 // These are only valid in between LazyInitialize() and their accessor being 287 // These are only valid in between LazyInitialize() and their accessor being
290 // called. 288 // called.
291 mutable scoped_refptr<ChromeURLRequestContext> main_request_context_; 289 mutable scoped_refptr<ChromeURLRequestContext> main_request_context_;
292 mutable scoped_refptr<ChromeURLRequestContext> extensions_request_context_; 290 mutable scoped_refptr<ChromeURLRequestContext> extensions_request_context_;
293 // One AppRequestContext per isolated app. 291 // One AppRequestContext per isolated app.
294 mutable AppRequestContextMap app_request_context_map_; 292 mutable AppRequestContextMap app_request_context_map_;
295 293
296 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 294 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
297 }; 295 };
298 296
299 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 297 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/history_marshaling.h ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698