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

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

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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/network_stats.cc ('k') | chrome/browser/net/referrer.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 Predictor object is instantiated once in the browser process, and manages 5 // A Predictor object is instantiated once in the browser process, and manages
6 // both preresolution of hostnames, as well as TCP/IP preconnection to expected 6 // both preresolution of hostnames, as well as TCP/IP preconnection to expected
7 // subresources. 7 // subresources.
8 // Most hostname lists are provided by the renderer processes, and include URLs 8 // Most hostname lists are provided by the renderer processes, and include URLs
9 // that *might* be used in the near future by the browsing user. One goal of 9 // that *might* be used in the near future by the browsing user. One goal of
10 // this class is to cause the underlying DNS structure to lookup a hostname 10 // this class is to cause the underlying DNS structure to lookup a hostname
(...skipping 10 matching lines...) Expand all
21 #pragma once 21 #pragma once
22 22
23 #include <map> 23 #include <map>
24 #include <queue> 24 #include <queue>
25 #include <set> 25 #include <set>
26 #include <string> 26 #include <string>
27 #include <vector> 27 #include <vector>
28 28
29 #include "base/gtest_prod_util.h" 29 #include "base/gtest_prod_util.h"
30 #include "base/memory/scoped_ptr.h" 30 #include "base/memory/scoped_ptr.h"
31 #include "base/memory/weak_ptr.h"
31 #include "chrome/browser/net/url_info.h" 32 #include "chrome/browser/net/url_info.h"
32 #include "chrome/browser/net/referrer.h" 33 #include "chrome/browser/net/referrer.h"
33 #include "chrome/common/net/predictor_common.h" 34 #include "chrome/common/net/predictor_common.h"
34 #include "net/base/host_port_pair.h" 35 #include "net/base/host_port_pair.h"
35 36
36 namespace base { 37 namespace base {
37 class ListValue; 38 class ListValue;
38 } 39 }
39 40
40 namespace base { 41 namespace base {
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 virtual ~SimplePredictor() {} 506 virtual ~SimplePredictor() {}
506 virtual void InitNetworkPredictor(PrefService* user_prefs, 507 virtual void InitNetworkPredictor(PrefService* user_prefs,
507 PrefService* local_state, 508 PrefService* local_state,
508 IOThread* io_thread) OVERRIDE; 509 IOThread* io_thread) OVERRIDE;
509 virtual void ShutdownOnUIThread(PrefService* user_prefs) OVERRIDE; 510 virtual void ShutdownOnUIThread(PrefService* user_prefs) OVERRIDE;
510 }; 511 };
511 512
512 } // namespace chrome_browser_net 513 } // namespace chrome_browser_net
513 514
514 #endif // CHROME_BROWSER_NET_PREDICTOR_H_ 515 #endif // CHROME_BROWSER_NET_PREDICTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/network_stats.cc ('k') | chrome/browser/net/referrer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698