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

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

Issue 18128002: Use a direct include of time headers in chrome/browser/, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/net/timed_cache.h ('k') | chrome/browser/net/url_info_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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // A UrlInfo object is used to store prediction related information about a host 5 // A UrlInfo object is used to store prediction related information about a host
6 // port and scheme triplet. When performing DNS pre-resolution of the host/port 6 // port and scheme triplet. When performing DNS pre-resolution of the host/port
7 // pair, its state is monitored as it is resolved. 7 // pair, its state is monitored as it is resolved.
8 // It includes progress, from placement in the Predictor's queue, to resolution 8 // It includes progress, from placement in the Predictor's queue, to resolution
9 // by the DNS service as either FOUND or NO_SUCH_NAME. Each instance may also 9 // by the DNS service as either FOUND or NO_SUCH_NAME. Each instance may also
10 // hold records of previous resolution times, which might later be shown to be 10 // hold records of previous resolution times, which might later be shown to be
11 // savings relative to resolution time during a navigation. 11 // savings relative to resolution time during a navigation.
12 // UrlInfo objects are also used to describe frames, and additional instances 12 // UrlInfo objects are also used to describe frames, and additional instances
13 // may describe associated subresources, for future speculative connections to 13 // may describe associated subresources, for future speculative connections to
14 // those expected subresources. 14 // those expected subresources.
15 15
16 #ifndef CHROME_BROWSER_NET_URL_INFO_H_ 16 #ifndef CHROME_BROWSER_NET_URL_INFO_H_
17 #define CHROME_BROWSER_NET_URL_INFO_H_ 17 #define CHROME_BROWSER_NET_URL_INFO_H_
18 18
19 #include <string> 19 #include <string>
20 #include <vector> 20 #include <vector>
21 21
22 #include "base/time.h" 22 #include "base/time/time.h"
23 #include "googleurl/src/gurl.h" 23 #include "googleurl/src/gurl.h"
24 #include "net/base/host_port_pair.h" 24 #include "net/base/host_port_pair.h"
25 25
26 namespace chrome_browser_net { 26 namespace chrome_browser_net {
27 27
28 // Use command line switch to enable detailed logging. 28 // Use command line switch to enable detailed logging.
29 void EnablePredictorDetailedLog(bool enable); 29 void EnablePredictorDetailedLog(bool enable);
30 30
31 class UrlInfo { 31 class UrlInfo {
32 public: 32 public:
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 GURL referring_url_; 179 GURL referring_url_;
180 180
181 // We put these objects into a std::map, and hence we 181 // We put these objects into a std::map, and hence we
182 // need some "evil" constructors. 182 // need some "evil" constructors.
183 // DISALLOW_COPY_AND_ASSIGN(UrlInfo); 183 // DISALLOW_COPY_AND_ASSIGN(UrlInfo);
184 }; 184 };
185 185
186 } // namespace chrome_browser_net 186 } // namespace chrome_browser_net
187 187
188 #endif // CHROME_BROWSER_NET_URL_INFO_H_ 188 #endif // CHROME_BROWSER_NET_URL_INFO_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/timed_cache.h ('k') | chrome/browser/net/url_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698