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

Side by Side Diff: chrome/browser/net/predictor_api.cc

Issue 5089001: Cleanup: Include browser.h -> ui/browser.h [Part 3]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes. Created 10 years, 1 month 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
OLDNEW
1 // Copyright (c) 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 #include "chrome/browser/net/predictor_api.h" 5 #include "chrome/browser/net/predictor_api.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 9
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
11 #include "base/singleton.h" 11 #include "base/singleton.h"
12 #include "base/stl_util-inl.h" 12 #include "base/stl_util-inl.h"
13 #include "base/string_number_conversions.h" 13 #include "base/string_number_conversions.h"
14 #include "base/thread.h" 14 #include "base/thread.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "base/waitable_event.h" 16 #include "base/waitable_event.h"
17 #include "chrome/browser/browser.h"
18 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
19 #include "chrome/browser/browser_thread.h" 18 #include "chrome/browser/browser_thread.h"
20 #include "chrome/browser/io_thread.h" 19 #include "chrome/browser/io_thread.h"
21 #include "chrome/browser/net/preconnect.h" 20 #include "chrome/browser/net/preconnect.h"
22 #include "chrome/browser/net/referrer.h" 21 #include "chrome/browser/net/referrer.h"
23 #include "chrome/browser/net/url_info.h" 22 #include "chrome/browser/net/url_info.h"
24 #include "chrome/browser/prefs/pref_service.h" 23 #include "chrome/browser/prefs/pref_service.h"
25 #include "chrome/browser/prefs/session_startup_pref.h" 24 #include "chrome/browser/prefs/session_startup_pref.h"
26 #include "chrome/browser/profile.h" 25 #include "chrome/browser/profile.h"
26 #include "chrome/browser/ui/browser.h"
27 #include "chrome/common/notification_registrar.h" 27 #include "chrome/common/notification_registrar.h"
28 #include "chrome/common/notification_service.h" 28 #include "chrome/common/notification_service.h"
29 #include "chrome/common/pref_names.h" 29 #include "chrome/common/pref_names.h"
30 #include "net/base/host_resolver.h" 30 #include "net/base/host_resolver.h"
31 #include "net/base/host_resolver_impl.h" 31 #include "net/base/host_resolver_impl.h"
32 32
33 using base::Time; 33 using base::Time;
34 using base::TimeDelta; 34 using base::TimeDelta;
35 35
36 namespace chrome_browser_net { 36 namespace chrome_browser_net {
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 DCHECK(!g_predictor); 610 DCHECK(!g_predictor);
611 InitNetworkPredictor(max_queueing_delay, max_parallel_resolves, user_prefs, 611 InitNetworkPredictor(max_queueing_delay, max_parallel_resolves, user_prefs,
612 local_state, preconnect_enabled); 612 local_state, preconnect_enabled);
613 } 613 }
614 } 614 }
615 615
616 PredictorInit::~PredictorInit() { 616 PredictorInit::~PredictorInit() {
617 } 617 }
618 618
619 } // namespace chrome_browser_net 619 } // namespace chrome_browser_net
OLDNEW
« no previous file with comments | « chrome/browser/net/cookie_policy_browsertest.cc ('k') | chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698