OLD | NEW |
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 #include "content/browser/resource_context_impl.h" | 5 #include "content/browser/resource_context_impl.h" |
6 | 6 |
7 #include "content/browser/appcache/chrome_appcache_service.h" | 7 #include "content/browser/appcache/chrome_appcache_service.h" |
8 #include "content/browser/chrome_blob_storage_context.h" | 8 #include "content/browser/fileapi/browser_file_system_helper.h" |
9 #include "content/browser/file_system/browser_file_system_helper.h" | 9 #include "content/browser/fileapi/chrome_blob_storage_context.h" |
10 #include "content/browser/host_zoom_map_impl.h" | 10 #include "content/browser/host_zoom_map_impl.h" |
11 #include "content/browser/in_process_webkit/indexed_db_context_impl.h" | 11 #include "content/browser/in_process_webkit/indexed_db_context_impl.h" |
12 #include "content/public/browser/browser_context.h" | 12 #include "content/public/browser/browser_context.h" |
13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
14 #include "webkit/database/database_tracker.h" | 14 #include "webkit/database/database_tracker.h" |
15 | 15 |
16 // Key names on ResourceContext. | 16 // Key names on ResourceContext. |
17 static const char* kAppCacheServicKeyName = "content_appcache_service_tracker"; | 17 static const char* kAppCacheServicKeyName = "content_appcache_service_tracker"; |
18 static const char* kBlobStorageContextKeyName = "content_blob_storage_context"; | 18 static const char* kBlobStorageContextKeyName = "content_blob_storage_context"; |
19 static const char* kDatabaseTrackerKeyName = "content_database_tracker"; | 19 static const char* kDatabaseTrackerKeyName = "content_database_tracker"; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 108 |
109 // This object is owned by the BrowserContext and not ResourceContext, so | 109 // This object is owned by the BrowserContext and not ResourceContext, so |
110 // store a non-owning pointer here. | 110 // store a non-owning pointer here. |
111 resource_context->SetUserData( | 111 resource_context->SetUserData( |
112 kHostZoomMapKeyName, | 112 kHostZoomMapKeyName, |
113 new NonOwningZoomData( | 113 new NonOwningZoomData( |
114 HostZoomMap::GetForBrowserContext(browser_context))); | 114 HostZoomMap::GetForBrowserContext(browser_context))); |
115 } | 115 } |
116 | 116 |
117 } // namespace content | 117 } // namespace content |
OLD | NEW |