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

Side by Side Diff: chrome/browser/net/referrer.h

Issue 3179017: FBTF: Remove "obviously" unneeded standard C++ library #includes. (Closed)
Patch Set: fixed mac oopsie Created 10 years, 4 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 | « chrome/browser/net/predictor.h ('k') | chrome/browser/net/url_request_slow_http_job.h » ('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) 2006-2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This class helps to remember what domains may be needed to be resolved when a 5 // This class helps to remember what domains may be needed to be resolved when a
6 // navigation takes place to a given URL. This information is gathered when a 6 // navigation takes place to a given URL. This information is gathered when a
7 // navigation to a subresource identifies a referring URL. 7 // navigation to a subresource identifies a referring URL.
8 // When future navigations take place to known referrer sites, then we 8 // When future navigations take place to known referrer sites, then we
9 // speculatively either pre-warm a TCP/IP conneciton, or at a minimum, resolve 9 // speculatively either pre-warm a TCP/IP conneciton, or at a minimum, resolve
10 // the host name via DNS. 10 // the host name via DNS.
11 11
12 // All access to this class is performed via the Predictor class, which only 12 // All access to this class is performed via the Predictor class, which only
13 // operates on the IO thread. 13 // operates on the IO thread.
14 14
15 #ifndef CHROME_BROWSER_NET_REFERRER_H_ 15 #ifndef CHROME_BROWSER_NET_REFERRER_H_
16 #define CHROME_BROWSER_NET_REFERRER_H_ 16 #define CHROME_BROWSER_NET_REFERRER_H_
17 #pragma once 17 #pragma once
18 18
19 #include <map> 19 #include <map>
20 #include <string>
21 20
22 #include "base/basictypes.h" 21 #include "base/basictypes.h"
23 #include "base/time.h" 22 #include "base/time.h"
24 #include "googleurl/src/gurl.h" 23 #include "googleurl/src/gurl.h"
25 #include "net/base/host_port_pair.h" 24 #include "net/base/host_port_pair.h"
26 25
27 class Value; 26 class Value;
28 27
29 namespace chrome_browser_net { 28 namespace chrome_browser_net {
30 29
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 140
142 // We put these into a std::map<>, so we need copy constructors. 141 // We put these into a std::map<>, so we need copy constructors.
143 // DISALLOW_COPY_AND_ASSIGN(Referrer); 142 // DISALLOW_COPY_AND_ASSIGN(Referrer);
144 // TODO(jar): Consider optimization to use pointers to these instances, and 143 // TODO(jar): Consider optimization to use pointers to these instances, and
145 // avoid deep copies during re-alloc of the containing map. 144 // avoid deep copies during re-alloc of the containing map.
146 }; 145 };
147 146
148 } // namespace chrome_browser_net 147 } // namespace chrome_browser_net
149 148
150 #endif // CHROME_BROWSER_NET_REFERRER_H_ 149 #endif // CHROME_BROWSER_NET_REFERRER_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/predictor.h ('k') | chrome/browser/net/url_request_slow_http_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698