OLD | NEW |
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 #include "webkit/appcache/appcache_service.h" | 5 #include "webkit/appcache/appcache_service.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/stl_util-inl.h" | 9 #include "base/stl_util.h" |
10 #include "webkit/appcache/appcache_backend_impl.h" | 10 #include "webkit/appcache/appcache_backend_impl.h" |
11 #include "webkit/appcache/appcache_entry.h" | 11 #include "webkit/appcache/appcache_entry.h" |
12 #include "webkit/appcache/appcache_quota_client.h" | 12 #include "webkit/appcache/appcache_quota_client.h" |
13 #include "webkit/appcache/appcache_storage_impl.h" | 13 #include "webkit/appcache/appcache_storage_impl.h" |
14 #include "webkit/quota/quota_manager.h" | 14 #include "webkit/quota/quota_manager.h" |
15 #include "webkit/quota/special_storage_policy.h" | 15 #include "webkit/quota/special_storage_policy.h" |
16 | 16 |
17 namespace appcache { | 17 namespace appcache { |
18 | 18 |
19 AppCacheInfoCollection::AppCacheInfoCollection() {} | 19 AppCacheInfoCollection::AppCacheInfoCollection() {} |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 backends_.insert( | 336 backends_.insert( |
337 BackendMap::value_type(backend_impl->process_id(), backend_impl)); | 337 BackendMap::value_type(backend_impl->process_id(), backend_impl)); |
338 } | 338 } |
339 | 339 |
340 void AppCacheService::UnregisterBackend( | 340 void AppCacheService::UnregisterBackend( |
341 AppCacheBackendImpl* backend_impl) { | 341 AppCacheBackendImpl* backend_impl) { |
342 backends_.erase(backend_impl->process_id()); | 342 backends_.erase(backend_impl->process_id()); |
343 } | 343 } |
344 | 344 |
345 } // namespace appcache | 345 } // namespace appcache |
OLD | NEW |