Lines Matching refs:globals_
355 : globals_(globals) {
356 DCHECK(globals_);
361 if (globals_->system_request_context.get())
362 globals_->system_request_context->AssertNoURLRequests();
385 globals_(NULL),
446 DCHECK(!globals_);
451 return globals_;
456 DCHECK(!globals || !globals_);
457 globals_ = globals;
496 DCHECK(!globals_);
497 globals_ = new Globals;
508 globals_->extension_event_router_forwarder =
515 globals_->system_network_delegate.reset(network_delegate);
516 globals_->host_resolver = CreateGlobalHostResolver(net_log_);
518 globals_->cert_verifier.reset(net::CertVerifier::CreateDefault());
519 globals_->transport_security_state.reset(new net::TransportSecurityState());
520 globals_->ssl_config_service = GetSSLConfigService();
529 globals_->http_auth_handler_factory.reset(CreateDefaultAuthHandlerFactory(
530 globals_->host_resolver.get()));
531 globals_->http_server_properties.reset(new net::HttpServerPropertiesImpl());
533 globals_->proxy_script_fetcher_proxy_service.reset(
536 globals_->system_cookie_store = new net::CookieMonster(NULL, NULL);
538 globals_->system_server_bound_cert_service.reset(
542 globals_->dns_probe_service.reset(new chrome_browser_net::DnsProbeService());
543 globals_->load_time_stats.reset(new chrome_browser_net::LoadTimeStats());
544 globals_->host_mapping_rules.reset(new net::HostMappingRules());
545 globals_->http_user_agent_settings.reset(
549 globals_->host_mapping_rules->SetRulesFromString(
554 globals_->ignore_certificate_errors = true;
556 globals_->testing_fixed_http_port =
560 globals_->testing_fixed_https_port =
564 globals_->enable_quic.set(enable_quic);
566 globals_->enable_quic_https.set(ShouldEnableQuicHttps(command_line));
572 globals_->origin_to_force_quic_on.set(quic_origin);
577 globals_->enable_user_alternate_protocol_ports = true;
585 globals_->proxy_script_fetcher_proxy_service.get();
590 globals_->proxy_script_fetcher_http_transaction_factory
600 globals_->proxy_script_fetcher_ftp_transaction_factory.reset(
601 new net::FtpNetworkLayer(globals_->host_resolver.get()));
605 globals_->proxy_script_fetcher_ftp_transaction_factory.get()));
607 globals_->proxy_script_fetcher_url_request_job_factory =
610 globals_->throttler_manager.reset(new net::URLRequestThrottlerManager());
611 globals_->throttler_manager->set_net_log(net_log_);
613 globals_->throttler_manager->set_enable_thread_checks(true);
615 globals_->proxy_script_fetcher_context.reset(
616 ConstructProxyScriptFetcherContext(globals_, net_log_));
618 globals_->network_time_notifier.reset(
668 delete globals_;
669 globals_ = NULL;
685 globals_->enable_spdy_ip_pooling.set(true);
688 globals_->enable_spdy_ip_pooling.set(false);
691 globals_->enable_spdy_credential_frames.set(true);
698 globals_->max_spdy_concurrent_streams_limit.set(
703 globals_->trusted_spdy_proxy.set(
766 globals_->spdy_default_protocol.set(net::kProtoSPDY2);
770 globals_->spdy_default_protocol.set(net::kProtoSPDY2);
774 globals_->enable_spdy_ping_based_connection_checking.set(false);
778 globals_->enable_spdy_compression.set(false);
788 globals_->force_spdy_single_domain.set(true);
792 globals_->initial_max_spdy_concurrent_streams.set(streams);
840 globals_->url_security_manager.reset(
848 supported_schemes, globals_->url_security_manager.get(),
871 net::HostCache* host_cache = globals_->host_resolver->GetHostCache();
878 params->host_resolver = globals_->host_resolver.get();
879 params->cert_verifier = globals_->cert_verifier.get();
881 globals_->system_server_bound_cert_service.get();
882 params->transport_security_state = globals_->transport_security_state.get();
883 params->ssl_config_service = globals_->ssl_config_service.get();
884 params->http_auth_handler_factory = globals_->http_auth_handler_factory.get();
886 globals_->http_server_properties->GetWeakPtr();
887 params->network_delegate = globals_->system_network_delegate.get();
888 params->host_mapping_rules = globals_->host_mapping_rules.get();
889 params->ignore_certificate_errors = globals_->ignore_certificate_errors;
890 params->http_pipelining_enabled = globals_->http_pipelining_enabled;
891 params->testing_fixed_http_port = globals_->testing_fixed_http_port;
892 params->testing_fixed_https_port = globals_->testing_fixed_https_port;
894 globals_->initial_max_spdy_concurrent_streams.CopyToIfSet(
896 globals_->max_spdy_concurrent_streams_limit.CopyToIfSet(
898 globals_->force_spdy_single_domain.CopyToIfSet(
900 globals_->enable_spdy_ip_pooling.CopyToIfSet(
902 globals_->enable_spdy_credential_frames.CopyToIfSet(
904 globals_->enable_spdy_compression.CopyToIfSet(
906 globals_->enable_spdy_ping_based_connection_checking.CopyToIfSet(
908 globals_->spdy_default_protocol.CopyToIfSet(
910 globals_->trusted_spdy_proxy.CopyToIfSet(
912 globals_->enable_quic.CopyToIfSet(¶ms->enable_quic);
913 globals_->enable_quic_https.CopyToIfSet(¶ms->enable_quic_https);
914 globals_->origin_to_force_quic_on.CopyToIfSet(
917 globals_->enable_user_alternate_protocol_ports;
954 DCHECK(!globals_->system_proxy_service.get());
958 globals_->system_proxy_service.reset(
961 globals_->proxy_script_fetcher_context.get(),
962 globals_->system_network_delegate.get(),
969 system_params.proxy_service = globals_->system_proxy_service.get();
971 globals_->system_http_transaction_factory.reset(
974 globals_->system_request_context.reset(
975 ConstructSystemRequestContext(globals_, net_log_));