Lines Matching defs:get_property
67 const GetPropertyCallback& get_property,
70 std::string proxy_host = get_property.Run(prefix + ".proxyHost");
72 std::string proxy_port = get_property.Run(prefix + ".proxyPort");
76 proxy_host = get_property.Run("proxyHost");
78 std::string proxy_port = get_property.Run("proxyPort");
84 ProxyServer LookupSocksProxy(const GetPropertyCallback& get_property) {
85 std::string proxy_host = get_property.Run("socksProxyHost");
87 std::string proxy_port = get_property.Run("socksProxyPort");
95 const GetPropertyCallback& get_property,
108 get_property.Run(scheme + ".nonProxyHosts");
125 bool GetProxyRules(const GetPropertyCallback& get_property,
135 LookupProxy("http", get_property, ProxyServer::SCHEME_HTTP));
137 LookupProxy("https", get_property, ProxyServer::SCHEME_HTTP));
139 LookupProxy("ftp", get_property, ProxyServer::SCHEME_HTTP));
140 rules->fallback_proxies.SetSingleProxyServer(LookupSocksProxy(get_property));
142 AddBypassRules("ftp", get_property, &rules->bypass_rules);
143 AddBypassRules("http", get_property, &rules->bypass_rules);
144 AddBypassRules("https", get_property, &rules->bypass_rules);
152 void GetLatestProxyConfigInternal(const GetPropertyCallback& get_property,
154 if (!GetProxyRules(get_property, &config->proxy_rules()))