| 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_response.h" | 5 #include "webkit/browser/appcache/appcache_response.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/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
| 12 #include "base/pickle.h" | 12 #include "base/pickle.h" |
| 13 #include "base/string_util.h" | 13 #include "base/strings/string_util.h" |
| 14 #include "net/base/completion_callback.h" | 14 #include "net/base/completion_callback.h" |
| 15 #include "net/base/io_buffer.h" | 15 #include "net/base/io_buffer.h" |
| 16 #include "net/base/net_errors.h" | 16 #include "net/base/net_errors.h" |
| 17 #include "webkit/browser/appcache/appcache_service.h" | 17 #include "webkit/browser/appcache/appcache_service.h" |
| 18 | 18 |
| 19 namespace appcache { | 19 namespace appcache { |
| 20 | 20 |
| 21 namespace { | 21 namespace { |
| 22 | 22 |
| 23 // Disk cache entry data indices. | 23 // Disk cache entry data indices. |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 create_callback_.Reset(); | 414 create_callback_.Reset(); |
| 415 } | 415 } |
| 416 | 416 |
| 417 if (info_buffer_.get()) | 417 if (info_buffer_.get()) |
| 418 ContinueWriteInfo(); | 418 ContinueWriteInfo(); |
| 419 else | 419 else |
| 420 ContinueWriteData(); | 420 ContinueWriteData(); |
| 421 } | 421 } |
| 422 | 422 |
| 423 } // namespace appcache | 423 } // namespace appcache |
| OLD | NEW |