summaryrefslogtreecommitdiffstats
path: root/net/test
Commit message (Collapse)AuthorAgeFilesLines
* Reland r263348: Add False Start testsdavidben@chromium.org2014-04-162-2/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Failed on valgrind because it triggered broken timing cases. The original FakeBlockingStreamSocket changes introduced bugs and didn't quite have the desired semantics: - If SetNextReadWouldBlock() gets called while there is a hanging Read(), we need to block that one. - The synchronous Read return + block case was just broken. It forgot to save the callback. Original description: > Add False Start tests > > Tests both that False Start occurs when it should and doesn't > when it shouldn't. > > BUG=354132 > > Review URL: https://codereview.chromium.org/208293002 BUG=354132,362920 Review URL: https://codereview.chromium.org/237483002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264356 0039d316-1c4b-4281-b951-d872f2087c98
* [Android WebView] Add an API to configure mixed-mode content behavior.benm@chromium.org2014-04-161-11/+17
| | | | | | | | | | Additionally allows us to have an SSL as well as a regular instance of the test server running at once to facilitate testing. BUG=362478 Review URL: https://codereview.chromium.org/234983002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264246 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 263348 "Add False Start tests"zhaoqin@google.com2014-04-122-40/+2
| | | | | | | | | | | | | | | | | | | | BUG=362920 TBR=davidben@chromium.org > Add False Start tests > > Tests both that False Start occurs when it should and doesn't > when it shouldn't. > > BUG=354132 > > Review URL: https://codereview.chromium.org/208293002 TBR=davidben@chromium.org Review URL: https://codereview.chromium.org/235873005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263545 0039d316-1c4b-4281-b951-d872f2087c98
* Add False Start testsdavidben@chromium.org2014-04-112-2/+40
| | | | | | | | | | | Tests both that False Start occurs when it should and doesn't when it shouldn't. BUG=354132 Review URL: https://codereview.chromium.org/208293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263348 0039d316-1c4b-4281-b951-d872f2087c98
* Make net use v8 through ginjochen@chromium.org2014-04-081-2/+1
| | | | | | | | | | | | - no longer try to use the default isolate (we want to remove it from v8) - add the option to gin to manage an isolate in non-strict mode BUG=359977 R=eroman@chromium.org,abarth@chromium.org Review URL: https://codereview.chromium.org/227233006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262559 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 260201 "Give localserver time to shut down"tim@chromium.org2014-03-281-5/+0
| | | | | | | | | | | | | | | | | > Give localserver time to shut down > > On machines with slow I/O, the localserver might not shut down immediately, > wait for it if necessary. > > BUG= > > Review URL: https://codereview.chromium.org/145873004 TBR=sigbjorn@opera.com Review URL: https://codereview.chromium.org/217913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260300 0039d316-1c4b-4281-b951-d872f2087c98
* Give localserver time to shut downsigbjorn@opera.com2014-03-281-0/+5
| | | | | | | | | | | On machines with slow I/O, the localserver might not shut down immediately, wait for it if necessary. BUG= Review URL: https://codereview.chromium.org/145873004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260201 0039d316-1c4b-4281-b951-d872f2087c98
* Delete net/tools/fetch. No one is using this.willchan@chromium.org2014-03-261-1/+0
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/195863006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259680 0039d316-1c4b-4281-b951-d872f2087c98
* Remove akalin and szym from OWNERS files.mmenke@chromium.org2014-03-181-3/+0
| | | | | | | | | | They no longer work on Chrome. R=cbentzel@chromium.org, pauljensen@chromium.org, tim@chromium.org, zea@chromium.org Review URL: https://codereview.chromium.org/197853006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257639 0039d316-1c4b-4281-b951-d872f2087c98
* Move CommandLine to base namespace.brettw@chromium.org2014-03-175-8/+10
| | | | | | | | | | | | Fix all forward-declares and header files referencing CommandLine. This keeps a "using base::CommandLine" in the command line header file so that the rest of the source files can be changes in a follow-up. TBR=sky Review URL: https://codereview.chromium.org/196413016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257514 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ScopedFD in terms of ScopedGeneric.brettw@chromium.org2014-03-172-8/+8
| | | | | | | | | | | | | | | Move to a new file base/files/scoped_file.h. I will also add ScopedFILE to here (currently in file_util.h) later. I think there is a crash in the old code in content/browser/zygote_host/zygote_host_impl_linux.cc that this patch should fix. The old ScopedFD took the address of something in a vector that is being modified. I removed SafeScopedFD from content/common/sandbox_linux/sandbox_linux.cc since base's ScopedFD not CHECKs on close failure (this is a more recent addition). Reland of https://codereview.chromium.org/191673003/ R=agl, viettrungluu Review URL: https://codereview.chromium.org/202113004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257473 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Implement ScopedFD in terms of ScopedGeneric. ↵jochen@chromium.org2014-03-152-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://codereview.chromium.org/191673003/) Reason for revert: Doesn't correctly link /mnt/data/b/build/slave/Chromium_Linux_Codesearch/build/src/third_party/gold/gold64: warning: hidden symbol 'base::internal::ScopedFDCloseTraits::Free(int)' in obj/base/files/nacl_helper.scoped_file.o is referenced by DSO lib/libipc.so Original issue's description: > Implement ScopedFD in terms of ScopedGeneric. > > Move to a new file base/files/scoped_file.h. I will also add ScopedFILE to here (currently in file_util.h) later. > > I think there is a crash in the old code in content/browser/zygote_host/zygote_host_impl_linux.cc that this patch should fix. The old ScopedFD took the address of something in a vector that is being modified. > > I removed SafeScopedFD from content/common/sandbox_linux/sandbox_linux.cc since base's ScopedFD not CHECKs on close failure (this is a more recent addition). > > BUG= > R=agl@chromium.org, viettrungluu@chromium.org > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257001 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257179 TBR=viettrungluu@chromium.org,agl@chromium.org,brettw@chromium.org NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/201203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257323 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ScopedFD in terms of ScopedGeneric.brettw@chromium.org2014-03-142-8/+8
| | | | | | | | | | | | | | | | | Move to a new file base/files/scoped_file.h. I will also add ScopedFILE to here (currently in file_util.h) later. I think there is a crash in the old code in content/browser/zygote_host/zygote_host_impl_linux.cc that this patch should fix. The old ScopedFD took the address of something in a vector that is being modified. I removed SafeScopedFD from content/common/sandbox_linux/sandbox_linux.cc since base's ScopedFD not CHECKs on close failure (this is a more recent addition). BUG= R=agl@chromium.org, viettrungluu@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257001 Review URL: https://codereview.chromium.org/191673003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257179 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Implement ScopedFD in terms of ScopedGeneric. ↵thakis@chromium.org2014-03-142-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://codereview.chromium.org/191673003/) Reason for revert: Doesn't build on android: FAILED: /mnt/data/b/build/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/base/memory/base.discardable_memory_allocator_android.o.d -DV8_DEPRECATION_WARNINGS -DBLINK_SCALE_FILTERS_AT_RECORD_TIME -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DCOMPONENT_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_CONFIGURATION_POLICY -DENABLE_NEW_GAMEPAD_API=1 -DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY -DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DENABLE_EGLIMAGE=1 -DENABLE_AUTOFILL_DIALOG=1 -DCLD_VERSION=1 -DENABLE_PRINTING=1 -DENABLE_MANAGED_USERS=1 -DUSE_OPENSSL=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DBASE_IMPLEMENTATION -DANDROID -D__GNU_SOURCE=1 -DUSE_STLPORT=1 -D_STLP_USE_PTR_SPECIALIZATIONS=1 '-DCHROME_BUILD_ID=""' -DHAVE_SYS_UIO_H -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_DEBUG -Igen/base -I../../third_party/android_tools/ndk/sources/android/cpufeatures -I../.. -fstack-protector --param=ssp-buffer-size=4 -Werror -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-reserved-user-defined-literal -Wno-deprecated-register -Xclang -load -Xclang /mnt/data/b/build/slave/Android_Clang_Builder__dbg_/build/src/tools/clang/scripts/../../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-url-directory -fcolor-diagnostics -Wexit-time-destructors -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -mthumb -no-integrated-as -B/mnt/data/b/build/slave/Android_Clang_Builder__dbg_/build/src/third_party/android_tools/ndk//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin -ffunction-sections -funwind-tables -g -fstack-protector -fno-short-enums -Wa,--noexecstack -D__compiler_offsetof=__builtin_offsetof -Dnan=__builtin_nan -target arm-linux-androideabi -mllvm -arm-enable-ehabi --sysroot=/mnt/data/b/build/slave/Android_Clang_Builder__dbg_/build/src/third_party/android_tools/ndk//platforms/android-14/arch-arm -I/mnt/data/b/build/slave/Android_Clang_Builder__dbg_/build/src/third_party/android_tools/ndk//sources/cxx-stl/stlport/stlport -Os -g -fomit-frame-pointer -fdata-sections -ffunction-sections -funwind-tables -g0 -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -std=gnu++11 -Wno-implicit-exception-spec-mismatch -Wno-abi -c ../../base/memory/discardable_memory_allocator_android.cc -o obj/base/memory/base.discardable_memory_allocator_android.o ../../base/memory/discardable_memory_allocator_android.cc:84:25:error: no matching function for call to 'mmap' void* const address = mmap( ^~~~ /mnt/data/b/build/slave/Android_Clang_Builder__dbg_/build/src/third_party/android_tools/ndk//platforms/android-14/arch-arm/usr/include/sys/mman.h:47:15: note: candidate function not viable: no known conversion from 'base::ScopedFD' (aka 'ScopedGeneric<int, internal::ScopedFDCloseTraits>') to 'int' for 5th argument extern void* mmap(void *, size_t, int, int, int, off_t); ^ 1 error generated. Original issue's description: > Implement ScopedFD in terms of ScopedGeneric. > > Move to a new file base/files/scoped_file.h. I will also add ScopedFILE to here (currently in file_util.h) later. > > I think there is a crash in the old code in content/browser/zygote_host/zygote_host_impl_linux.cc that this patch should fix. The old ScopedFD took the address of something in a vector that is being modified. > > I removed SafeScopedFD from content/common/sandbox_linux/sandbox_linux.cc since base's ScopedFD not CHECKs on close failure (this is a more recent addition). > > BUG= > R=agl@chromium.org, viettrungluu@chromium.org > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257001 TBR=viettrungluu@chromium.org,agl@chromium.org,brettw@chromium.org NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/197873014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257005 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ScopedFD in terms of ScopedGeneric.brettw@chromium.org2014-03-142-8/+8
| | | | | | | | | | | | | | | Move to a new file base/files/scoped_file.h. I will also add ScopedFILE to here (currently in file_util.h) later. I think there is a crash in the old code in content/browser/zygote_host/zygote_host_impl_linux.cc that this patch should fix. The old ScopedFD took the address of something in a vector that is being modified. I removed SafeScopedFD from content/common/sandbox_linux/sandbox_linux.cc since base's ScopedFD not CHECKs on close failure (this is a more recent addition). BUG= R=agl@chromium.org, viettrungluu@chromium.org Review URL: https://codereview.chromium.org/191673003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257001 0039d316-1c4b-4281-b951-d872f2087c98
* Allow the content browser client to specify a special cookie store to betburkard@chromium.org2014-03-121-1/+1
| | | | | | | | | | | | | | | used for a given render process id. This special cookie store will then be used for renderer messages pertaining to cookies, url fetches in net, and websockets. If the special cookie store is NULL, a default cookie store will be used. Re-submit of https://codereview.chromium.org/188693003 See https://codereview.chromium.org/188693003 for reviewers/lgtm's. Review URL: https://codereview.chromium.org/197043005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256657 0039d316-1c4b-4281-b951-d872f2087c98
* Move TrimWhitespace to the base namespace.brettw@chromium.org2014-03-031-1/+1
| | | | | | | | R=viettrungluu@chromium.org, viettrungluu Review URL: https://codereview.chromium.org/183853011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254521 0039d316-1c4b-4281-b951-d872f2087c98
* Use EXPECT_DFATAL instead of EXPECT_DEBUG_DEATH in spdy_protocol_test.cc.rch@chromium.org2014-01-255-0/+327
| | | | | | | | | | | | Switch the associated DCHECK to a LOG_IF(DFATAL). Move EXPECT_DFATAL, and friends, from net/quic/test_tools/ to net/test/. Merge internal change: 60170975 Review URL: https://codereview.chromium.org/134193004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247136 0039d316-1c4b-4281-b951-d872f2087c98
* Removes MessageLoop::TYPE_XXX where possiblesky@chromium.org2014-01-151-2/+2
| | | | | | | | | | | | This is part of attempting to get rid of MessageLoop::Type enum. BUG=none TEST=none R=darin@chromium.org Review URL: https://codereview.chromium.org/136683004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244996 0039d316-1c4b-4281-b951-d872f2087c98
* Update uses of UTF conversions in courgette/, device/, extensions/, ↵avi@chromium.org2013-12-252-2/+2
| | | | | | | | | | | | google_apis/, gpu/, ipc/, media/, net/ to use the base:: namespace. BUG=330556 TEST=no change TBR=ben@chromium.org Review URL: https://codereview.chromium.org/112963005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242496 0039d316-1c4b-4281-b951-d872f2087c98
* Update uses of Value in extensions/, google_apis/, gpu/, media/, net/, ↵avi@chromium.org2013-12-231-2/+2
| | | | | | | | | | | | printing/, remoting/, rlz/, sync/, ui/ to use the base:: namespace. BUG=88666 TEST=no change TBR=ben@chromium.org Review URL: https://codereview.chromium.org/116433007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242410 0039d316-1c4b-4281-b951-d872f2087c98
* rAc: remove http:// support, except when flag is providedestade@chromium.org2013-12-171-1/+1
| | | | | | | | | | | | | Add a new flag for this purpose, --reduce-security-for-testing. This is intended to be useful for other security-restricted features as well. Never show the warning notification in the dialog. BUG=272512 TBR=joi@chromium.org,sky@chromium.org,akalin@chromium.org Review URL: https://codereview.chromium.org/100473013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241364 0039d316-1c4b-4281-b951-d872f2087c98
* Extract Certificate Transparency SCTs from stapled OCSP responsesekasper@google.com2013-12-174-9/+98
| | | | | | | | BUG=309578 Review URL: https://codereview.chromium.org/102613006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241083 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of https://codereview.chromium.org/92443002/szym@chromium.org2013-12-134-98/+9
| | | | | | | | | | | | | | | | | Reason for revert: Does not compile on CrOS amd64 net/cert/ct_objects_extractor_nss.cc:528:66: error: narrowing conversion (...) from 'std::basic_string<char>::size_type {aka long unsigned int}' to 'unsigned int' inside { } is ill-formed in C++11 [-Werror=narrowing] ocsp_response.data())), ocsp_response.size() }; TBR=wtc@chromium.org,rsleevi@chromium.org,ekasper@google.com NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/108113006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240731 0039d316-1c4b-4281-b951-d872f2087c98
* Extract Certificate Transparency SCTs from stapled OCSP responsesekasper@google.com2013-12-134-9/+98
| | | | | | | | BUG=309578 Review URL: https://codereview.chromium.org/92443002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240721 0039d316-1c4b-4281-b951-d872f2087c98
* net: add test for TLS_FALLBACK_SCSVagl@chromium.org2013-12-112-2/+13
| | | | | | | | BUG=310768 Review URL: https://codereview.chromium.org/109563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240163 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing Java style errors in net/android/aurimas@chromium.org2013-12-111-3/+3
| | | | | | | | | BUG=320711 NOTRY=true Review URL: https://codereview.chromium.org/112163002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240132 0039d316-1c4b-4281-b951-d872f2087c98
* Certificate Transparency: Properly initializing test objectseranm@google.com2013-12-111-0/+2
| | | | | | | | | | | | The test SCT returned did not have its version field initialized. That made valgrind unhappy. TBR=wtc@chromium.org BUG=327619 Review URL: https://codereview.chromium.org/102513004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240118 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 239921 "Revert 239759 "The comment in base64.h implies th..."vadimt@chromium.org2013-12-111-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ***************** Reverting the revert. Congrats, the original CL wasn't the cause for the failure; sorry for the mess. ***************** > Revert 239759 "The comment in base64.h implies that base::Base64..." > > > The comment in base64.h implies that base::Base64Encode() can return false, but > > this cannot happen in practice. Fix the comment. > > > > The implementation of Base64Encode() attempts to check for the return value > > MODP_B64_ERROR as a failure, but modp_b64_encode() cannot return this > > value. Remove the check. > > > > Remove unneeded integer cast. > > > > Change the return type to void. > > > > BUG=323357 > > TEST=base_unittests, compile all > > TBR=jochen@chromium.org,miket@chromium.org,joi@chromium.org,akalin@chromium.org,sergeyu@chromium.org > > > > Review URL: https://codereview.chromium.org/86913002 > > TBR=ricea@chromium.org > > Review URL: https://codereview.chromium.org/101113004 TBR=vadimt@chromium.org Review URL: https://codereview.chromium.org/111883004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239944 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 239759 "The comment in base64.h implies that base::Base64..."vadimt@chromium.org2013-12-111-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | > The comment in base64.h implies that base::Base64Encode() can return false, but > this cannot happen in practice. Fix the comment. > > The implementation of Base64Encode() attempts to check for the return value > MODP_B64_ERROR as a failure, but modp_b64_encode() cannot return this > value. Remove the check. > > Remove unneeded integer cast. > > Change the return type to void. > > BUG=323357 > TEST=base_unittests, compile all > TBR=jochen@chromium.org,miket@chromium.org,joi@chromium.org,akalin@chromium.org,sergeyu@chromium.org > > Review URL: https://codereview.chromium.org/86913002 TBR=ricea@chromium.org Review URL: https://codereview.chromium.org/101113004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239921 0039d316-1c4b-4281-b951-d872f2087c98
* The comment in base64.h implies that base::Base64Encode() can return false, butricea@chromium.org2013-12-101-6/+3
| | | | | | | | | | | | | | | | | | | | this cannot happen in practice. Fix the comment. The implementation of Base64Encode() attempts to check for the return value MODP_B64_ERROR as a failure, but modp_b64_encode() cannot return this value. Remove the check. Remove unneeded integer cast. Change the return type to void. BUG=323357 TEST=base_unittests, compile all TBR=jochen@chromium.org,miket@chromium.org,joi@chromium.org,akalin@chromium.org,sergeyu@chromium.org Review URL: https://codereview.chromium.org/86913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239759 0039d316-1c4b-4281-b951-d872f2087c98
* Fix flaky thread number DCHECK in KioskTest.xiyuan@chromium.org2013-12-062-5/+27
| | | | | | | | | | | EmbeddedTestServer::StopThread might be returned before GetNumberOfThreads gets an updated thread number. Add a busy loop to wait for it to update. BUG=322732 Review URL: https://codereview.chromium.org/105823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239141 0039d316-1c4b-4281-b951-d872f2087c98
* Stop using third_party\python_26 for many tests.maruel@chromium.org2013-12-053-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | Migrate testserver.py from using embedded python in third_party\python_26 to the python version installed on the system. Kill many python_26 references. It reduces the amount of data that needs to be transfered for Windows swarm slaves. The remaining uses of third_party\python_26 are: 1. chrome_frame. 2. pyauto needs the python SDK. As such, it needs a "known" python installation. 3. gn. R=phajdan.jr@chromium.org,rsleevi@chromium.org BUG=98636 BUG=321703 TEST= Review URL: https://codereview.chromium.org/74253002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238989 0039d316-1c4b-4281-b951-d872f2087c98
* Do not spawn a thread in browser/interactive ui tests before spawning ↵oshima@chromium.org2013-12-042-17/+65
| | | | | | | | | | | | | | sandbox host process * Introduced DBThreadManager::SetInstanceForTesting to specify the instance to be used when DBThreadManager::Initialize is called in the browser setup rocess. * Temporarily stop the thread in EmbeddedTestServer to fork/exec sandbox host process properly. BUG=322732 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/83633004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238554 0039d316-1c4b-4281-b951-d872f2087c98
* Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to ↵brettw@chromium.org2013-12-031-1/+1
| | | | | | | | | | | base namespace. BUG= R=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/102843002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238465 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for fetching Certificate Transparency SCTs over a TLS extensionekasper@google.com2013-11-282-1/+14
| | | | | | | | BUG=309578 Review URL: https://codereview.chromium.org/83333003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237775 0039d316-1c4b-4281-b951-d872f2087c98
* Add the high-level interface for verifying SCTs over multiple logseranm@google.com2013-11-242-2/+30
| | | | | | | | | | | | | | This interface (and the default implementation) verify SCT lists obtained during the TLS handshake or from OCSP stapling, as well as embedded ones. The result will be used to modify the ssl_info with indicatior of CT status. The next, and final, patch will wire the CTVerifier to the SSL client socket. BUG=309578 Review URL: https://codereview.chromium.org/67513008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237008 0039d316-1c4b-4281-b951-d872f2087c98
* Add an SignedCertificateTimetampStore, making SignedCertificateTimestamp be ↵alcutter@google.com2013-11-222-6/+12
| | | | | | | | | | refcounted to aid. BUG= Review URL: https://codereview.chromium.org/72333007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236797 0039d316-1c4b-4281-b951-d872f2087c98
* A rather small change following up on comments in issue 55953002.eranm@google.com2013-11-211-2/+6
| | | | | | | | BUG=309578 Review URL: https://codereview.chromium.org/79633002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236474 0039d316-1c4b-4281-b951-d872f2087c98
* Create EmbeddedTestServer's thread when necessaryoshima@chromium.org2013-11-212-15/+15
| | | | | | | | BUG=321422 Review URL: https://codereview.chromium.org/76983005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236422 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chrome upload with content uriqinmin@chromium.org2013-11-201-0/+2
| | | | | | | | | | | | For android, the upload file dialog returns files with content uri scheme(content://). This CL makes it possible for upload to work with this new file type. It fixes both the form and fileapi based uploads. BUG=278640 Review URL: https://codereview.chromium.org/75533002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236192 0039d316-1c4b-4281-b951-d872f2087c98
* CT: Adding SCT and PreCertificates extractor. This code creates theeranm@google.com2013-11-192-0/+13
| | | | | | | | | | | LogEntry structure over which Signed Certificate Timestamps can be verified (and the unit tests demonstrate this). BUG=309578 Review URL: https://codereview.chromium.org/65863002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235915 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 235752 "Fix chrome upload with content uri"qinmin@chromium.org2013-11-181-2/+0
| | | | | | | | | | | | | | | | | | | | | | > Fix chrome upload with content uri > > For android, the upload file dialog returns files with content uri scheme(content://). > This CL makes it possible for upload to work with this new file type. > It fixes both the form and fileapi based uploads. > > The CL follows the same code path used by regular file upload and the content url is encompassed by a FilePath object. > > R=jar@chromium.org, joth@chromium.org, kinuko@chromium.org, mmenke@chromium.org, tsepez@chromium.org > TBR=yfriedman > BUG=278640 > > Review URL: https://codereview.chromium.org/46303005 TBR=qinmin@chromium.org Review URL: https://codereview.chromium.org/65043023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235760 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chrome upload with content uriqinmin@chromium.org2013-11-181-0/+2
| | | | | | | | | | | | | | | | For android, the upload file dialog returns files with content uri scheme(content://). This CL makes it possible for upload to work with this new file type. It fixes both the form and fileapi based uploads. The CL follows the same code path used by regular file upload and the content url is encompassed by a FilePath object. R=jar@chromium.org, joth@chromium.org, kinuko@chromium.org, mmenke@chromium.org, tsepez@chromium.org TBR=yfriedman BUG=278640 Review URL: https://codereview.chromium.org/46303005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235752 0039d316-1c4b-4281-b951-d872f2087c98
* CT: Adding SCT verification functionality: A CTLogVerifier instance can ↵eranm@google.com2013-11-132-9/+70
| | | | | | | | | | verify SCTs signed by a single log. BUG=309578 Review URL: https://codereview.chromium.org/55953002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234672 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes for -Wunused-function on Linux, Android and ChromeOShans@chromium.org2013-11-121-0/+2
| | | | | | | | | BUG=315884, 78045 TBR=owners Review URL: https://codereview.chromium.org/67923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234373 0039d316-1c4b-4281-b951-d872f2087c98
* CT: First step towards supporting Certificate Transparency in Chrome.eranm@google.com2013-11-012-0/+147
| | | | | | | | | | | | | | | | | | This patch adds Signed Certificate Timestamp (SCT) encoding/decoding. SCT is the Certificate Transparency (CT) structure containing a proof of a public log's commitment to adding a certificate to its public repository. The next patches would be extracting the SCTs when embedded in certificates and verifying the signature from the SCT over them. BUG=309578 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232131 Review URL: https://codereview.chromium.org/37633002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232267 0039d316-1c4b-4281-b951-d872f2087c98
* [Net] Add a priority parameter to URLRequest's constructorakalin@chromium.org2013-10-311-3/+4
| | | | | | | | | | | | | | | | | | | This is so that it is clearer what the intended initial priority of a URLRequest is. It is also needed so that we can later enforce that if a URLRequest is set to ignore limits, it has MAXIMUM_PRIORITY; otherwise, we'd have to mandate that SetPriority() is called before set_load_flags(), which is fiddly. Also standardize on a single URLRequest constructor. BUG=166689 R=jam@chromium.org, jamesr@chromium.org, joth@chromium.org, mmenke@chromium.org, scottbyer@chromium.org, sky@chromium.org, tommi@chromium.org Review URL: https://codereview.chromium.org/51953002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232219 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 232131 "CT: First step towards supporting Certificate Tra..."rpaquay@chromium.org2013-10-312-147/+0
| | | | | | | | | | | | | | | | | | | | | | > CT: First step towards supporting Certificate Transparency in Chrome. > > This patch adds Signed Certificate Timestamp (SCT) encoding/decoding. > SCT is the Certificate Transparency (CT) structure containing a proof > of a public log's commitment to adding a certificate to its public > repository. > > The next patches would be extracting the SCTs when embedded in > certificates and verifying the signature from the SCT over them. > > BUG=309578 > > Review URL: https://codereview.chromium.org/37633002 TBR=eranm@google.com Review URL: https://codereview.chromium.org/47923017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232137 0039d316-1c4b-4281-b951-d872f2087c98
* CT: First step towards supporting Certificate Transparency in Chrome.eranm@google.com2013-10-312-0/+147
| | | | | | | | | | | | | | | | This patch adds Signed Certificate Timestamp (SCT) encoding/decoding. SCT is the Certificate Transparency (CT) structure containing a proof of a public log's commitment to adding a certificate to its public repository. The next patches would be extracting the SCTs when embedded in certificates and verifying the signature from the SCT over them. BUG=309578 Review URL: https://codereview.chromium.org/37633002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232131 0039d316-1c4b-4281-b951-d872f2087c98