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

Side by Side Diff: chrome/browser/predictors/resource_prefetcher.h

Issue 2301403002: predictors: Clean up after removing STLDeleteContainerPairFirstPointers (Closed)
Patch Set: it -> key_value Created 4 years, 3 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 | « no previous file | chrome/browser/predictors/resource_prefetcher_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCHER_H_ 5 #ifndef CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCHER_H_
6 #define CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCHER_H_ 6 #define CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCHER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <algorithm>
11 #include <list> 10 #include <list>
12 #include <map> 11 #include <map>
13 #include <memory> 12 #include <memory>
13 #include <utility>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/scoped_vector.h" 17 #include "base/memory/scoped_vector.h"
18 #include "base/threading/thread_checker.h" 18 #include "base/threading/thread_checker.h"
19 #include "chrome/browser/predictors/resource_prefetch_common.h" 19 #include "chrome/browser/predictors/resource_prefetch_common.h"
20 #include "net/url_request/redirect_info.h" 20 #include "net/url_request/redirect_info.h"
21 #include "net/url_request/url_request.h" 21 #include "net/url_request/url_request.h"
22 #include "url/gurl.h" 22 #include "url/gurl.h"
23 23
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 inflight_requests_; 160 inflight_requests_;
161 std::list<Request*> request_queue_; 161 std::list<Request*> request_queue_;
162 std::map<std::string, size_t> host_inflight_counts_; 162 std::map<std::string, size_t> host_inflight_counts_;
163 163
164 DISALLOW_COPY_AND_ASSIGN(ResourcePrefetcher); 164 DISALLOW_COPY_AND_ASSIGN(ResourcePrefetcher);
165 }; 165 };
166 166
167 } // namespace predictors 167 } // namespace predictors
168 168
169 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCHER_H_ 169 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCHER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/predictors/resource_prefetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698