| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "net/url_request/view_cache_helper.h" | 5 #include "net/url_request/view_cache_helper.h" |
| 6 | 6 |
| 7 #include "base/string_util.h" | 7 #include "base/stringprintf.h" |
| 8 #include "net/base/escape.h" | 8 #include "net/base/escape.h" |
| 9 #include "net/base/io_buffer.h" | 9 #include "net/base/io_buffer.h" |
| 10 #include "net/base/net_errors.h" | 10 #include "net/base/net_errors.h" |
| 11 #include "net/disk_cache/disk_cache.h" | 11 #include "net/disk_cache/disk_cache.h" |
| 12 #include "net/http/http_cache.h" | 12 #include "net/http/http_cache.h" |
| 13 #include "net/http/http_response_headers.h" | 13 #include "net/http/http_response_headers.h" |
| 14 #include "net/http/http_response_info.h" | 14 #include "net/http/http_response_info.h" |
| 15 #include "net/url_request/url_request_context.h" | 15 #include "net/url_request/url_request_context.h" |
| 16 | 16 |
| 17 #define VIEW_CACHE_HEAD \ | 17 #define VIEW_CACHE_HEAD \ |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 entry_ = NULL; | 346 entry_ = NULL; |
| 347 } | 347 } |
| 348 return OK; | 348 return OK; |
| 349 } | 349 } |
| 350 | 350 |
| 351 void ViewCacheHelper::OnIOComplete(int result) { | 351 void ViewCacheHelper::OnIOComplete(int result) { |
| 352 DoLoop(result); | 352 DoLoop(result); |
| 353 } | 353 } |
| 354 | 354 |
| 355 } // namespace net. | 355 } // namespace net. |
| OLD | NEW |