summaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* FTP: fix navigation to ftp://ftp.emea.ibm.com/toibm/tivoliphajdan.jr@chromium.org2011-09-062-1/+2
| | | | | | | | | | | Recognize a slightly different format of a "Permission denied" error. BUG=95443 TEST=Navigate to ftp://ftp.emea.ibm.com/toibm/tivoli; no error message should appear. Review URL: http://codereview.chromium.org/7795024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99788 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 99677 (didn't help) - Revert 99666 (sync tests started failing on ↵thakis@chromium.org2011-09-0612-187/+319
| | | | | | | | | | | | | | | | | | | | | mac10.6: http://build.chromium.org/p/chromium/builders/Mac10.6%20Sync/builds/9198 - Linux: Monitor resolv.conf for changes and use that to reload resolver. BUG=67734 TEST=manual testing by poking at resolv.conf Review URL: http://codereview.chromium.org/6903061 TBR=craig.schlenter@chromium.org Review URL: http://codereview.chromium.org/7833030 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/7737034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99693 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 99666 (sync tests started failing on mac10.6:thakis@chromium.org2011-09-0512-319/+187
| | | | | | | | | | | | | | | | http://build.chromium.org/p/chromium/builders/Mac10.6%20Sync/builds/9198 - Linux: Monitor resolv.conf for changes and use that to reload resolver. BUG=67734 TEST=manual testing by poking at resolv.conf Review URL: http://codereview.chromium.org/6903061 TBR=craig.schlenter@chromium.org Review URL: http://codereview.chromium.org/7833030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99677 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Monitor resolv.conf for changes and use that to reload resolver.craig.schlenter@chromium.org2011-09-0512-187/+319
| | | | | | | | | BUG=67734 TEST=manual testing by poking at resolv.conf Review URL: http://codereview.chromium.org/6903061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99666 0039d316-1c4b-4281-b951-d872f2087c98
* Mark net::NetLogStringParameter for export to fix component build for chrome.sadrul@chromium.org2011-09-041-1/+1
| | | | | | | | | | TBR=joaodasilva@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/7737016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99616 0039d316-1c4b-4281-b951-d872f2087c98
* Introduced the URLBlacklistManager, and wired it to various places.joaodasilva@chromium.org2011-09-041-0/+10
| | | | | | | | | | | | | | | | | | | | This is part of a work in progress (http://codereview.chromium.org/7716003). This patch is meant to introduce the blacklist manager, which listens to prefs changes on the UI thread (later to be managed by policies) and filters URLRequests on the IO thread. Subsequent patches will build the blacklist based on the preferences, and block URLRequests that match the list. The policy will be introduced once everything else is ready. BUG=49612 TEST=URLBlacklistManagerTest; everything still works as before Review URL: http://codereview.chromium.org/7747018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99608 0039d316-1c4b-4281-b951-d872f2087c98
* mac: gcc buildfixthakis@chromium.org2011-09-041-1/+2
| | | | | | | | | | BUG=none TEST=none TBR=ahendrickson Review URL: http://codereview.chromium.org/7800022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99581 0039d316-1c4b-4281-b951-d872f2087c98
* Make BaseFile member functions return net::Error's.ahendrickson@chromium.org2011-09-045-48/+140
| | | | | | | | | | | | | | | | | | Moving towards giving the user feedback when a file system error occurs during a download. Split from CL 7134019. rdsmith: downloads phajdan.jr: downloads, base wtc: net brettw: base BUG=None TEST=None Review URL: http://codereview.chromium.org/7778003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99579 0039d316-1c4b-4281-b951-d872f2087c98
* Landing some further tweaks for Adam.cevans@chromium.org2011-09-031-1/+9
| | | | | | | | BUG=94673 TBR=agl Review URL: http://codereview.chromium.org/7833013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99534 0039d316-1c4b-4281-b951-d872f2087c98
* Add --https-cert option to run_testserver.cbentzel@chromium.org2011-09-031-6/+31
| | | | | | | | | | | | --https-cert has three valid values: ok: A valid certificate is supplied. mismatched-name: A certificate with an invalid name is supplied. expired: An expired certificate is supplied. Review URL: http://codereview.chromium.org/7825030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99523 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a benign off-by-one error of kNumSerials in IsBlacklisted.wtc@chromium.org2011-09-033-68/+4
| | | | | | | | | | | | | Remove duplicate certificate data in google_diginotar.pem and diginotar_public_ca_2025.pem. R=agl@chromium.org BUG=94673 TEST=none Review URL: http://codereview.chromium.org/7792077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99494 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r98279 partially to disable the STATE_LOAD_SSL_HOST_INFO statewtc@chromium.org2011-09-031-2/+2
| | | | | | | | | | | | | | | by default. It may have caused the DCHECK failure in DiskCacheBasedSSLHostInfo::WaitForDataReady() (bug 94937). R=agl@chromium.org,cbentzel@chromium.org BUG=84426,94937 TEST=none Review URL: http://codereview.chromium.org/7824023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99492 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring and further work on DnsConfigServiceszym@chromium.org2011-09-0313-611/+992
| | | | | | | | | | | | | - Isolate WatchingFileReader for reusability and testability - DnsHosts and ParseHosts to parse /etc/hosts BUG=90881 TEST=./net_unittests --gtest_filter='DnsConfig*:DnsHosts*:WatchingFileReader*' Review URL: http://codereview.chromium.org/7826010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99484 0039d316-1c4b-4281-b951-d872f2087c98
* Update SSLClientSocketNSS::ClientAuthHandler now thatmattm@chromium.org2011-09-021-5/+2
| | | | | | | | | | | | SSL_HandshakeNegotiatedExtension can be called before the handshake. (re: http://codereview.chromium.org/7746010) BUG=88782 TEST=None Review URL: http://codereview.chromium.org/7765012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99461 0039d316-1c4b-4281-b951-d872f2087c98
* Add Jim and Raman to OWNERS file for netjar@chromium.org2011-09-021-0/+2
| | | | | | | | r=wtc Review URL: http://codereview.chromium.org/7826032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99421 0039d316-1c4b-4281-b951-d872f2087c98
* Move test utilities into test_file_util.*.ahendrickson@chromium.org2011-09-021-0/+1
| | | | | | | | | | | | | Split from CL 7134019. brettw: base. BUG=None TEST=None Review URL: http://codereview.chromium.org/7740081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99416 0039d316-1c4b-4281-b951-d872f2087c98
* Update base/timer.h code to pass through Location from call sites. (reland) ↵jbates@chromium.org2011-09-0215-25/+28
| | | | | | | | original CL w/LGTMs: http://codereview.chromium.org/7812036/ Review URL: http://codereview.chromium.org/7824041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99409 0039d316-1c4b-4281-b951-d872f2087c98
* Fix initial online state on Mac.adamk@chromium.org2011-09-024-39/+77
| | | | | | | | | | | | | Wait on a ConditionVariable before returning from IsCurrentlyOffline(), and Signal that CV once the initial state is set. R=eroman@chromium.org,mark@chromium.org BUG=86538 TEST=quit chrome, unplug network cable, start chrome with onlineTest.html (attached to the bug) on the commandline Review URL: http://codereview.chromium.org/7785021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99401 0039d316-1c4b-4281-b951-d872f2087c98
* Change HttpNetworkTransaction and HttpStreamFactoryImpl::Job rch@chromium.org2011-09-0213-60/+95
| | | | | | | | | | | | | | to keep different SSLConfig objects for HTTPS Proxies vs HTTPS Servers. Add an is_proxy field to SSLCertRequest indicating if the request came from a proxy or from an origin server. BUG=95071 Review URL: http://codereview.chromium.org/7768002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99392 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Currently, base/timer.cc calls PostTask with FROM_HERE as the Location,mattm@chromium.org2011-09-0215-28/+25
| | | | | | | | | | | | so the original code that created the delayed callback is lost." This reverts commit 4cf5cf73d319b69c32ad30af8954235755856455. (r99284) TBR=jbates@chromium.org Review URL: http://codereview.chromium.org/7825026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99290 0039d316-1c4b-4281-b951-d872f2087c98
* Currently, base/timer.cc calls PostTask with FROM_HERE as the Location, so ↵jbates@chromium.org2011-09-0215-25/+28
| | | | | | | | | | the original code that created the delayed callback is lost. This change adds a tracked_objects::Location parameter to the APIs in base/timer.h so we can trace the PostTask callbacks. The other files are touched to add the FROM_HERE Location parameter. Review URL: http://codereview.chromium.org/7812036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99284 0039d316-1c4b-4281-b951-d872f2087c98
* Remove use of <iostream> where unnecessary.evan@chromium.org2011-09-014-5/+5
| | | | | | | | | | | | | | Any file which uses <iostream> gains a static initializer, which is both disallowed by our style guide and also harms startup performance. Note that Chrome's logging.h uses <ostream> (note missing "i"), which includes the << operators for logging but does *not* use cin/cout. This is fine. BUG=94794 Review URL: http://codereview.chromium.org/7811002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99237 0039d316-1c4b-4281-b951-d872f2087c98
* IDNToUnicodeWithOffsets() supports NULL for the offset vector, so make ↵pkasting@chromium.org2011-09-011-2/+1
| | | | | | | | | | IDNToUnicode() use it. BUG=none TEST=none Review URL: http://codereview.chromium.org/7819015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99232 0039d316-1c4b-4281-b951-d872f2087c98
* Remove throttling trial, and make feature on by default.joi@chromium.org2011-09-012-31/+0
| | | | | | | | | BUG=83775 TEST=manual, plus existing unit tests Review URL: http://codereview.chromium.org/7748039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99173 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 99135 - Refactoring and remaining work on DnsConfigService: levin@chromium.org2011-09-0113-993/+611
| | | | | | | | | | | | | | | | | - Isolate WatchingFileReader for reusability and testability - ParseHosts to parse /etc/hosts - tests BUG=90881 TEST=./net_unittests --gtest_filter='DnsConfig*:DnsHosts*:WatchingFileReader*' Review URL: http://codereview.chromium.org/7753027 TBR=szym@chromium.org Review URL: http://codereview.chromium.org/7829001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99138 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring and remaining work on DnsConfigService: szym@chromium.org2011-09-0113-611/+993
| | | | | | | | | | | | | | - Isolate WatchingFileReader for reusability and testability - ParseHosts to parse /etc/hosts - tests BUG=90881 TEST=./net_unittests --gtest_filter='DnsConfig*:DnsHosts*:WatchingFileReader*' Review URL: http://codereview.chromium.org/7753027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99135 0039d316-1c4b-4281-b951-d872f2087c98
* Force certificate trust preferences checking on OS X.rsleevi@chromium.org2011-09-011-1/+2
| | | | | | | | | | BUG=94732 TEST=none Review URL: http://codereview.chromium.org/7776028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99102 0039d316-1c4b-4281-b951-d872f2087c98
* Fix deleting a CERTCertificate object.mattm@chromium.org2011-09-011-2/+3
| | | | | | | | | | BUG=88782 TEST=none Review URL: http://codereview.chromium.org/7811010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99101 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce number of unnamed-type-template-args violations (mostly when passing ↵pkasting@chromium.org2011-09-016-16/+16
| | | | | | | | | | values to DCHECK(), ASSERT_EQ(), etc.), generally by naming previously-anonymous enums. We've decided not to eliminate the warning entirely because doing so is only possible with tons of ugly static_cast<>()s in Mac code. BUG=92247 TEST=Compiles Review URL: http://codereview.chromium.org/7605019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99086 0039d316-1c4b-4281-b951-d872f2087c98
* Add drive.google.com to HSTS list.cevans@chromium.org2011-09-012-0/+3
| | | | | | Review URL: http://codereview.chromium.org/7819004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99084 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Don't evict anything for the first fivervargas@google.com2011-08-312-4/+9
| | | | | | | | | | | minutes. Basically, we don't want to do anything that may slow down startup. BUG=none TEST=none Review URL: http://codereview.chromium.org/7765006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99059 0039d316-1c4b-4281-b951-d872f2087c98
* Unreviewed typo fix in previous CL.agl@chromium.org2011-08-311-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99021 0039d316-1c4b-4281-b951-d872f2087c98
* HSTS: add two more hosts.agl@chromium.org2011-08-312-4/+20
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99017 0039d316-1c4b-4281-b951-d872f2087c98
* net: block bad DigiNotar serial numbers and several intermediates.agl@chromium.org2011-08-311-4/+273
| | | | | | | | | BUG=94673 TEST=None. No sites using these certs are known. Review URL: http://codereview.chromium.org/7791032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98980 0039d316-1c4b-4281-b951-d872f2087c98
* Allow the NetworkDelegate to synchronously cancel a URLRequest.joaodasilva@chromium.org2011-08-312-7/+49
| | | | | | | | | | BUG=49612 TEST=net_unittests:URLRequestTestHTTP.NetworkDelegateCancelRequestSynchronously Review URL: http://codereview.chromium.org/7747016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98978 0039d316-1c4b-4281-b951-d872f2087c98
* Don't try to use explicit credentials with schemes that don't support it.asanka@chromium.org2011-08-3113-57/+249
| | | | | | | | | | | BUG=94617 TEST=net_unittests --gtest_filter=HttpAuthControllerTest.NoExplicitCredentialsAllowed. Review URL: http://codereview.chromium.org/7748033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98965 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98885 - Third attempt at the following. Unreviewed, this was ↵rsleevi@chromium.org2011-08-316-224/+299
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | originally reviewed in http://codereview.chromium.org/7550002 . Clean up SSL false start blacklist code. Numerous changes, including: * Handle trailing dots in LastTwoLabels() as in http://codereview.chromium.org/7518035/ . Rename this function to LastTwoComponents() to match the terminology used in the RegistryControlledDomainService and elsewhere in Chrome. * Since callers are using std::string anyway, make the functions in the header take const std::string& instead of char*. This also allows doing string operations on them. * Use string operations (like find_last_of()) in place of hand-written algorithms, for brevity, clarity, and safety. * Avoid "unsigned", which the style guide forbids, and use allowed types like size_t, uint32, or int (depending on the situation). * Avoid #define and "using". * Use standard algorithms for similar reasons as using string ops. * Use file_util functions to significantly abbreviate file reading/writing code. * Use wmain() (on Windows) in combination with FilePath to avoid issues if the provided pathname has extended characters that don't flatten losslessly to the default codepage (thanks Darin for pointing out this issue). * Avoid casting where possible. Avoid some casts for printf()-style calls by using a string stream, which also allows for slightly less boilerplate. * Convert non-error uses of stderr to the chrome-standard VLOG(1). * Correctly handle hostnames with trailing dots in the input file. * In general, shorten code where possible. Because this adds a dependency on base, and ssl_false_start_blacklist_process has the "#host" specifier in net.gyp, bradnelson tells me that base and its dependencies need an explicit "host, target" toolchain list for the Linux builds to work correctly. It would be nice if we could avoid this but I guess gyp would have to be smarter or something. BUG=none TEST=none Review URL: http://codereview.chromium.org/7804001 TBR=pkasting@chromium.org Review URL: http://codereview.chromium.org/7778035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98917 0039d316-1c4b-4281-b951-d872f2087c98
* Third attempt at the following. Unreviewed, this was originally reviewed in ↵pkasting@chromium.org2011-08-306-299/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | http://codereview.chromium.org/7550002 . Clean up SSL false start blacklist code. Numerous changes, including: * Handle trailing dots in LastTwoLabels() as in http://codereview.chromium.org/7518035/ . Rename this function to LastTwoComponents() to match the terminology used in the RegistryControlledDomainService and elsewhere in Chrome. * Since callers are using std::string anyway, make the functions in the header take const std::string& instead of char*. This also allows doing string operations on them. * Use string operations (like find_last_of()) in place of hand-written algorithms, for brevity, clarity, and safety. * Avoid "unsigned", which the style guide forbids, and use allowed types like size_t, uint32, or int (depending on the situation). * Avoid #define and "using". * Use standard algorithms for similar reasons as using string ops. * Use file_util functions to significantly abbreviate file reading/writing code. * Use wmain() (on Windows) in combination with FilePath to avoid issues if the provided pathname has extended characters that don't flatten losslessly to the default codepage (thanks Darin for pointing out this issue). * Avoid casting where possible. Avoid some casts for printf()-style calls by using a string stream, which also allows for slightly less boilerplate. * Convert non-error uses of stderr to the chrome-standard VLOG(1). * Correctly handle hostnames with trailing dots in the input file. * In general, shorten code where possible. Because this adds a dependency on base, and ssl_false_start_blacklist_process has the "#host" specifier in net.gyp, bradnelson tells me that base and its dependencies need an explicit "host, target" toolchain list for the Linux builds to work correctly. It would be nice if we could avoid this but I guess gyp would have to be smarter or something. BUG=none TEST=none Review URL: http://codereview.chromium.org/7804001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98885 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a linking error with -Dlinux_link_kerberos on Gentoo.phajdan.jr@chromium.org2011-08-301-2/+0
| | | | | | | | BUG=92689 Review URL: http://codereview.chromium.org/7794015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98824 0039d316-1c4b-4281-b951-d872f2087c98
* Mark DigiNotar as untrustedagl@chromium.org2011-08-307-10/+198
| | | | | | | | | BUG=94673 TEST=Visit https://www.diginotar.com and expect an invalid authority error. Review URL: http://codereview.chromium.org/7795014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98741 0039d316-1c4b-4281-b951-d872f2087c98
* fix up permsdmaclach@chromium.org2011-08-292-0/+0
| | | | | | | | | BUG=NONE TEST=BUILD Review URL: http://codereview.chromium.org/7792021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98736 0039d316-1c4b-4281-b951-d872f2087c98
* Detect file system errors during downloads.ahendrickson@chromium.org2011-08-294-11/+138
| | | | | | | | | | | | | | Moving towards giving the user feedback when a file system error occurs during a download. Split from CL 7134019. BUG=85240 TEST=None Review URL: http://codereview.chromium.org/7646025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98725 0039d316-1c4b-4281-b951-d872f2087c98
* Mark ParseHostAndPort() as NET_EXPORT instead of NET_EXPORT_PRIVATE.sergeyu@chromium.org2011-08-291-2/+2
| | | | | | | | | | | I need to use this function in content/rendeder/p2p. TEST=None BUG=None Review URL: http://codereview.chromium.org/7714027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98666 0039d316-1c4b-4281-b951-d872f2087c98
* Only mark a proxy as bad if we have confirmation that another proxy ↵asanka@chromium.org2011-08-2910-8/+225
| | | | | | | | | | | | succeeded for the same request. BUG=87336 TEST=net_unittests --gtest_filter=ProxyServiceTest.ProxyFallback:HttpStreamFactoryTest.JobNotifiesProxy Review URL: http://codereview.chromium.org/7532011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98643 0039d316-1c4b-4281-b951-d872f2087c98
* Previously i was recording number of RTT's vs Kilobytes of data downloaded ↵gagansingh@google.com2011-08-272-65/+1
| | | | | | | | | | per http transaction. This was generating lots of histograms. Removing them for efficiency. Review URL: http://codereview.chromium.org/7714020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98562 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Add tests for migration triggered by notificationsakalin@chromium.org2011-08-273-35/+226
| | | | | | | | | | | | Add support for disabling/enabling notifications to the test server, and support for triggering notifications. BUG=92928 TEST= Review URL: http://codereview.chromium.org/7753023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98558 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Add support for enabling session sync remotely.zea@chromium.org2011-08-252-1/+38
| | | | | | | | | | | | | | | A "sync_tabs" field has been added to the nigori node. When this field is set, and if the user has elected to keep everything synced, we automatically enable session sync for them. This is done by way of the migrator and does not require a restart of sync or user intervention. BUG=none TEST=sync_integration_tests --gtest_filter="*SetSyncTabs*" Review URL: http://codereview.chromium.org/7669073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98328 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98288 - Added CreateOriginBound method to x509_certificate.h.jbates@chromium.org2011-08-257-294/+13
| | | | | | | | | | | | | | | This static method branches the CreateSelfSigned code to create a self signed certificate that contains an X509v3 extension that indicates the ASCII weborigin that is bound to the generated certificate. BUG=88782 TEST= Review URL: http://codereview.chromium.org/7384002 TBR=mdietz@google.com Review URL: http://codereview.chromium.org/7740034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98293 0039d316-1c4b-4281-b951-d872f2087c98
* Added CreateOriginBound method to x509_certificate.h.mdietz@google.com2011-08-257-13/+294
| | | | | | | | | | | | This static method branches the CreateSelfSigned code to create a self signed certificate that contains an X509v3 extension that indicates the ASCII weborigin that is bound to the generated certificate. BUG=88782 TEST= Review URL: http://codereview.chromium.org/7384002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98288 0039d316-1c4b-4281-b951-d872f2087c98
* Always enable the STATE_LOAD_SSL_HOST_INFO state to verify the crash fixwtc@chromium.org2011-08-251-6/+4
| | | | | | | | | | | | | | | | | | | for bug 84426. But we will only use ssl_host_info_->state().certs if the cached info extension is enabled. Do not treat an empty ssl_host_info_->state().certs as failure because it is normal for us to not have the server's certificates if we have not visited the site before. R=agl@chromium.org BUG=84426 TEST=none Review URL: http://codereview.chromium.org/7741007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98279 0039d316-1c4b-4281-b951-d872f2087c98