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

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

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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>
9
8 #include <list> 10 #include <list>
9 #include <map> 11 #include <map>
10 #include <vector> 12 #include <vector>
11 13
14 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/scoped_vector.h" 16 #include "base/memory/scoped_vector.h"
14 #include "base/threading/thread_checker.h" 17 #include "base/threading/thread_checker.h"
15 #include "chrome/browser/predictors/resource_prefetch_common.h" 18 #include "chrome/browser/predictors/resource_prefetch_common.h"
16 #include "net/url_request/redirect_info.h" 19 #include "net/url_request/redirect_info.h"
17 #include "net/url_request/url_request.h" 20 #include "net/url_request/url_request.h"
18 #include "url/gurl.h" 21 #include "url/gurl.h"
19 22
20 namespace net { 23 namespace net {
21 class URLRequestContext; 24 class URLRequestContext;
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 std::map<net::URLRequest*, Request*> inflight_requests_; 157 std::map<net::URLRequest*, Request*> inflight_requests_;
155 std::list<Request*> request_queue_; 158 std::list<Request*> request_queue_;
156 std::map<std::string, size_t> host_inflight_counts_; 159 std::map<std::string, size_t> host_inflight_counts_;
157 160
158 DISALLOW_COPY_AND_ASSIGN(ResourcePrefetcher); 161 DISALLOW_COPY_AND_ASSIGN(ResourcePrefetcher);
159 }; 162 };
160 163
161 } // namespace predictors 164 } // namespace predictors
162 165
163 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCHER_H_ 166 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698