OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/web_application_cache_host_impl.h" | 5 #include "webkit/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/string_util.h" | 9 #include "base/string_util.h" |
10 #include "webkit/api/public/WebURL.h" | 10 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" |
11 #include "webkit/api/public/WebURLRequest.h" | 11 #include "third_party/WebKit/WebKit/chromium/public/WebURLRequest.h" |
12 #include "webkit/api/public/WebURLResponse.h" | 12 #include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h" |
13 | 13 |
14 using WebKit::WebApplicationCacheHost; | 14 using WebKit::WebApplicationCacheHost; |
15 using WebKit::WebApplicationCacheHostClient; | 15 using WebKit::WebApplicationCacheHostClient; |
16 using WebKit::WebURLRequest; | 16 using WebKit::WebURLRequest; |
17 using WebKit::WebURL; | 17 using WebKit::WebURL; |
18 using WebKit::WebURLResponse; | 18 using WebKit::WebURLResponse; |
19 | 19 |
20 namespace appcache { | 20 namespace appcache { |
21 | 21 |
22 static IDMap<WebApplicationCacheHostImpl> all_hosts; | 22 static IDMap<WebApplicationCacheHostImpl> all_hosts; |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 187 |
188 bool WebApplicationCacheHostImpl::startUpdate() { | 188 bool WebApplicationCacheHostImpl::startUpdate() { |
189 return backend_->StartUpdate(host_id_); | 189 return backend_->StartUpdate(host_id_); |
190 } | 190 } |
191 | 191 |
192 bool WebApplicationCacheHostImpl::swapCache() { | 192 bool WebApplicationCacheHostImpl::swapCache() { |
193 return backend_->SwapCache(host_id_); | 193 return backend_->SwapCache(host_id_); |
194 } | 194 } |
195 | 195 |
196 } // appcache namespace | 196 } // appcache namespace |
OLD | NEW |