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_backend_impl.h" | 5 #include "webkit/appcache/appcache_backend_impl.h" |
6 | 6 |
7 #include "base/stl_util-inl.h" | 7 #include "base/stl_util.h" |
8 #include "webkit/appcache/appcache.h" | 8 #include "webkit/appcache/appcache.h" |
9 #include "webkit/appcache/appcache_group.h" | 9 #include "webkit/appcache/appcache_group.h" |
10 #include "webkit/appcache/appcache_service.h" | 10 #include "webkit/appcache/appcache_service.h" |
11 #include "webkit/appcache/web_application_cache_host_impl.h" | 11 #include "webkit/appcache/web_application_cache_host_impl.h" |
12 | 12 |
13 namespace appcache { | 13 namespace appcache { |
14 | 14 |
15 AppCacheBackendImpl::AppCacheBackendImpl() | 15 AppCacheBackendImpl::AppCacheBackendImpl() |
16 : service_(NULL), | 16 : service_(NULL), |
17 frontend_(NULL), | 17 frontend_(NULL), |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 void AppCacheBackendImpl::GetResourceList( | 142 void AppCacheBackendImpl::GetResourceList( |
143 int host_id, std::vector<appcache::AppCacheResourceInfo>* resource_infos) { | 143 int host_id, std::vector<appcache::AppCacheResourceInfo>* resource_infos) { |
144 AppCacheHost* host = GetHost(host_id); | 144 AppCacheHost* host = GetHost(host_id); |
145 if (!host) | 145 if (!host) |
146 return; | 146 return; |
147 | 147 |
148 host->GetResourceList(resource_infos); | 148 host->GetResourceList(resource_infos); |
149 } | 149 } |
150 | 150 |
151 } // namespace appcache | 151 } // namespace appcache |
OLD | NEW |