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/browser/appcache/appcache_host.h" | 5 #include "webkit/browser/appcache/appcache_host.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/string_util.h" | 8 #include "base/strings/string_util.h" |
9 #include "base/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
10 #include "net/url_request/url_request.h" | 10 #include "net/url_request/url_request.h" |
11 #include "webkit/browser/appcache/appcache.h" | 11 #include "webkit/browser/appcache/appcache.h" |
12 #include "webkit/browser/appcache/appcache_backend_impl.h" | 12 #include "webkit/browser/appcache/appcache_backend_impl.h" |
13 #include "webkit/browser/appcache/appcache_policy.h" | 13 #include "webkit/browser/appcache/appcache_policy.h" |
14 #include "webkit/browser/appcache/appcache_request_handler.h" | 14 #include "webkit/browser/appcache/appcache_request_handler.h" |
15 #include "webkit/browser/quota/quota_manager.h" | 15 #include "webkit/browser/quota/quota_manager.h" |
16 | 16 |
17 namespace appcache { | 17 namespace appcache { |
18 | 18 |
19 namespace { | 19 namespace { |
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 associated_cache_info_pending_ = cache && !cache->is_complete(); | 506 associated_cache_info_pending_ = cache && !cache->is_complete(); |
507 AppCacheInfo info; | 507 AppCacheInfo info; |
508 if (cache) | 508 if (cache) |
509 cache->AssociateHost(this); | 509 cache->AssociateHost(this); |
510 | 510 |
511 FillCacheInfo(cache, manifest_url, GetStatus(), &info); | 511 FillCacheInfo(cache, manifest_url, GetStatus(), &info); |
512 frontend_->OnCacheSelected(host_id_, info); | 512 frontend_->OnCacheSelected(host_id_, info); |
513 } | 513 } |
514 | 514 |
515 } // namespace appcache | 515 } // namespace appcache |
OLD | NEW |