[email protected] | 55eb70e76 | 2012-02-20 17:38:39 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "content/public/browser/browser_context.h" |
| 6 | |
[email protected] | e0ce8a1e | 2012-09-18 10:26:36 | [diff] [blame] | 7 | #if !defined(OS_IOS) |
[email protected] | 55eb70e76 | 2012-02-20 17:38:39 | [diff] [blame] | 8 | #include "content/browser/appcache/chrome_appcache_service.h" |
[email protected] | 5f2aa72 | 2013-08-07 16:59:41 | [diff] [blame^] | 9 | #include "content/browser/dom_storage/dom_storage_context_wrapper.h" |
[email protected] | b441a849 | 2012-06-06 14:55:57 | [diff] [blame] | 10 | #include "content/browser/download/download_manager_impl.h" |
[email protected] | c4d28166 | 2013-03-31 00:35:08 | [diff] [blame] | 11 | #include "content/browser/indexed_db/indexed_db_context_impl.h" |
[email protected] | 678c036 | 2012-12-05 08:02:44 | [diff] [blame] | 12 | #include "content/browser/loader/resource_dispatcher_host_impl.h" |
[email protected] | 4c3a2358 | 2012-08-18 08:54:34 | [diff] [blame] | 13 | #include "content/browser/storage_partition_impl.h" |
| 14 | #include "content/browser/storage_partition_impl_map.h" |
[email protected] | d7c7c98a | 2012-07-12 21:27:44 | [diff] [blame] | 15 | #include "content/common/child_process_host_impl.h" |
[email protected] | 55eb70e76 | 2012-02-20 17:38:39 | [diff] [blame] | 16 | #include "content/public/browser/browser_thread.h" |
[email protected] | b441a849 | 2012-06-06 14:55:57 | [diff] [blame] | 17 | #include "content/public/browser/content_browser_client.h" |
[email protected] | 536fd0b | 2013-03-14 17:41:57 | [diff] [blame] | 18 | #include "content/public/browser/site_instance.h" |
[email protected] | 4d7c4ef | 2012-03-16 01:47:12 | [diff] [blame] | 19 | #include "net/cookies/cookie_monster.h" |
| 20 | #include "net/cookies/cookie_store.h" |
[email protected] | 536fd0b | 2013-03-14 17:41:57 | [diff] [blame] | 21 | #include "net/ssl/server_bound_cert_service.h" |
| 22 | #include "net/ssl/server_bound_cert_store.h" |
[email protected] | 6e2d3d2 | 2012-02-24 18:10:36 | [diff] [blame] | 23 | #include "net/url_request/url_request_context.h" |
[email protected] | 6939075a | 2012-08-28 08:35:53 | [diff] [blame] | 24 | #include "net/url_request/url_request_context_getter.h" |
[email protected] | 08b1f75f | 2013-05-22 22:02:38 | [diff] [blame] | 25 | #include "webkit/browser/database/database_tracker.h" |
[email protected] | f25e113 | 2013-05-24 13:58:04 | [diff] [blame] | 26 | #include "webkit/browser/fileapi/external_mount_points.h" |
[email protected] | e0ce8a1e | 2012-09-18 10:26:36 | [diff] [blame] | 27 | #endif // !OS_IOS |
[email protected] | 55eb70e76 | 2012-02-20 17:38:39 | [diff] [blame] | 28 | |
[email protected] | 314c3e2 | 2012-02-21 03:57:42 | [diff] [blame] | 29 | using base::UserDataAdapter; |
[email protected] | 55eb70e76 | 2012-02-20 17:38:39 | [diff] [blame] | 30 | |
[email protected] | 55eb70e76 | 2012-02-20 17:38:39 | [diff] [blame] | 31 | namespace content { |
| 32 | |
[email protected] | e0ce8a1e | 2012-09-18 10:26:36 | [diff] [blame] | 33 | // Only ~BrowserContext() is needed on iOS. |
| 34 | #if !defined(OS_IOS) |
[email protected] | 735e20c | 2012-03-20 01:16:59 | [diff] [blame] | 35 | namespace { |
| 36 | |
[email protected] | e0ce8a1e | 2012-09-18 10:26:36 | [diff] [blame] | 37 | // Key names on BrowserContext. |
[email protected] | 6ef0c391 | 2013-01-25 22:46:34 | [diff] [blame] | 38 | const char kDownloadManagerKeyName[] = "download_manager"; |
| 39 | const char kMountPointsKey[] = "mount_points"; |
| 40 | const char kStorageParitionMapKeyName[] = "content_storage_partition_map"; |
[email protected] | e0ce8a1e | 2012-09-18 10:26:36 | [diff] [blame] | 41 | |
[email protected] | 14acc64 | 2012-11-17 12:20:10 | [diff] [blame] | 42 | StoragePartitionImplMap* GetStoragePartitionMap( |
| 43 | BrowserContext* browser_context) { |
[email protected] | 4c3a2358 | 2012-08-18 08:54:34 | [diff] [blame] | 44 | StoragePartitionImplMap* partition_map = |
| 45 | static_cast<StoragePartitionImplMap*>( |
| 46 | browser_context->GetUserData(kStorageParitionMapKeyName)); |
[email protected] | d7c7c98a | 2012-07-12 21:27:44 | [diff] [blame] | 47 | if (!partition_map) { |
[email protected] | 4c3a2358 | 2012-08-18 08:54:34 | [diff] [blame] | 48 | partition_map = new StoragePartitionImplMap(browser_context); |
[email protected] | d7c7c98a | 2012-07-12 21:27:44 | [diff] [blame] | 49 | browser_context->SetUserData(kStorageParitionMapKeyName, partition_map); |
| 50 | } |
[email protected] | 14acc64 | 2012-11-17 12:20:10 | [diff] [blame] | 51 | return partition_map; |
| 52 | } |
| 53 | |
| 54 | StoragePartition* GetStoragePartitionFromConfig( |
| 55 | BrowserContext* browser_context, |
| 56 | const std::string& partition_domain, |
| 57 | const std::string& partition_name, |
| 58 | bool in_memory) { |
| 59 | StoragePartitionImplMap* partition_map = |
| 60 | GetStoragePartitionMap(browser_context); |
[email protected] | d7c7c98a | 2012-07-12 21:27:44 | [diff] [blame] | 61 | |
[email protected] | 1bc2831 | 2012-11-08 08:31:53 | [diff] [blame] | 62 | if (browser_context->IsOffTheRecord()) |
| 63 | in_memory = true; |
| 64 | |
[email protected] | 1bc2831 | 2012-11-08 08:31:53 | [diff] [blame] | 65 | return partition_map->Get(partition_domain, partition_name, in_memory); |
[email protected] | d1198fd | 2012-08-13 22:50:19 | [diff] [blame] | 66 | } |
| 67 | |
[email protected] | 5f2aa72 | 2013-08-07 16:59:41 | [diff] [blame^] | 68 | // Run |callback| on each DOMStorageContextWrapper in |browser_context|. |
[email protected] | 1bc2831 | 2012-11-08 08:31:53 | [diff] [blame] | 69 | void PurgeDOMStorageContextInPartition(StoragePartition* storage_partition) { |
[email protected] | 4c3a2358 | 2012-08-18 08:54:34 | [diff] [blame] | 70 | static_cast<StoragePartitionImpl*>(storage_partition)-> |
| 71 | GetDOMStorageContext()->PurgeMemory(); |
[email protected] | 55eb70e76 | 2012-02-20 17:38:39 | [diff] [blame] | 72 | } |
| 73 | |
[email protected] | 6939075a | 2012-08-28 08:35:53 | [diff] [blame] | 74 | void SaveSessionStateOnIOThread( |
| 75 | const scoped_refptr<net::URLRequestContextGetter>& context_getter, |
| 76 | appcache::AppCacheService* appcache_service) { |
| 77 | net::URLRequestContext* context = context_getter->GetURLRequestContext(); |
| 78 | context->cookie_store()->GetCookieMonster()-> |
[email protected] | bf510ed | 2012-06-05 08:31:43 | [diff] [blame] | 79 | SetForceKeepSessionState(); |
[email protected] | 6939075a | 2012-08-28 08:35:53 | [diff] [blame] | 80 | context->server_bound_cert_service()->GetCertStore()-> |
| 81 | SetForceKeepSessionState(); |
| 82 | appcache_service->set_force_keep_session_state(); |
[email protected] | 6e2d3d2 | 2012-02-24 18:10:36 | [diff] [blame] | 83 | } |
| 84 | |
[email protected] | 89acda8 | 2013-06-25 20:52:50 | [diff] [blame] | 85 | void SaveSessionStateOnIndexedDBThread( |
[email protected] | 6e2d3d2 | 2012-02-24 18:10:36 | [diff] [blame] | 86 | scoped_refptr<IndexedDBContextImpl> indexed_db_context) { |
[email protected] | bf510ed | 2012-06-05 08:31:43 | [diff] [blame] | 87 | indexed_db_context->SetForceKeepSessionState(); |
[email protected] | 6e2d3d2 | 2012-02-24 18:10:36 | [diff] [blame] | 88 | } |
| 89 | |
[email protected] | 6939075a | 2012-08-28 08:35:53 | [diff] [blame] | 90 | void PurgeMemoryOnIOThread(appcache::AppCacheService* appcache_service) { |
| 91 | appcache_service->PurgeMemory(); |
[email protected] | 6e2d3d2 | 2012-02-24 18:10:36 | [diff] [blame] | 92 | } |
| 93 | |
[email protected] | 735e20c | 2012-03-20 01:16:59 | [diff] [blame] | 94 | } // namespace |
| 95 | |
[email protected] | 14acc64 | 2012-11-17 12:20:10 | [diff] [blame] | 96 | // static |
| 97 | void BrowserContext::AsyncObliterateStoragePartition( |
| 98 | BrowserContext* browser_context, |
[email protected] | 399583b | 2012-12-11 09:33:42 | [diff] [blame] | 99 | const GURL& site, |
| 100 | const base::Closure& on_gc_required) { |
| 101 | GetStoragePartitionMap(browser_context)->AsyncObliterate(site, |
| 102 | on_gc_required); |
| 103 | } |
| 104 | |
| 105 | // static |
| 106 | void BrowserContext::GarbageCollectStoragePartitions( |
| 107 | BrowserContext* browser_context, |
[email protected] | 2dec8ec | 2013-02-07 19:20:34 | [diff] [blame] | 108 | scoped_ptr<base::hash_set<base::FilePath> > active_paths, |
[email protected] | 399583b | 2012-12-11 09:33:42 | [diff] [blame] | 109 | const base::Closure& done) { |
| 110 | GetStoragePartitionMap(browser_context)->GarbageCollect( |
| 111 | active_paths.Pass(), done); |
[email protected] | 14acc64 | 2012-11-17 12:20:10 | [diff] [blame] | 112 | } |
| 113 | |
[email protected] | b441a849 | 2012-06-06 14:55:57 | [diff] [blame] | 114 | DownloadManager* BrowserContext::GetDownloadManager( |
| 115 | BrowserContext* context) { |
[email protected] | ecd3ad2 | 2012-07-10 20:02:40 | [diff] [blame] | 116 | DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
[email protected] | b441a849 | 2012-06-06 14:55:57 | [diff] [blame] | 117 | if (!context->GetUserData(kDownloadManagerKeyName)) { |
[email protected] | d25fda1 | 2012-06-12 17:05:03 | [diff] [blame] | 118 | ResourceDispatcherHostImpl* rdh = ResourceDispatcherHostImpl::Get(); |
| 119 | DCHECK(rdh); |
[email protected] | eba4a4d | 2013-05-29 02:18:06 | [diff] [blame] | 120 | DownloadManager* download_manager = |
[email protected] | d25fda1 | 2012-06-12 17:05:03 | [diff] [blame] | 121 | new DownloadManagerImpl( |
[email protected] | 1679869 | 2013-04-23 18:08:38 | [diff] [blame] | 122 | GetContentClient()->browser()->GetNetLog(), context); |
[email protected] | d25fda1 | 2012-06-12 17:05:03 | [diff] [blame] | 123 | |
[email protected] | b441a849 | 2012-06-06 14:55:57 | [diff] [blame] | 124 | context->SetUserData( |
| 125 | kDownloadManagerKeyName, |
[email protected] | eba4a4d | 2013-05-29 02:18:06 | [diff] [blame] | 126 | download_manager); |
[email protected] | b441a849 | 2012-06-06 14:55:57 | [diff] [blame] | 127 | download_manager->SetDelegate(context->GetDownloadManagerDelegate()); |
[email protected] | b441a849 | 2012-06-06 14:55:57 | [diff] [blame] | 128 | } |
| 129 | |
[email protected] | eba4a4d | 2013-05-29 02:18:06 | [diff] [blame] | 130 | return static_cast<DownloadManager*>( |
| 131 | context->GetUserData(kDownloadManagerKeyName)); |
[email protected] | b441a849 | 2012-06-06 14:55:57 | [diff] [blame] | 132 | } |
| 133 | |
[email protected] | 6ef0c391 | 2013-01-25 22:46:34 | [diff] [blame] | 134 | // static |
| 135 | fileapi::ExternalMountPoints* BrowserContext::GetMountPoints( |
| 136 | BrowserContext* context) { |
| 137 | // Ensure that these methods are called on the UI thread, except for |
| 138 | // unittests where a UI thread might not have been created. |
| 139 | DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI) || |
| 140 | !BrowserThread::IsMessageLoopValid(BrowserThread::UI)); |
| 141 | |
| 142 | #if defined(OS_CHROMEOS) |
| 143 | if (!context->GetUserData(kMountPointsKey)) { |
| 144 | scoped_refptr<fileapi::ExternalMountPoints> mount_points = |
| 145 | fileapi::ExternalMountPoints::CreateRefCounted(); |
| 146 | context->SetUserData( |
| 147 | kMountPointsKey, |
[email protected] | 144b6c4 | 2013-06-14 07:30:38 | [diff] [blame] | 148 | new UserDataAdapter<fileapi::ExternalMountPoints>(mount_points.get())); |
[email protected] | 6ef0c391 | 2013-01-25 22:46:34 | [diff] [blame] | 149 | } |
| 150 | |
| 151 | return UserDataAdapter<fileapi::ExternalMountPoints>::Get( |
| 152 | context, kMountPointsKey); |
| 153 | #else |
| 154 | return NULL; |
| 155 | #endif |
| 156 | } |
| 157 | |
[email protected] | 4c3a2358 | 2012-08-18 08:54:34 | [diff] [blame] | 158 | StoragePartition* BrowserContext::GetStoragePartition( |
| 159 | BrowserContext* browser_context, |
| 160 | SiteInstance* site_instance) { |
[email protected] | 1bc2831 | 2012-11-08 08:31:53 | [diff] [blame] | 161 | std::string partition_domain; |
| 162 | std::string partition_name; |
| 163 | bool in_memory = false; |
[email protected] | 4c3a2358 | 2012-08-18 08:54:34 | [diff] [blame] | 164 | |
| 165 | // TODO(ajwong): After GetDefaultStoragePartition() is removed, get rid of |
| 166 | // this conditional and require that |site_instance| is non-NULL. |
| 167 | if (site_instance) { |
[email protected] | 1bc2831 | 2012-11-08 08:31:53 | [diff] [blame] | 168 | GetContentClient()->browser()->GetStoragePartitionConfigForSite( |
[email protected] | 14acc64 | 2012-11-17 12:20:10 | [diff] [blame] | 169 | browser_context, site_instance->GetSiteURL(), true, |
[email protected] | 1bc2831 | 2012-11-08 08:31:53 | [diff] [blame] | 170 | &partition_domain, &partition_name, &in_memory); |
[email protected] | 4c3a2358 | 2012-08-18 08:54:34 | [diff] [blame] | 171 | } |
| 172 | |
[email protected] | 1bc2831 | 2012-11-08 08:31:53 | [diff] [blame] | 173 | return GetStoragePartitionFromConfig( |
| 174 | browser_context, partition_domain, partition_name, in_memory); |
[email protected] | 4c3a2358 | 2012-08-18 08:54:34 | [diff] [blame] | 175 | } |
| 176 | |
[email protected] | e94bbcb | 2012-09-07 05:33:57 | [diff] [blame] | 177 | StoragePartition* BrowserContext::GetStoragePartitionForSite( |
| 178 | BrowserContext* browser_context, |
| 179 | const GURL& site) { |
[email protected] | 1bc2831 | 2012-11-08 08:31:53 | [diff] [blame] | 180 | std::string partition_domain; |
| 181 | std::string partition_name; |
| 182 | bool in_memory; |
[email protected] | e94bbcb | 2012-09-07 05:33:57 | [diff] [blame] | 183 | |
[email protected] | 1bc2831 | 2012-11-08 08:31:53 | [diff] [blame] | 184 | GetContentClient()->browser()->GetStoragePartitionConfigForSite( |
[email protected] | 14acc64 | 2012-11-17 12:20:10 | [diff] [blame] | 185 | browser_context, site, true, &partition_domain, &partition_name, |
| 186 | &in_memory); |
[email protected] | 1bc2831 | 2012-11-08 08:31:53 | [diff] [blame] | 187 | |
| 188 | return GetStoragePartitionFromConfig( |
| 189 | browser_context, partition_domain, partition_name, in_memory); |
[email protected] | e94bbcb | 2012-09-07 05:33:57 | [diff] [blame] | 190 | } |
| 191 | |
[email protected] | 4c3a2358 | 2012-08-18 08:54:34 | [diff] [blame] | 192 | void BrowserContext::ForEachStoragePartition( |
| 193 | BrowserContext* browser_context, |
| 194 | const StoragePartitionCallback& callback) { |
| 195 | StoragePartitionImplMap* partition_map = |
| 196 | static_cast<StoragePartitionImplMap*>( |
| 197 | browser_context->GetUserData(kStorageParitionMapKeyName)); |
| 198 | if (!partition_map) |
| 199 | return; |
| 200 | |
| 201 | partition_map->ForEach(callback); |
| 202 | } |
| 203 | |
| 204 | StoragePartition* BrowserContext::GetDefaultStoragePartition( |
| 205 | BrowserContext* browser_context) { |
| 206 | return GetStoragePartition(browser_context, NULL); |
[email protected] | 55eb70e76 | 2012-02-20 17:38:39 | [diff] [blame] | 207 | } |
| 208 | |
[email protected] | 314c3e2 | 2012-02-21 03:57:42 | [diff] [blame] | 209 | void BrowserContext::EnsureResourceContextInitialized(BrowserContext* context) { |
[email protected] | 7e26ac9 | 2012-02-27 20:15:05 | [diff] [blame] | 210 | // This will be enough to tickle initialization of BrowserContext if |
| 211 | // necessary, which initializes ResourceContext. The reason we don't call |
[email protected] | 4c3a2358 | 2012-08-18 08:54:34 | [diff] [blame] | 212 | // ResourceContext::InitializeResourceContext() directly here is that |
| 213 | // ResourceContext initialization may call back into BrowserContext |
| 214 | // and when that call returns it'll end rewriting its UserData map. It will |
| 215 | // end up rewriting the same value but this still causes a race condition. |
| 216 | // |
| 217 | // See http://crbug.com/115678. |
| 218 | GetDefaultStoragePartition(context); |
[email protected] | 55eb70e76 | 2012-02-20 17:38:39 | [diff] [blame] | 219 | } |
| 220 | |
[email protected] | 6e2d3d2 | 2012-02-24 18:10:36 | [diff] [blame] | 221 | void BrowserContext::SaveSessionState(BrowserContext* browser_context) { |
[email protected] | 5c8e67c | 2012-08-29 00:48:52 | [diff] [blame] | 222 | GetDefaultStoragePartition(browser_context)->GetDatabaseTracker()-> |
| 223 | SetForceKeepSessionState(); |
[email protected] | b1b502e | 2012-09-16 07:31:43 | [diff] [blame] | 224 | StoragePartition* storage_partition = |
| 225 | BrowserContext::GetDefaultStoragePartition(browser_context); |
[email protected] | 6e2d3d2 | 2012-02-24 18:10:36 | [diff] [blame] | 226 | |
| 227 | if (BrowserThread::IsMessageLoopValid(BrowserThread::IO)) { |
| 228 | BrowserThread::PostTask( |
| 229 | BrowserThread::IO, FROM_HERE, |
[email protected] | 6939075a | 2012-08-28 08:35:53 | [diff] [blame] | 230 | base::Bind( |
| 231 | &SaveSessionStateOnIOThread, |
| 232 | make_scoped_refptr(browser_context->GetRequestContext()), |
[email protected] | b1b502e | 2012-09-16 07:31:43 | [diff] [blame] | 233 | storage_partition->GetAppCacheService())); |
[email protected] | 6e2d3d2 | 2012-02-24 18:10:36 | [diff] [blame] | 234 | } |
| 235 | |
[email protected] | 5f2aa72 | 2013-08-07 16:59:41 | [diff] [blame^] | 236 | DOMStorageContextWrapper* dom_storage_context_proxy = |
| 237 | static_cast<DOMStorageContextWrapper*>( |
[email protected] | b1b502e | 2012-09-16 07:31:43 | [diff] [blame] | 238 | storage_partition->GetDOMStorageContext()); |
[email protected] | 5f2aa72 | 2013-08-07 16:59:41 | [diff] [blame^] | 239 | dom_storage_context_proxy->SetForceKeepSessionState(); |
[email protected] | 735e20c | 2012-03-20 01:16:59 | [diff] [blame] | 240 | |
[email protected] | 89acda8 | 2013-06-25 20:52:50 | [diff] [blame] | 241 | IndexedDBContextImpl* indexed_db_context_impl = |
| 242 | static_cast<IndexedDBContextImpl*>( |
[email protected] | b1b502e | 2012-09-16 07:31:43 | [diff] [blame] | 243 | storage_partition->GetIndexedDBContext()); |
[email protected] | 89acda8 | 2013-06-25 20:52:50 | [diff] [blame] | 244 | // No task runner in unit tests. |
| 245 | if (indexed_db_context_impl->TaskRunner()) { |
| 246 | indexed_db_context_impl->TaskRunner()->PostTask( |
| 247 | FROM_HERE, |
| 248 | base::Bind(&SaveSessionStateOnIndexedDBThread, |
| 249 | make_scoped_refptr(indexed_db_context_impl))); |
[email protected] | 6e2d3d2 | 2012-02-24 18:10:36 | [diff] [blame] | 250 | } |
| 251 | } |
| 252 | |
[email protected] | 6e2d3d2 | 2012-02-24 18:10:36 | [diff] [blame] | 253 | void BrowserContext::PurgeMemory(BrowserContext* browser_context) { |
| 254 | if (BrowserThread::IsMessageLoopValid(BrowserThread::IO)) { |
| 255 | BrowserThread::PostTask( |
| 256 | BrowserThread::IO, FROM_HERE, |
[email protected] | 6939075a | 2012-08-28 08:35:53 | [diff] [blame] | 257 | base::Bind( |
| 258 | &PurgeMemoryOnIOThread, |
| 259 | BrowserContext::GetDefaultStoragePartition(browser_context)-> |
| 260 | GetAppCacheService())); |
[email protected] | 6e2d3d2 | 2012-02-24 18:10:36 | [diff] [blame] | 261 | } |
| 262 | |
[email protected] | 4c3a2358 | 2012-08-18 08:54:34 | [diff] [blame] | 263 | ForEachStoragePartition(browser_context, |
| 264 | base::Bind(&PurgeDOMStorageContextInPartition)); |
[email protected] | 6e2d3d2 | 2012-02-24 18:10:36 | [diff] [blame] | 265 | } |
[email protected] | 7061be9 | 2013-02-18 15:44:02 | [diff] [blame] | 266 | |
[email protected] | e0ce8a1e | 2012-09-18 10:26:36 | [diff] [blame] | 267 | #endif // !OS_IOS |
[email protected] | 6e2d3d2 | 2012-02-24 18:10:36 | [diff] [blame] | 268 | |
[email protected] | 55eb70e76 | 2012-02-20 17:38:39 | [diff] [blame] | 269 | BrowserContext::~BrowserContext() { |
[email protected] | e0ce8a1e | 2012-09-18 10:26:36 | [diff] [blame] | 270 | #if !defined(OS_IOS) |
[email protected] | b441a849 | 2012-06-06 14:55:57 | [diff] [blame] | 271 | if (GetUserData(kDownloadManagerKeyName)) |
| 272 | GetDownloadManager(this)->Shutdown(); |
[email protected] | e0ce8a1e | 2012-09-18 10:26:36 | [diff] [blame] | 273 | #endif |
[email protected] | 55eb70e76 | 2012-02-20 17:38:39 | [diff] [blame] | 274 | } |
| 275 | |
| 276 | } // namespace content |