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

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

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc 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/dns/mojo_host_struct_traits.cc ('k') | net/http/http_cache_lookup_manager_unittest.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_lookup_manager.h" 5 #include "net/http/http_cache_lookup_manager.h"
6 6
7 #include "base/memory/ptr_util.h"
7 #include "net/base/load_flags.h" 8 #include "net/base/load_flags.h"
8 9
9 namespace net { 10 namespace net {
10 11
11 HttpCacheLookupManager::LookupTransaction::LookupTransaction( 12 HttpCacheLookupManager::LookupTransaction::LookupTransaction(
12 std::unique_ptr<ServerPushHelper> server_push_helper) 13 std::unique_ptr<ServerPushHelper> server_push_helper)
13 : push_helper_(std::move(server_push_helper)), 14 : push_helper_(std::move(server_push_helper)),
14 request_(new HttpRequestInfo()), 15 request_(new HttpRequestInfo()),
15 transaction_(nullptr) {} 16 transaction_(nullptr) {}
16 17
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 auto it = lookup_transactions_.find(url); 62 auto it = lookup_transactions_.find(url);
62 DCHECK(it != lookup_transactions_.end()); 63 DCHECK(it != lookup_transactions_.end());
63 64
64 if (rv == OK) 65 if (rv == OK)
65 it->second->CancelPush(); 66 it->second->CancelPush();
66 67
67 lookup_transactions_.erase(it); 68 lookup_transactions_.erase(it);
68 } 69 }
69 70
70 } // namespace net 71 } // namespace net
OLDNEW
« no previous file with comments | « net/dns/mojo_host_struct_traits.cc ('k') | net/http/http_cache_lookup_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698