| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/child/appcache/web_application_cache_host_impl.h" | 5 #include "content/child/appcache/web_application_cache_host_impl.h" |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 #include "base/id_map.h" | 8 #include "base/id_map.h" |
| 9 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
| 10 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
| 11 #include "third_party/WebKit/public/platform/WebURL.h" | 11 #include "third_party/WebKit/public/platform/WebURL.h" |
| 12 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 12 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
| 13 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 13 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
| 14 #include "third_party/WebKit/public/web/WebDataSource.h" | 14 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 15 #include "third_party/WebKit/public/web/WebFrame.h" | 15 #include "third_party/WebKit/public/web/WebFrame.h" |
| 16 | 16 |
| 17 using WebKit::WebApplicationCacheHost; | 17 using blink::WebApplicationCacheHost; |
| 18 using WebKit::WebApplicationCacheHostClient; | 18 using blink::WebApplicationCacheHostClient; |
| 19 using WebKit::WebDataSource; | 19 using blink::WebDataSource; |
| 20 using WebKit::WebFrame; | 20 using blink::WebFrame; |
| 21 using WebKit::WebURLRequest; | 21 using blink::WebURLRequest; |
| 22 using WebKit::WebURL; | 22 using blink::WebURL; |
| 23 using WebKit::WebURLResponse; | 23 using blink::WebURLResponse; |
| 24 using WebKit::WebVector; | 24 using blink::WebVector; |
| 25 using appcache::AppCacheBackend; | 25 using appcache::AppCacheBackend; |
| 26 using appcache::AppCacheResourceInfo; | 26 using appcache::AppCacheResourceInfo; |
| 27 | 27 |
| 28 namespace content { | 28 namespace content { |
| 29 | 29 |
| 30 namespace { | 30 namespace { |
| 31 | 31 |
| 32 // Note: the order of the elements in this array must match those | 32 // Note: the order of the elements in this array must match those |
| 33 // of the EventID enum in appcache_interfaces.h. | 33 // of the EventID enum in appcache_interfaces.h. |
| 34 const char* kEventNames[] = { | 34 const char* kEventNames[] = { |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 web_resources[i].isExplicit = resource_infos[i].is_explicit; | 321 web_resources[i].isExplicit = resource_infos[i].is_explicit; |
| 322 web_resources[i].isManifest = resource_infos[i].is_manifest; | 322 web_resources[i].isManifest = resource_infos[i].is_manifest; |
| 323 web_resources[i].isForeign = resource_infos[i].is_foreign; | 323 web_resources[i].isForeign = resource_infos[i].is_foreign; |
| 324 web_resources[i].isFallback = resource_infos[i].is_fallback; | 324 web_resources[i].isFallback = resource_infos[i].is_fallback; |
| 325 web_resources[i].url = resource_infos[i].url; | 325 web_resources[i].url = resource_infos[i].url; |
| 326 } | 326 } |
| 327 resources->swap(web_resources); | 327 resources->swap(web_resources); |
| 328 } | 328 } |
| 329 | 329 |
| 330 } // namespace content | 330 } // namespace content |
| OLD | NEW |