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

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

Issue 2767893002: Remove ScopedVector from chrome/browser/. (Closed)
Patch Set: Address comments from zea@ Created 3 years, 9 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 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 <list> 10 #include <list>
11 #include <map> 11 #include <map>
12 #include <memory> 12 #include <memory>
13 #include <string> 13 #include <string>
14 #include <utility> 14 #include <utility>
15 #include <vector> 15 #include <vector>
16 16
17 #include "base/macros.h" 17 #include "base/macros.h"
18 #include "base/memory/scoped_vector.h"
19 #include "base/threading/thread_checker.h" 18 #include "base/threading/thread_checker.h"
20 #include "base/time/time.h" 19 #include "base/time/time.h"
21 #include "chrome/browser/predictors/resource_prefetch_common.h" 20 #include "chrome/browser/predictors/resource_prefetch_common.h"
22 #include "net/url_request/redirect_info.h" 21 #include "net/url_request/redirect_info.h"
23 #include "net/url_request/url_request.h" 22 #include "net/url_request/url_request.h"
24 #include "url/gurl.h" 23 #include "url/gurl.h"
25 24
26 namespace net { 25 namespace net {
27 class URLRequestContext; 26 class URLRequestContext;
28 } 27 }
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 std::list<GURL> request_queue_; 154 std::list<GURL> request_queue_;
156 std::map<std::string, size_t> host_inflight_counts_; 155 std::map<std::string, size_t> host_inflight_counts_;
157 std::unique_ptr<PrefetcherStats> stats_; 156 std::unique_ptr<PrefetcherStats> stats_;
158 157
159 DISALLOW_COPY_AND_ASSIGN(ResourcePrefetcher); 158 DISALLOW_COPY_AND_ASSIGN(ResourcePrefetcher);
160 }; 159 };
161 160
162 } // namespace predictors 161 } // namespace predictors
163 162
164 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCHER_H_ 163 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_prefs_browsertest.cc ('k') | chrome/browser/prerender/prerender_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698