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

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

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 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 (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 #include "chrome/browser/net/predictor.h" 5 #include "chrome/browser/net/predictor.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 #include <iterator> 9 #include <iterator>
10 #include <set> 10 #include <set>
(...skipping 25 matching lines...) Expand all
36 #include "components/pref_registry/pref_registry_syncable.h" 36 #include "components/pref_registry/pref_registry_syncable.h"
37 #include "components/prefs/pref_service.h" 37 #include "components/prefs/pref_service.h"
38 #include "components/prefs/scoped_user_pref_update.h" 38 #include "components/prefs/scoped_user_pref_update.h"
39 #include "content/public/browser/browser_thread.h" 39 #include "content/public/browser/browser_thread.h"
40 #include "content/public/browser/resource_hints.h" 40 #include "content/public/browser/resource_hints.h"
41 #include "net/base/address_list.h" 41 #include "net/base/address_list.h"
42 #include "net/base/completion_callback.h" 42 #include "net/base/completion_callback.h"
43 #include "net/base/host_port_pair.h" 43 #include "net/base/host_port_pair.h"
44 #include "net/base/net_errors.h" 44 #include "net/base/net_errors.h"
45 #include "net/http/transport_security_state.h" 45 #include "net/http/transport_security_state.h"
46 #include "net/log/net_log.h" 46 #include "net/log/net_log_with_source.h"
47 #include "net/proxy/proxy_info.h" 47 #include "net/proxy/proxy_info.h"
48 #include "net/proxy/proxy_service.h" 48 #include "net/proxy/proxy_service.h"
49 #include "net/ssl/ssl_config_service.h" 49 #include "net/ssl/ssl_config_service.h"
50 #include "net/url_request/url_request_context.h" 50 #include "net/url_request/url_request_context.h"
51 #include "net/url_request/url_request_context_getter.h" 51 #include "net/url_request/url_request_context_getter.h"
52 52
53 using base::TimeDelta; 53 using base::TimeDelta;
54 using content::BrowserThread; 54 using content::BrowserThread;
55 55
56 namespace chrome_browser_net { 56 namespace chrome_browser_net {
(...skipping 1139 matching lines...) Expand 10 before | Expand all | Expand 10 after
1196 } 1196 }
1197 1197
1198 void SimplePredictor::ShutdownOnUIThread() { 1198 void SimplePredictor::ShutdownOnUIThread() {
1199 SetShutdown(true); 1199 SetShutdown(true);
1200 } 1200 }
1201 1201
1202 bool SimplePredictor::CanPrefetchAndPrerender() const { return true; } 1202 bool SimplePredictor::CanPrefetchAndPrerender() const { return true; }
1203 bool SimplePredictor::CanPreresolveAndPreconnect() const { return true; } 1203 bool SimplePredictor::CanPreresolveAndPreconnect() const { return true; }
1204 1204
1205 } // namespace chrome_browser_net 1205 } // namespace chrome_browser_net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698