OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_update_job.h" | 5 #include "webkit/browser/appcache/appcache_update_job.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/string_util.h" | 11 #include "base/strings/string_util.h" |
12 #include "base/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
13 #include "net/base/io_buffer.h" | 13 #include "net/base/io_buffer.h" |
14 #include "net/base/load_flags.h" | 14 #include "net/base/load_flags.h" |
15 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
16 #include "net/http/http_request_headers.h" | 16 #include "net/http/http_request_headers.h" |
17 #include "net/http/http_response_headers.h" | 17 #include "net/http/http_response_headers.h" |
18 #include "net/url_request/url_request_context.h" | 18 #include "net/url_request/url_request_context.h" |
19 #include "webkit/browser/appcache/appcache_group.h" | 19 #include "webkit/browser/appcache/appcache_group.h" |
20 #include "webkit/browser/appcache/appcache_histograms.h" | 20 #include "webkit/browser/appcache/appcache_histograms.h" |
21 | 21 |
22 namespace appcache { | 22 namespace appcache { |
(...skipping 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1347 | 1347 |
1348 // Break the connection with the group so the group cannot call delete | 1348 // Break the connection with the group so the group cannot call delete |
1349 // on this object after we've posted a task to delete ourselves. | 1349 // on this object after we've posted a task to delete ourselves. |
1350 group_->SetUpdateStatus(AppCacheGroup::IDLE); | 1350 group_->SetUpdateStatus(AppCacheGroup::IDLE); |
1351 group_ = NULL; | 1351 group_ = NULL; |
1352 | 1352 |
1353 base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); | 1353 base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); |
1354 } | 1354 } |
1355 | 1355 |
1356 } // namespace appcache | 1356 } // namespace appcache |
OLD | NEW |