OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <algorithm> |
| 6 |
5 #include "webkit/appcache/view_appcache_internals_job.h" | 7 #include "webkit/appcache/view_appcache_internals_job.h" |
6 | 8 |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
8 #include "base/format_macros.h" | 10 #include "base/format_macros.h" |
9 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
10 #include "base/i18n/time_formatting.h" | 12 #include "base/i18n/time_formatting.h" |
11 #include "base/string_util.h" | 13 #include "base/string_util.h" |
12 #include "net/base/escape.h" | 14 #include "net/base/escape.h" |
13 #include "net/url_request/url_request.h" | 15 #include "net/url_request/url_request.h" |
14 #include "webkit/appcache/appcache_policy.h" | 16 #include "webkit/appcache/appcache_policy.h" |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 data->append(kErrorMessage); | 251 data->append(kErrorMessage); |
250 else if (info_collection_->infos_by_origin.empty()) | 252 else if (info_collection_->infos_by_origin.empty()) |
251 data->append(kEmptyAppCachesMessage); | 253 data->append(kEmptyAppCachesMessage); |
252 else | 254 else |
253 GenerateHTMLAppCacheInfo(data); | 255 GenerateHTMLAppCacheInfo(data); |
254 EndHTML(data); | 256 EndHTML(data); |
255 return true; | 257 return true; |
256 } | 258 } |
257 | 259 |
258 } // namespace appcache | 260 } // namespace appcache |
OLD | NEW |