Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Side by Side Diff: net/http/http_cache.cc

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/http/http_cache.h" 5 #include "net/http/http_cache.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 25 matching lines...) Expand all
36 #include "net/base/upload_data_stream.h" 36 #include "net/base/upload_data_stream.h"
37 #include "net/disk_cache/disk_cache.h" 37 #include "net/disk_cache/disk_cache.h"
38 #include "net/http/disk_cache_based_quic_server_info.h" 38 #include "net/http/disk_cache_based_quic_server_info.h"
39 #include "net/http/http_cache_transaction.h" 39 #include "net/http/http_cache_transaction.h"
40 #include "net/http/http_network_layer.h" 40 #include "net/http/http_network_layer.h"
41 #include "net/http/http_network_session.h" 41 #include "net/http/http_network_session.h"
42 #include "net/http/http_request_info.h" 42 #include "net/http/http_request_info.h"
43 #include "net/http/http_response_headers.h" 43 #include "net/http/http_response_headers.h"
44 #include "net/http/http_response_info.h" 44 #include "net/http/http_response_info.h"
45 #include "net/http/http_util.h" 45 #include "net/http/http_util.h"
46 #include "net/quic/crypto/quic_server_info.h" 46 #include "net/quic/core/crypto/quic_server_info.h"
47 47
48 #if defined(OS_POSIX) 48 #if defined(OS_POSIX)
49 #include <unistd.h> 49 #include <unistd.h>
50 #endif 50 #endif
51 51
52 namespace net { 52 namespace net {
53 53
54 HttpCache::DefaultBackend::DefaultBackend( 54 HttpCache::DefaultBackend::DefaultBackend(
55 CacheType type, 55 CacheType type,
56 BackendType backend_type, 56 BackendType backend_type,
(...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
1154 building_backend_ = false; 1154 building_backend_ = false;
1155 DeletePendingOp(pending_op); 1155 DeletePendingOp(pending_op);
1156 } 1156 }
1157 1157
1158 // The cache may be gone when we return from the callback. 1158 // The cache may be gone when we return from the callback.
1159 if (!item->DoCallback(result, disk_cache_.get())) 1159 if (!item->DoCallback(result, disk_cache_.get()))
1160 item->NotifyTransaction(result, NULL); 1160 item->NotifyTransaction(result, NULL);
1161 } 1161 }
1162 1162
1163 } // namespace net 1163 } // namespace net
OLDNEW
« no previous file with comments | « net/http/disk_cache_based_quic_server_info_unittest.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698