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

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

Issue 575993002: Fix WeakPtrFactory member ordering in chrome/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « chrome/browser/io_thread.h ('k') | chrome/browser/jumplist_win.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) 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/io_thread.h" 5 #include "chrome/browser/io_thread.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 PrefService* local_state, 442 PrefService* local_state,
443 policy::PolicyService* policy_service, 443 policy::PolicyService* policy_service,
444 ChromeNetLog* net_log, 444 ChromeNetLog* net_log,
445 extensions::EventRouterForwarder* extension_event_router_forwarder) 445 extensions::EventRouterForwarder* extension_event_router_forwarder)
446 : net_log_(net_log), 446 : net_log_(net_log),
447 #if defined(ENABLE_EXTENSIONS) 447 #if defined(ENABLE_EXTENSIONS)
448 extension_event_router_forwarder_(extension_event_router_forwarder), 448 extension_event_router_forwarder_(extension_event_router_forwarder),
449 #endif 449 #endif
450 globals_(NULL), 450 globals_(NULL),
451 is_spdy_disabled_by_policy_(false), 451 is_spdy_disabled_by_policy_(false),
452 weak_factory_(this), 452 creation_time_(base::TimeTicks::Now()),
453 creation_time_(base::TimeTicks::Now()) { 453 weak_factory_(this) {
454 auth_schemes_ = local_state->GetString(prefs::kAuthSchemes); 454 auth_schemes_ = local_state->GetString(prefs::kAuthSchemes);
455 negotiate_disable_cname_lookup_ = local_state->GetBoolean( 455 negotiate_disable_cname_lookup_ = local_state->GetBoolean(
456 prefs::kDisableAuthNegotiateCnameLookup); 456 prefs::kDisableAuthNegotiateCnameLookup);
457 negotiate_enable_port_ = local_state->GetBoolean( 457 negotiate_enable_port_ = local_state->GetBoolean(
458 prefs::kEnableAuthNegotiatePort); 458 prefs::kEnableAuthNegotiatePort);
459 auth_server_whitelist_ = local_state->GetString(prefs::kAuthServerWhitelist); 459 auth_server_whitelist_ = local_state->GetString(prefs::kAuthServerWhitelist);
460 auth_delegate_whitelist_ = local_state->GetString( 460 auth_delegate_whitelist_ = local_state->GetString(
461 prefs::kAuthNegotiateDelegateWhitelist); 461 prefs::kAuthNegotiateDelegateWhitelist);
462 gssapi_library_name_ = local_state->GetString(prefs::kGSSAPILibraryName); 462 gssapi_library_name_ = local_state->GetString(prefs::kGSSAPILibraryName);
463 pref_proxy_config_tracker_.reset( 463 pref_proxy_config_tracker_.reset(
(...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after
1431 net::QuicVersionVector supported_versions = net::QuicSupportedVersions(); 1431 net::QuicVersionVector supported_versions = net::QuicSupportedVersions();
1432 for (size_t i = 0; i < supported_versions.size(); ++i) { 1432 for (size_t i = 0; i < supported_versions.size(); ++i) {
1433 net::QuicVersion version = supported_versions[i]; 1433 net::QuicVersion version = supported_versions[i];
1434 if (net::QuicVersionToString(version) == quic_version) { 1434 if (net::QuicVersionToString(version) == quic_version) {
1435 return version; 1435 return version;
1436 } 1436 }
1437 } 1437 }
1438 1438
1439 return net::QUIC_VERSION_UNSUPPORTED; 1439 return net::QUIC_VERSION_UNSUPPORTED;
1440 } 1440 }
OLDNEW
« no previous file with comments | « chrome/browser/io_thread.h ('k') | chrome/browser/jumplist_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698