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

Side by Side Diff: net/tools/quic/quic_http_response_cache.cc

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 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/tools/quic/quic_http_response_cache.h ('k') | net/tools/quic/quic_simple_client.cc » ('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/tools/quic/quic_http_response_cache.h" 5 #include "net/tools/quic/quic_http_response_cache.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/files/file_enumerator.h" 9 #include "base/files/file_enumerator.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
11 #include "net/http/http_util.h" 11 #include "net/http/http_util.h"
12 #include "net/quic/platform/api/quic_bug_tracker.h" 12 #include "net/quic/platform/api/quic_bug_tracker.h"
13 #include "net/quic/platform/api/quic_logging.h" 13 #include "net/quic/platform/api/quic_logging.h"
14 #include "net/quic/platform/api/quic_map_util.h" 14 #include "net/quic/platform/api/quic_map_util.h"
15 #include "net/quic/platform/api/quic_ptr_util.h" 15 #include "net/quic/platform/api/quic_ptr_util.h"
16 #include "net/quic/platform/api/quic_text_utils.h" 16 #include "net/quic/platform/api/quic_text_utils.h"
17 #include "net/spdy/spdy_http_utils.h" 17 #include "net/spdy/chromium/spdy_http_utils.h"
18 18
19 using base::FilePath; 19 using base::FilePath;
20 using base::IntToString; 20 using base::IntToString;
21 using std::string; 21 using std::string;
22 22
23 namespace net { 23 namespace net {
24 24
25 QuicHttpResponseCache::ServerPushInfo::ServerPushInfo(QuicUrl request_url, 25 QuicHttpResponseCache::ServerPushInfo::ServerPushInfo(QuicUrl request_url,
26 SpdyHeaderBlock headers, 26 SpdyHeaderBlock headers,
27 SpdyPriority priority, 27 SpdyPriority priority,
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 ServerPushInfo push_resource = it->second; 383 ServerPushInfo push_resource = it->second;
384 if (push_resource.request_url.ToString() == 384 if (push_resource.request_url.ToString() ==
385 resource.request_url.ToString()) { 385 resource.request_url.ToString()) {
386 return true; 386 return true;
387 } 387 }
388 } 388 }
389 return false; 389 return false;
390 } 390 }
391 391
392 } // namespace net 392 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_http_response_cache.h ('k') | net/tools/quic/quic_simple_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698