summaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* Allow server sockets to rebind to same port if there is nothing actively ↵justinlin@chromium.org2012-09-175-5/+65
| | | | | | | | | | | listening on that port. BUG= Review URL: https://chromiumcodereview.appspot.com/10907154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157087 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium's key generation is running on a non-joinable worker thread, which ↵jnd@chromium.org2012-09-171-2/+9
| | | | | | | | | | | | | | requirs us to use leakable Singleton/LazyInstance object since. See crbug.com/134118 for details BUG=134118 TEST=None Review URL: https://chromiumcodereview.appspot.com/10580038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157083 0039d316-1c4b-4281-b951-d872f2087c98
* Httpb Cache: handle error codes when reading data from the net,rvargas@google.com2012-09-171-0/+3
| | | | | | | | | | | when simulating an infinite cache. BUG=149849 TEST=none TBR=gavinp@chromium.org Review URL: https://codereview.chromium.org/10933117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157080 0039d316-1c4b-4281-b951-d872f2087c98
* net: Fix clang warnings about missing virtual and OVERRIDE annotations.tfarina@chromium.org2012-09-171-8/+11
| | | | | | | | | | BUG=115047 TBR=eroman@chromium.org Review URL: https://chromiumcodereview.appspot.com/10914310 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157070 0039d316-1c4b-4281-b951-d872f2087c98
* net: Enable the infinite cache simulation.rvargas@google.com2012-09-151-1/+1
| | | | | | | | BUG=147383 TEST=none Review URL: https://codereview.chromium.org/10914300 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156941 0039d316-1c4b-4281-b951-d872f2087c98
* Enable TLS channeld id by default.mattm@chromium.org2012-09-154-15/+10
| | | | | | | | | | | | | | Replace --enable-origin-bound-certs command line flag with --disable-tls-channel-id. Remove field trial. BUG=136462,129174 Review URL: https://chromiumcodereview.appspot.com/10910240 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156939 0039d316-1c4b-4281-b951-d872f2087c98
* net: don't run InfiniteCache.DeleteBetween on Android.rvargas@google.com2012-09-141-0/+2
| | | | | | | | | BUG=147383 TEST=net_unittests TBR=gavinp@chromium.org Review URL: https://codereview.chromium.org/10914299 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156894 0039d316-1c4b-4281-b951-d872f2087c98
* Http Cache: Add code for simulating an infinite HTTP cache.rvargas@google.com2012-09-148-5/+1420
| | | | | | | | | | | | | This is not completely wired yet. BUG=147383 TEST=net_unittests TBR=gavinp@chromium.org Full review http://codereview.chromium.org/10909136/ Review URL: https://codereview.chromium.org/10919298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156882 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 156846 - Http Cache: Add code for simulating an infinite HTTP cache.rvargas@google.com2012-09-148-1419/+5
| | | | | | | | | | | | | This is not completely wired yet. BUg=147383 TEST=net_unittests Review URL: https://chromiumcodereview.appspot.com/10909136 TBR=rvargas@google.com Review URL: https://codereview.chromium.org/10907241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156849 0039d316-1c4b-4281-b951-d872f2087c98
* Http Cache: Add code for simulating an infinite HTTP cache.rvargas@google.com2012-09-148-5/+1419
| | | | | | | | | | This is not completely wired yet. BUg=147383 TEST=net_unittests Review URL: https://chromiumcodereview.appspot.com/10909136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156846 0039d316-1c4b-4281-b951-d872f2087c98
* net: set Google pins for our ccTLDs domains and others.agl@chromium.org2012-09-143-0/+669
| | | | | | | | BUG=141444 Review URL: https://chromiumcodereview.appspot.com/10834300 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156812 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl: Bind TCP socket for the GDB debug stub in the browser processhalyavin@chromium.org2012-09-141-2/+3
| | | | | | | | | | | | | This allows the debug stub to work without "--no-sandbox". This change is only for POSIX since Windows requires very different code. BUG= http://code.google.com/p/nativeclient/issues/detail?id=3007 TEST= launch NaCl page in chrome with --enable-nacl-debug but without --no-sandbox try to connect nacl gdb. Review URL: https://chromiumcodereview.appspot.com/10928050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156784 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 156742 - Launch pywebsocket via net::TestServerpeter@chromium.org2012-09-146-99/+36
| | | | | | | | | | | | | | | | The mod_pywebsocket.standalone module cannot be imported on the Chromium OS bots. Example output is available here: http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28amd64%29/builds/4069/steps/VMTest/logs/stdio BUG=137639 Review URL: https://chromiumcodereview.appspot.com/10879029 TBR=toyoshim@chromium.org Review URL: https://codereview.chromium.org/10913268 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156772 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache histograms tracking cache opens by size/age of cache.gavinp@chromium.org2012-09-141-6/+17
| | | | | | | | | | | | | | | | These histograms compliment the other hit rate histograms I added in http://codereview.chromium.org/10911040/ , but instead of reporting by time interval, they report at each open. By comparing the Miss/Hit version of each histogram, you can get a rate in the same way that the stochastic interval-reporting version has. This set of histograms will have different biasses than the time series data, as users who do a lot of operations will be represented more heavily. As an added bonus, I'm also tracking the open time of cache misses, since that's shown up in http_cache_transaction as being interesting. R=rvargas@chromium.org BUG=None Review URL: https://chromiumcodereview.appspot.com/10909126 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156758 0039d316-1c4b-4281-b951-d872f2087c98
* Launch pywebsocket via net::TestServertoyoshim@chromium.org2012-09-146-36/+99
| | | | | | | | | BUG=137639 Review URL: https://chromiumcodereview.appspot.com/10879029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156742 0039d316-1c4b-4281-b951-d872f2087c98
* * Change logic of SpdySession::VerifyDomainAuthentication to rch@chromium.org2012-09-136-2/+234
| | | | | | | | | | | | | | permit connection pooling of hosts with the same etld when TLS channel ID is used. * Add tests for SpdySession::VerifyDomainAuthentication * Add a new certificate for testing SpdySession::VerifyDomainAuthentication BUG= Review URL: https://chromiumcodereview.appspot.com/10916275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156461 0039d316-1c4b-4281-b951-d872f2087c98
* Reland: Take 2: Force python test server output to be unbuffered, so it ↵rsimha@google.com2012-09-126-24/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | doesn't mix with gtest output In browser tests that use a local python server, the python output in the test logs sometimes overlaps with gtest output, resulting in gtest falsely detecting passing tests as incomplete. This is a result of python's default use of buffered output, which gets written to the log file out of order. This patch forces the python process for local test servers to use unbuffered mode via the -u switch. This way, by the time gtest is ready to log a passing test, all testserver output is already written to the log file. Update: The win xp bots were adversely affected by the -u switch, so we now apply it only for mac and linux, which is where the original problem was found. BUG=147368 TEST=See sync integration test output when it is redirected to a log file, and make sure there are no false negatives. Originally committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156361 Review URL: https://codereview.chromium.org/10907162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156389 0039d316-1c4b-4281-b951-d872f2087c98
* Histogram to measure if NetworkChangeNotifier::GetConnectionType() is pauljensen@chromium.org2012-09-121-0/+29
| | | | | | | | | | | | more accurate than the last OnConnectionTypeChange() value when it comes to identifying whether the user is offline. Also measure how long GetConnectionType() takes. BUG=124069 Review URL: https://chromiumcodereview.appspot.com/10928123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156378 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 156361 - Take 2: Force python test server output to be unbuffered, so ↵rsimha@google.com2012-09-126-31/+24
| | | | | | | | | | | | | | | | | | | | | | | | | it doesn't mix with gtest output In browser tests that use a local python server, the python output in the test logs sometimes overlaps with gtest output, resulting in gtest falsely detecting passing tests as incomplete. This is a result of python's default use of buffered output, which gets written to the log file out of order. This patch forces the python process for local test servers to use unbuffered mode via the -u switch. This way, by the time gtest is ready to log a passing test, all testserver output is already written to the log file. BUG=147368 TEST= See sync integration test output when it is redirected to a log file, and make sure there are no false negatives. Review URL: https://chromiumcodereview.appspot.com/10907162 TBR=rsimha@google.com Review URL: https://codereview.chromium.org/10911264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156376 0039d316-1c4b-4281-b951-d872f2087c98
* Have a clearer error message for Android's GetMimeTypeFromExtensionpeter@chromium.org2012-09-121-1/+2
| | | | | | | | | | | | | The warning is triggered on various layout tests for WebKit, so having a clearer error showing the extension for which we can't get a mime type helps in finding the right solution. BUG= Review URL: https://chromiumcodereview.appspot.com/10911244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156369 0039d316-1c4b-4281-b951-d872f2087c98
* Take 2: Force python test server output to be unbuffered, so it doesn't mix ↵rsimha@google.com2012-09-126-24/+31
| | | | | | | | | | | | | | | | | | | | | | with gtest output In browser tests that use a local python server, the python output in the test logs sometimes overlaps with gtest output, resulting in gtest falsely detecting passing tests as incomplete. This is a result of python's default use of buffered output, which gets written to the log file out of order. This patch forces the python process for local test servers to use unbuffered mode via the -u switch. This way, by the time gtest is ready to log a passing test, all testserver output is already written to the log file. BUG=147368 TEST= See sync integration test output when it is redirected to a log file, and make sure there are no false negatives. Review URL: https://chromiumcodereview.appspot.com/10907162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156361 0039d316-1c4b-4281-b951-d872f2087c98
* [net/udp] Create UDPSocketWin::Core which persists until all network ↵szym@chromium.org2012-09-122-86/+156
| | | | | | | | | | | | | operations complete. The Core pattern is copied from TCPClientSocketWin. BUG=121085 TEST=net_unittests --gtest_filter=UDP* Review URL: https://chromiumcodereview.appspot.com/10918158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156328 0039d316-1c4b-4281-b951-d872f2087c98
* [net/dns] Collect histogram on HOSTS file size.szym@chromium.org2012-09-121-11/+13
| | | | | | | | | | | | 4% of attempts to parse the HOSTS file fail because reading the file fails. This is likely because files above 65kB are rejected. This CL installs the AsyncDNS.HostsSize histogram to measure the observed size of HOSTS file on each call to ParseHostsFile. BUG=137914 Review URL: https://chromiumcodereview.appspot.com/10910229 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156327 0039d316-1c4b-4281-b951-d872f2087c98
* Reordering URLRequest unittest and port to iOS.droger@chromium.org2012-09-121-2201/+2206
| | | | | | | | | | | | This CL groups the tests by case, excludes FTP-related unittests when FTP support is disabled, and disables tests using the TestServer on iOS. BUG=145954 Review URL: https://chromiumcodereview.appspot.com/10914205 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156300 0039d316-1c4b-4281-b951-d872f2087c98
* Implement net::GetNetworkList() for Android.shouqun.liu@intel.com2012-09-124-6/+94
| | | | | | | | | | | | | * Implement net::GetNetworkList() by java.net.NetworkInterface through JNI. * Remove NetUtilTest.GetNetworkList from net_unittests_apk disabled list. BUG= TEST=net_unittests_apk --gtest-filter=NetUtilTest.GetNetworkList Review URL: https://chromiumcodereview.appspot.com/10905207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156257 0039d316-1c4b-4281-b951-d872f2087c98
* Fix and re-commit http://codereview.chromium.org/10914109/ (after revert in ↵gab@chromium.org2012-09-121-1/+5
| | | | | | | | | | | | | | | | | | | | | | | http://crrev.com/155918) -- Refactoring and tests for the highly undertested file_util::CreateOrUpdateShortcutLink() method. Simplify file_util::CreateOrUpdateShortcutLink()'s interface (use a struct to set parameters passed which allows callers to specify exactly what they want without having to pass in a bunch of NULLs for the unused parameters). The same concept will be used for ShellUtil's shortcut functions in an upcoming CL. Moved ShellUtil::VerifyChromeShortcut() to file_util::VerifyShortcut() and augmented it for every shortcut properties. This will also allow other shortcut creators (web apps, profiles, etc.) to have a broader test coverage on the shortcut they create (i.e. more testable properties available). I will leave it up to the owners of these various projects to augment their tests, this CL keeps the previously tested behavior, not more, not less. This is the 1st CL of a massive refactoring effort for shortcuts (http://goo.gl/Az889) in which ShellUtil's shortcut methods have to be refactored (http://codereview.chromium.org/10836247/ : soon to incorporate interface changes from this CL) which led me even lower to first refactor file_util's shortcut methods. TBR=robertshield@chromium.org, sky@chromium.org, agl@chromium.org, dgrogan@chromium.org BUG=132825, 148539 TEST=base_unittests --gtest_filter=FileUtilShortcutTest* installer_util_unitests --gtest_filter=ShellUtilTestWithDirAndDist* unit_tests --gtest_filter=ProfileShortcutManagerTest* (run tests on XP as well) Review URL: https://chromiumcodereview.appspot.com/10909171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156250 0039d316-1c4b-4281-b951-d872f2087c98
* net: Move data reading functionalities from UploadElement to UploadElementReaderhashimoto@chromium.org2012-09-1116-267/+615
| | | | | | | | | | | | | | Add a new interface net::UploadElementReader and its implementations for bytes and file. Rewrite UploadDataStream using UploadElementReader. UploadElement::SetContentLength is replaced with UploadFileElementReader::ScopedOverridingContentLengthForTests. HttpNetworkTransactionSpdy(2|3)Test.UnreadableUploadFileAfterAuthRestart is bit modified since a new FileStream is created every time when UploadDataStream is initialized. BUG=145329 TEST=net_unittests Review URL: https://chromiumcodereview.appspot.com/10868064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156113 0039d316-1c4b-4281-b951-d872f2087c98
* [net/dns] Use the DnsConfig provided in the HostResolverImpl ctor if any.szym@chromium.org2012-09-111-1/+2
| | | | | | | | | | | Don't fetch DnsConfig from NetworkChangeNotifier if one is already provided with the DnsClient in HostResolverImpl ctor. BUG=128212 TEST=gdig --net_log=basic chromium.org should include DNS_TASK Review URL: https://chromiumcodereview.appspot.com/10910196 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156100 0039d316-1c4b-4281-b951-d872f2087c98
* Move tools out of Chromium repoagl@chromium.org2012-09-112-775/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156081 0039d316-1c4b-4281-b951-d872f2087c98
* [cros/net] Add DnsConfigService to NetworkChangeNotifierChromeos.szym@chromium.org2012-09-113-8/+9
| | | | | | | | | | | | Unlike DnsConfigServicePosix, the CrOS implementation uses signals from NetworkManager (via NetworkLibrary), rather than watching files in /etc. BUG=125877 TEST=Enable "Built-in Asynchronous DNS". Check if chrome://net-internals/#dns shows DNS config. Review URL: https://chromiumcodereview.appspot.com/10909034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156055 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 153131 (Histograms showed it doesn't help much)mmenke@chromium.org2012-09-116-260/+34
| | | | | | | | | | | | | | | | | | Reland of http://codereview.chromium.org/10854204/, which I reverted because of a bug in its unit tests. Retry failed network requests. R=willchan@chomium.org BUG=143425 Review URL: https://chromiumcodereview.appspot.com/10872044 TBR=mmenke@chromium.org Review URL: https://chromiumcodereview.appspot.com/10933022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156041 0039d316-1c4b-4281-b951-d872f2087c98
* Fail UDP socket unittests early if the socket cannot be bound.droger@chromium.org2012-09-111-3/+3
| | | | | | | | | | | | This CL replaces some EXPECT_EQs by ASSERT_EQs, as there is no point in running the test if the socket cannot be bound. BUG=None Review URL: https://chromiumcodereview.appspot.com/10913192 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156023 0039d316-1c4b-4281-b951-d872f2087c98
* installer_util_unittests has failed on XP Tests (dbg)(1) since this landeddgrogan@chromium.org2012-09-111-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Revert 155869 - Refactoring and tests for the highly undertested file_util::CreateOrUpdateShortcutLink() method. Simplify file_util::CreateOrUpdateShortcutLink()'s interface (use a struct to set parameters passed which allows callers to specify exactly what they want without having to pass in a bunch of NULLs for the unused parameters). The same concept will be used for ShellUtil's shortcut functions in an upcoming CL. Moved ShellUtil::VerifyChromeShortcut() to file_util::VerifyShortcut() and augmented it for every shortcut properties. This will also allow other shortcut creators (web apps, profiles, etc.) to have a broader test coverage on the shortcut they create (i.e. more testable properties available). I will leave it up to the owners of these various projects to augment their tests, this CL keeps the previously tested behavior, not more, not less. This is the 1st CL of a massive refactoring effort for shortcuts (http://goo.gl/Az889) in which ShellUtil's shortcut methods have to be refactored (http://codereview.chromium.org/10836247/ : soon to incorporate interface changes from this CL) which led me even lower to first refactor file_util's shortcut methods. BUG=132825 TEST=base_unittests --gtest_filter=FileUtilShortcutTest* installer_util_unitests --gtest_filter=ShellUtilTestWithDirAndDist* unit_tests --gtest_filter=ProfileShortcutManagerTest* Review URL: https://chromiumcodereview.appspot.com/10914109 TBR=gab@chromium.org Review URL: https://chromiumcodereview.appspot.com/10910183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155918 0039d316-1c4b-4281-b951-d872f2087c98
* Increase the sizes of the circular buffers used by SSLClientSocketNSSwtc@chromium.org2012-09-114-10/+18
| | | | | | | | | | | | | | | and SSLServerSocketNSS. Larger buffers result in fewer Read() and Write() calls, improving performance. R=rsleevi@chromium.org,agl@chromium.org BUG=69813 TEST=none Review URL: https://chromiumcodereview.appspot.com/10919167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155889 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Improve NetworkChangeNotifier granularitydfalcantara@chromium.org2012-09-114-47/+107
| | | | | | | | | | | | | | | | | | | Original review: https://chromiumcodereview.appspot.com/10915043/ The NetworkChangeNotifier for Android currently cannot identify what type of connection exists; all it can do is determine whether it's currently got one. This CL patches it so that we pass this information back from the Java side, allowing us to properly use NetworkChangeNotifier::ConnectionType. The connection types (2G, 3G, etc.) are differentiated between using classifications from Android's TelephonyManager. BUG=136984 Review URL: https://chromiumcodereview.appspot.com/10913175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155881 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring and tests for the highly undertested ↵gab@chromium.org2012-09-101-1/+5
| | | | | | | | | | | | | | | | | | | | | | file_util::CreateOrUpdateShortcutLink() method. Simplify file_util::CreateOrUpdateShortcutLink()'s interface (use a struct to set parameters passed which allows callers to specify exactly what they want without having to pass in a bunch of NULLs for the unused parameters). The same concept will be used for ShellUtil's shortcut functions in an upcoming CL. Moved ShellUtil::VerifyChromeShortcut() to file_util::VerifyShortcut() and augmented it for every shortcut properties. This will also allow other shortcut creators (web apps, profiles, etc.) to have a broader test coverage on the shortcut they create (i.e. more testable properties available). I will leave it up to the owners of these various projects to augment their tests, this CL keeps the previously tested behavior, not more, not less. This is the 1st CL of a massive refactoring effort for shortcuts (http://goo.gl/Az889) in which ShellUtil's shortcut methods have to be refactored (http://codereview.chromium.org/10836247/ : soon to incorporate interface changes from this CL) which led me even lower to first refactor file_util's shortcut methods. BUG=132825 TEST=base_unittests --gtest_filter=FileUtilShortcutTest* installer_util_unitests --gtest_filter=ShellUtilTestWithDirAndDist* unit_tests --gtest_filter=ProfileShortcutManagerTest* Review URL: https://chromiumcodereview.appspot.com/10914109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155869 0039d316-1c4b-4281-b951-d872f2087c98
* net: add (*.)iop.intuit.com to HSTS preloadedagl@chromium.org2012-09-102-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155803 0039d316-1c4b-4281-b951-d872f2087c98
* Build NetError.java to use in java side tests by preprocessing net_errors.ccyusufo@chromium.org2012-09-103-0/+79
| | | | | | | | | | | | | Java side tests will be using a map to convert these error codes to platform specific ones. This generates a java file which can be used to refer to the errorcode. The included test just does a trivial check whether the java file can be included and used. BUG=137967 Review URL: https://chromiumcodereview.appspot.com/10912136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155796 0039d316-1c4b-4281-b951-d872f2087c98
* Plumbing for the Infinite Cache.tburkard@chromium.org2012-09-102-0/+10
| | | | | | | R=rvargas@chromium.org, willchan@chromium.org Review URL: https://chromiumcodereview.appspot.com/10905110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155738 0039d316-1c4b-4281-b951-d872f2087c98
* Remove {base,net}_java dependencies from GYP client targets on Android.pliard@chromium.org2012-09-101-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | On Android, some GYP client targets were explicitly depending on both the native and Java sides of a library. This removes the dependencies to {base,net}_java and make the native side ('base' and 'net) of these libraries depend on their Java counterpart. On Android it rarely makes sense to depend on a single side of a Java/C++ library. The {base,net}_java can now be considered as "private" targets although GYP does not support this concept unfortunately (AFAICT). Note that I made sure that the resulting APKs' size is unchanged. Additionally, this CL removes 'base_java' (i.e. does not replace it with 'base') from the targets including 'build/apk_test.gypi'. This dependency should not have been there (in the wrong layer) in the first place. It's needed by ChromeNativeTestActivity.java which clients should not know about. BUG=146323 TBR=lipalani,sky,willchan,brettw Review URL: https://chromiumcodereview.appspot.com/10913083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155737 0039d316-1c4b-4281-b951-d872f2087c98
* Move the NSS functions out of CertDatabase into a new NSSCertDatabase class.joaodasilva@chromium.org2012-09-1021-696/+864
| | | | | | | | | BUG=chromium-os:33872 Review URL: https://chromiumcodereview.appspot.com/10916094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155720 0039d316-1c4b-4281-b951-d872f2087c98
* Allows GetExtensionsForMimeType to support mime types like "foo/*"thorogood@chromium.org2012-09-103-55/+92
| | | | | | | | | | | Additionally, removes the prescriptive methods Get{Image,Audio,Video}Extension methods: it's less specific to just support "image/*", "audio/*", and "video/*", respectively. BUG=145112 Review URL: https://chromiumcodereview.appspot.com/10908006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155673 0039d316-1c4b-4281-b951-d872f2087c98
* Update callers of CreateFileSystemOperation so more detailed error codes can ↵calvinlo@chromium.org2012-09-101-2/+4
| | | | | | | | | | | | | be returned. Where applicable, convert net errors to base platform errors. BUG=141617 TBR=tony@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155377 Review URL: https://chromiumcodereview.appspot.com/10920087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155671 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 155587 - Force python test server output to be unbuffered, so it ↵rsimha@google.com2012-09-083-20/+0
| | | | | | | | | | | | | | | | | | | doesn't mix with gtest output In browser tests that use a local python server, the python output in the test logs sometimes overlaps with gtest output, resulting in gtest falsely detecting passing tests as incomplete. This is a result of python's default use of buffered output, which gets written to the log file out of order. This patch forces the python process for local test servers to use unbuffered mode. This way, by the time gtest is ready to log a passing test, all testserver output is already written to the log file. BUG=147368 TEST= See sync integration test output when it is redirected to a log file, and make sure there are no false negatives. Review URL: https://chromiumcodereview.appspot.com/10919165 TBR=rsimha@chromium.org Review URL: https://chromiumcodereview.appspot.com/10910150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155594 0039d316-1c4b-4281-b951-d872f2087c98
* Force python test server output to be unbuffered, so it doesn't mix with ↵rsimha@chromium.org2012-09-083-0/+20
| | | | | | | | | | | | | | | | gtest output In browser tests that use a local python server, the python output in the test logs sometimes overlaps with gtest output, resulting in gtest falsely detecting passing tests as incomplete. This is a result of python's default use of buffered output, which gets written to the log file out of order. This patch forces the python process for local test servers to use unbuffered mode. This way, by the time gtest is ready to log a passing test, all testserver output is already written to the log file. BUG=147368 TEST= See sync integration test output when it is redirected to a log file, and make sure there are no false negatives. Review URL: https://chromiumcodereview.appspot.com/10919165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155587 0039d316-1c4b-4281-b951-d872f2087c98
* Use HttpAuthController in SocketStreambashi@chromium.org2012-09-088-140/+347
| | | | | | | | | | | | | | | We need to share http auth cache with http stack because WebSocket is a subresource and chromium won't show the login dialog for subresource loading. Use HttpAuthController and pass the common http auth cache to it to solve the issue. BUG=47069 TEST=net_unittests Review URL: https://chromiumcodereview.appspot.com/10854139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155582 0039d316-1c4b-4281-b951-d872f2087c98
* Use GURL for stringifying IPEndPoint rather than the system network libraries.eroman@chromium.org2012-09-085-63/+143
| | | | | | | | BUG=126212 Review URL: https://chromiumcodereview.appspot.com/10910136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155569 0039d316-1c4b-4281-b951-d872f2087c98
* Remove static variables from HttpStreamFactory.szager@chromium.org2012-09-0716-190/+131
| | | | | | | | | | | Refresh of issue 10389162. BUG=124900 Review URL: https://chromiumcodereview.appspot.com/10834215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155485 0039d316-1c4b-4281-b951-d872f2087c98
* Upstream setting flag for outgoing favicon sync.nyquist@chromium.org2012-09-072-11/+11
| | | | | | | | | | | | | | | Android does not support experiments or about:flags, so we need to set the command line flag directly to enable outgoing favicon sync. Also, this repurposes the old sync_tabs experiments to the new sync_favicon_tabs experiment in the sync test server. BUG=141688 Review URL: https://chromiumcodereview.appspot.com/10908082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155470 0039d316-1c4b-4281-b951-d872f2087c98
* New hit rate by size histograms.gavinp@chromium.org2012-09-071-8/+16
| | | | | | | | | | R=rvargas@chromium.org BUG=None Review URL: https://chromiumcodereview.appspot.com/10911040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155458 0039d316-1c4b-4281-b951-d872f2087c98