Searched defs:pac_script (Results 1 - 7 of 7) sorted by relevance

/external/chromium/chrome/browser/extensions/
H A Dextension_proxy_api_helpers.cc31 bool CreateDataURLFromPACScript(const std::string& pac_script, argument
33 // Encode pac_script in base64.
35 if (!base::Base64Encode(pac_script, &pac_script_base64_encoded))
46 std::string* pac_script) {
55 return base::Base64Decode(pac_script_base64_encoded, pac_script);
298 *error = "Proxy mode 'pac_script' requires a 'pacScript' field with "
44 CreatePACScriptFromDataURL( const std::string& pac_script_url_base64_encoded, std::string* pac_script) argument
/external/chromium_org/chrome/browser/extensions/api/proxy/
H A Dproxy_api_helpers.cc34 bool CreateDataURLFromPACScript(const std::string& pac_script, argument
36 // Encode pac_script in base64.
38 base::Base64Encode(pac_script, &pac_script_base64_encoded);
48 std::string* pac_script) {
55 return net::DataURL::Parse(url, &mime_type, &charset, pac_script);
335 *error = "Proxy mode 'pac_script' requires a 'pacScript' field with "
46 CreatePACScriptFromDataURL( const std::string& pac_script_url_base64_encoded, std::string* pac_script) argument
/external/chromium_org/net/proxy/
H A Ddhcp_proxy_script_fetcher_win_unittest.cc255 base::string16 pac_script,
259 pac_script_ = pac_script;
317 base::string16 pac_script,
323 did_finish, result, pac_script, fetch_delay.InMilliseconds());
253 Configure(bool did_finish, int result, base::string16 pac_script, int fetch_delay_ms) argument
314 ConfigureAndPushBackAdapter(const std::string& adapter_name, bool did_finish, int result, base::string16 pac_script, base::TimeDelta fetch_delay) argument
H A Dproxy_resolver_v8.cc417 int InitV8(const scoped_refptr<ProxyResolverScriptData>& pac_script) { argument
490 RunScript(ScriptDataToV8String(isolate_, pac_script), kPacResourceName);
/external/chromium/net/proxy/
H A Dproxy_resolver_v8.cc402 int InitV8(const scoped_refptr<ProxyResolverScriptData>& pac_script) { argument
464 rv = RunScript(ScriptDataToV8String(pac_script), kPacResourceName);
H A Dproxy_service.cc156 const scoped_refptr<ProxyResolverScriptData>& pac_script,
155 SetPacScript( const scoped_refptr<ProxyResolverScriptData>& pac_script, CompletionCallback* callback) argument
/external/chromium-libpac/src/
H A Dproxy_resolver_v8.cc419 int InitV8(const android::String16& pac_script) { argument
480 rv = RunScript(UTF16StringToV8String(pac_script), kPacResourceName);

Completed in 118 milliseconds