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

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

Issue 2566783002: Various formatting cleanups to net/quic/crypto and net/quic/congestion_control (Closed)
Patch Set: Rebase Created 3 years, 12 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
« no previous file with comments | « net/http/disk_cache_based_quic_server_info_unittest.cc ('k') | net/net.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/disk_cache/disk_cache.h" 36 #include "net/disk_cache/disk_cache.h"
37 #include "net/http/disk_cache_based_quic_server_info.h" 37 #include "net/http/disk_cache_based_quic_server_info.h"
38 #include "net/http/http_cache_transaction.h" 38 #include "net/http/http_cache_transaction.h"
39 #include "net/http/http_network_layer.h" 39 #include "net/http/http_network_layer.h"
40 #include "net/http/http_network_session.h" 40 #include "net/http/http_network_session.h"
41 #include "net/http/http_request_info.h" 41 #include "net/http/http_request_info.h"
42 #include "net/http/http_response_headers.h" 42 #include "net/http/http_response_headers.h"
43 #include "net/http/http_response_info.h" 43 #include "net/http/http_response_info.h"
44 #include "net/http/http_util.h" 44 #include "net/http/http_util.h"
45 #include "net/log/net_log_with_source.h" 45 #include "net/log/net_log_with_source.h"
46 #include "net/quic/core/crypto/quic_server_info.h" 46 #include "net/quic/chromium/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 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 building_backend_ = false; 1152 building_backend_ = false;
1153 DeletePendingOp(pending_op); 1153 DeletePendingOp(pending_op);
1154 } 1154 }
1155 1155
1156 // The cache may be gone when we return from the callback. 1156 // The cache may be gone when we return from the callback.
1157 if (!item->DoCallback(result, disk_cache_.get())) 1157 if (!item->DoCallback(result, disk_cache_.get()))
1158 item->NotifyTransaction(result, NULL); 1158 item->NotifyTransaction(result, NULL);
1159 } 1159 }
1160 1160
1161 } // namespace net 1161 } // namespace net
OLDNEW
« no previous file with comments | « net/http/disk_cache_based_quic_server_info_unittest.cc ('k') | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698