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 "net/url_request/view_cache_helper.h" | 5 #include "net/url_request/view_cache_helper.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/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
10 #include "net/base/escape.h" | 10 #include "net/base/escape.h" |
11 #include "net/base/io_buffer.h" | 11 #include "net/base/io_buffer.h" |
12 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
13 #include "net/disk_cache/disk_cache.h" | 13 #include "net/disk_cache/disk_cache.h" |
14 #include "net/http/http_cache.h" | 14 #include "net/http/http_cache.h" |
15 #include "net/http/http_response_headers.h" | 15 #include "net/http/http_response_headers.h" |
16 #include "net/http/http_response_info.h" | 16 #include "net/http/http_response_info.h" |
17 #include "net/url_request/url_request_context.h" | 17 #include "net/url_request/url_request_context.h" |
18 | 18 |
19 #define VIEW_CACHE_HEAD \ | 19 #define VIEW_CACHE_HEAD \ |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 entry_ = NULL; | 357 entry_ = NULL; |
358 } | 358 } |
359 return OK; | 359 return OK; |
360 } | 360 } |
361 | 361 |
362 void ViewCacheHelper::OnIOComplete(int result) { | 362 void ViewCacheHelper::OnIOComplete(int result) { |
363 DoLoop(result); | 363 DoLoop(result); |
364 } | 364 } |
365 | 365 |
366 } // namespace net. | 366 } // namespace net. |
OLD | NEW |