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

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

Issue 10885044: Remove storage context accessors from ResourceContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: teh Created 8 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
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_BROWSER_RESOURCE_CONTEXT_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_
6 #define CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ 6 #define CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_
7 7
8 #include "content/public/browser/resource_context.h" 8 #include "content/public/browser/resource_context.h"
9 9
10 class IndexedDBContextImpl; 10 class IndexedDBContextImpl;
(...skipping 12 matching lines...) Expand all
23 } 23 }
24 24
25 namespace content { 25 namespace content {
26 26
27 class BrowserContext; 27 class BrowserContext;
28 class HostZoomMap; 28 class HostZoomMap;
29 29
30 // Getters for objects that are part of BrowserContext which are also used on 30 // Getters for objects that are part of BrowserContext which are also used on
31 // the IO thread. These are only accessed by content so they're not on the 31 // the IO thread. These are only accessed by content so they're not on the
32 // public API. 32 // public API.
33
33 webkit_blob::BlobStorageController* GetBlobStorageControllerForResourceContext( 34 webkit_blob::BlobStorageController* GetBlobStorageControllerForResourceContext(
34 ResourceContext* resource_context); 35 ResourceContext* resource_context);
35 webkit_database::DatabaseTracker* GetDatabaseTrackerForResourceContext(
36 ResourceContext* resource_context);
37 fileapi::FileSystemContext* GetFileSystemContextForResourceContext(
38 ResourceContext* resource_context);
39 IndexedDBContextImpl* GetIndexedDBContextForResourceContext(
40 ResourceContext* resource_context);
41 ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext( 36 ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext(
42 ResourceContext* resource_context); 37 ResourceContext* resource_context);
43 HostZoomMap* GetHostZoomMapForResourceContext(ResourceContext* context); 38 HostZoomMap* GetHostZoomMapForResourceContext(ResourceContext* context);
44 39
45 // Initialize the above data on the ResourceContext from a given BrowserContext. 40 // Initialize the above data on the ResourceContext from a given BrowserContext.
46 void InitializeResourceContext(BrowserContext* browser_context); 41 void InitializeResourceContext(BrowserContext* browser_context);
47 42
48 } // namespace content 43 } // namespace content
49 44
50 #endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ 45 #endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/resource_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698