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

Side by Side Diff: chrome/browser/io_thread.h

Issue 1320533007: Componentize ssl_config_service_manager_pref.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added OWNERS and updated gypi type Created 5 years, 3 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 #ifndef CHROME_BROWSER_IO_THREAD_H_ 5 #ifndef CHROME_BROWSER_IO_THREAD_H_
6 #define CHROME_BROWSER_IO_THREAD_H_ 6 #define CHROME_BROWSER_IO_THREAD_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
18 #include "base/prefs/pref_member.h" 18 #include "base/prefs/pref_member.h"
19 #include "base/strings/string_piece.h" 19 #include "base/strings/string_piece.h"
20 #include "base/time/time.h" 20 #include "base/time/time.h"
21 #include "chrome/browser/net/chrome_network_delegate.h" 21 #include "chrome/browser/net/chrome_network_delegate.h"
22 #include "chrome/browser/net/ssl_config_service_manager.h" 22 #include "components/ssl_config/ssl_config_service_manager.h"
23 #include "content/public/browser/browser_thread.h" 23 #include "content/public/browser/browser_thread.h"
24 #include "content/public/browser/browser_thread_delegate.h" 24 #include "content/public/browser/browser_thread_delegate.h"
25 #include "net/base/network_change_notifier.h" 25 #include "net/base/network_change_notifier.h"
26 #include "net/http/http_network_session.h" 26 #include "net/http/http_network_session.h"
27 #include "net/socket/next_proto.h" 27 #include "net/socket/next_proto.h"
28 28
29 class ChromeNetLog; 29 class ChromeNetLog;
30 class PrefProxyConfigTracker; 30 class PrefProxyConfigTracker;
31 class PrefService; 31 class PrefService;
32 class PrefRegistrySimple; 32 class PrefRegistrySimple;
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 std::string auth_schemes_; 473 std::string auth_schemes_;
474 bool negotiate_disable_cname_lookup_; 474 bool negotiate_disable_cname_lookup_;
475 bool negotiate_enable_port_; 475 bool negotiate_enable_port_;
476 std::string auth_server_whitelist_; 476 std::string auth_server_whitelist_;
477 std::string auth_delegate_whitelist_; 477 std::string auth_delegate_whitelist_;
478 std::string gssapi_library_name_; 478 std::string gssapi_library_name_;
479 std::string auth_android_negotiate_account_type_; 479 std::string auth_android_negotiate_account_type_;
480 480
481 // This is an instance of the default SSLConfigServiceManager for the current 481 // This is an instance of the default SSLConfigServiceManager for the current
482 // platform and it gets SSL preferences from local_state object. 482 // platform and it gets SSL preferences from local_state object.
483 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; 483 scoped_ptr<ssl_config::SSLConfigServiceManager> ssl_config_service_manager_;
484 484
485 // These member variables are initialized by a task posted to the IO thread, 485 // These member variables are initialized by a task posted to the IO thread,
486 // which gets posted by calling certain member functions of IOThread. 486 // which gets posted by calling certain member functions of IOThread.
487 scoped_ptr<net::ProxyConfigService> system_proxy_config_service_; 487 scoped_ptr<net::ProxyConfigService> system_proxy_config_service_;
488 488
489 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 489 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
490 490
491 scoped_refptr<net::URLRequestContextGetter> 491 scoped_refptr<net::URLRequestContextGetter>
492 system_url_request_context_getter_; 492 system_url_request_context_getter_;
493 493
494 // True if SPDY is disabled by policy. 494 // True if SPDY is disabled by policy.
495 bool is_spdy_disabled_by_policy_; 495 bool is_spdy_disabled_by_policy_;
496 496
497 // True if QUIC is allowed by policy. 497 // True if QUIC is allowed by policy.
498 bool is_quic_allowed_by_policy_; 498 bool is_quic_allowed_by_policy_;
499 499
500 const base::TimeTicks creation_time_; 500 const base::TimeTicks creation_time_;
501 501
502 base::WeakPtrFactory<IOThread> weak_factory_; 502 base::WeakPtrFactory<IOThread> weak_factory_;
503 503
504 DISALLOW_COPY_AND_ASSIGN(IOThread); 504 DISALLOW_COPY_AND_ASSIGN(IOThread);
505 }; 505 };
506 506
507 #endif // CHROME_BROWSER_IO_THREAD_H_ 507 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698