- 07 Dec, 2011 40 commits
-
-
joaodasilva@chromium.org authored
This flag determines which policies will be included in the recommended policies templates. BUG=49941 TEST=Everything works as before Review URL: http://codereview.chromium.org/8773002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113411 0039d316-1c4b-4281-b951-d872f2087c98
-
agl@chromium.org authored
The DnsRRResoler has served its time and I don't have any further plans for it. The TransportSecurityState will be used (in a future CL) to enforce public key pinning at certificate verification time. Currently we only enforce it in url_request_http_job.cc which means that we've already sent the HTTP request (inc cookies) by the time we catch the problem. This was expeditious while we fixed some other issues, but it's time to fix it. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/8692012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113410 0039d316-1c4b-4281-b951-d872f2087c98
-
rch@chromium.org authored
was_origin_cert_sent() This will help SpdySession decide to send a CREDENTIAL frame. BUG=106103 TEST=none Review URL: http://codereview.chromium.org/8817021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113409 0039d316-1c4b-4281-b951-d872f2087c98
-
brettw@chromium.org authored
I'm not sure why it's causing valgrind errors, since the IPC system should always be writing the variable. But it's probably good practice to initialize it anyway. BUG=106067 TEST= Review URL: http://codereview.chromium.org/8773018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113408 0039d316-1c4b-4281-b951-d872f2087c98
-
joi@chromium.org authored
Limiting InstallUninstallGarbageCollect to Windows. TBR=aa@chromium.org BUG=106381 Review URL: http://codereview.chromium.org/8847003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113406 0039d316-1c4b-4281-b951-d872f2087c98
-
rtenneti@google.com authored
Revert 113305 - Revert 113300 - Revert of 112134 of Revert 112130 - Close idle connections / SPDY sessions when needed. Due to the idle connection state being held by different socket pools, it's possible for one socket pool to hold an idle socket in a lower layer socket pool. From the lower level socket pool's perspective, the socket is being "actively" used. From the higher socket pool's (including SpdySession, which is more of a connection manager) perspective, the connection is idle and can be closed if we have hit a limit. Normally this isn't a big deal, except when we have a lot of idle SPDY connections and are connecting via a proxy, so we have low connection limits through the proxy server. We address this problem by allowing lower-level socket pools to tell higher level socket pools to close a socket. Fixed ASAN test failures by removing .Times(1) and .Times(2) from CloseMultipleIdleSocketsHeldByLayeredPoolWhenNeeded unittest (this removes the tests relying on the order of std::set in CloseOneIdleConnectionInLayeredPool). ASAN is prob ably causing the memory allocator to allocate the pools differently. The std::set is ordered by LayeredPool* which is the address of the LayeredPool (willchan). Added NET_EXPORT for layered_pool class defintion to fix windows shared compile. BUG=62364, 92244, 105839 TEST=none Review URL: http://codereview.chromium.org/8340012 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/8745007 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/8803019 TBR=rtenneti@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113305 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/8836002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113405 0039d316-1c4b-4281-b951-d872f2087c98
-
erikwright@chromium.org authored
1) This is discouraged because it prevents callers from benefiting from automatic coersion from string/char* types. 2) A follow-up CL (http://codereview.chromium.org/8659047/) will make StringPiece a template, and thus awkward to forward declare. The very small number of places that were appropriately forward declaring it do not justify writing a 'string_piece_forward.h'. BUG=87634 R=willchan@chromium.org Review URL: http://codereview.chromium.org/8817019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113404 0039d316-1c4b-4281-b951-d872f2087c98
-
erikwright@chromium.org authored
1) This is discouraged because it prevents callers from benefiting from automatic coersion from string/char* types. 2) A follow-up CL (http://codereview.chromium.org/8659047/) will make StringPiece a template, and thus awkward to forward declare. The very small number of places that were appropriately forward declaring it do not justify writing a 'string_piece_forward.h'. BUG=87634 R=jam@chromium.org Review URL: http://codereview.chromium.org/8818014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113403 0039d316-1c4b-4281-b951-d872f2087c98
-
zmo@google.com authored
These two also TIMEOUT on GPU win release bot. BUG=106557 TEST= TBR=nduca Review URL: http://codereview.chromium.org/8844004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113402 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113401 0039d316-1c4b-4281-b951-d872f2087c98
-
vsevik@chromium.org authored
TBR=simonjam@chromium.org Review URL: http://codereview.chromium.org/8847004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113400 0039d316-1c4b-4281-b951-d872f2087c98
-
agl@chromium.org authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113399 0039d316-1c4b-4281-b951-d872f2087c98
-
agl@chromium.org authored
This relands r113203, which was reverted in r113229. Hopefully the ChromeOS bots will be happy this time. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113398 0039d316-1c4b-4281-b951-d872f2087c98
-
backer@chromium.org authored
In combination with shawnsingh's scissoring, this is a huge win on 10.5 which uses a readback through main memory. Some numbers given on https://bugs.webkit.org/show_bug.cgi?id=67341 The win on >= 10.6 is probably less because there is not readback through main memory. The 10.6 implementation assumes that nothing outside the partial swap region was damaged (i.e. it's a SwapBuffers that always preserves the backbuffer --- it's not a true partial swap a la GLX_MESA_copy_sub_buffers). This is all that the scissoring needs. BUG=none TEST=ran with shawnsingh's patch on http://www.webkit.org/blog-files/3d-transforms/poster-circle.html on 10.6 and 10.5 Review URL: http://codereview.chromium.org/8726046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113397 0039d316-1c4b-4281-b951-d872f2087c98
-
tfarina@chromium.org authored
BUG=43460 R=mirandac@chromium.org Review URL: http://codereview.chromium.org/8833001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113396 0039d316-1c4b-4281-b951-d872f2087c98
-
joi@chromium.org authored
TBR=mmenke@chromium.org BUG=106707 Review URL: http://codereview.chromium.org/8832009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113395 0039d316-1c4b-4281-b951-d872f2087c98
-
nkostylev@chromium.org authored
Workaround for a crash. BUG=106485 TEST=VMTests, no seg fault. Review URL: http://codereview.chromium.org/8834011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113394 0039d316-1c4b-4281-b951-d872f2087c98
-
zmo@google.com authored
BUG=106557 TEST= TBR=nduca Review URL: http://codereview.chromium.org/8841001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113392 0039d316-1c4b-4281-b951-d872f2087c98
-
mball@google.com authored
BUG=None TEST=None TBR=bradnelson, noelallen Review URL: http://codereview.chromium.org/8827008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113390 0039d316-1c4b-4281-b951-d872f2087c98
-
kaznacheev@chromium.org authored
BUG=chromium-os:23768 TEST= Review URL: http://codereview.chromium.org/8818020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113389 0039d316-1c4b-4281-b951-d872f2087c98
-
senorblanco@chromium.org authored
Add --enable-accelerated-filters flag to Chrome. This is the chrome-side change corresponding to http://trac.webkit.org/changeset/102088. Note that most of this is the result of blind devotion to cargo cult, based on code for other flags. BUG=none TEST=none Review URL: http://codereview.chromium.org/8822025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113388 0039d316-1c4b-4281-b951-d872f2087c98
-
joi@chromium.org authored
The primary commit was 113249, the dependents were 113261, 113263. This is a speculative revert, r113249 is by far the likeliest culprit in the blamelist of build http://build.chromium.org/p/chromium.memory/builders/ASAN%20Tests%20%282%29/builds/2325 which is where we started seeing the ASAN failures in question, will un-revert if it does not fix the problem. TBR=jhawkins@chromium.org BUG=none Review URL: http://codereview.chromium.org/8832006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113387 0039d316-1c4b-4281-b951-d872f2087c98
-
xians@chromium.org authored
There is a racing between SyncSocket::Receive in audio_thread_ and SyncSocket::Close in renderer thread. This patch fixes it by using a waitable event to signal the audio thread that it should stop. Test=content_unittests by running Valgrind BUG=103711 Review URL: http://codereview.chromium.org/8659040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113386 0039d316-1c4b-4281-b951-d872f2087c98
-
vsevik@chromium.org authored
TBR=abarth Review URL: http://codereview.chromium.org/8833016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113385 0039d316-1c4b-4281-b951-d872f2087c98
-
cbentzel@chromium.org authored
There were a few memory issues including access of unadressable memory. DnsClient provides a generic DNS client that allows fetching resource records. DnsClient is very lightweight and does not support aggregation, queuing or prioritization of requests. This is the first CL in a series to merge AsyncHostResolver into HostResolverImpl. Also introduces general-purpose BigEndianReader/Writer. BUG=90881 TEST=./net_unittests Review URL: http://codereview.chromium.org/8762001 TBR=szym@chromium.org Review URL: http://codereview.chromium.org/8835011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113384 0039d316-1c4b-4281-b951-d872f2087c98
-
jochen@chromium.org authored
BUG=79331 TEST=collected cookies test Review URL: http://codereview.chromium.org/8836006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113383 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113382 0039d316-1c4b-4281-b951-d872f2087c98
-
reed@google.com authored
Review URL: http://codereview.chromium.org/8823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113381 0039d316-1c4b-4281-b951-d872f2087c98
-
kaznacheev@chromium.org authored
This is to support http://codereview.chromium.org/8819013/ BUG=chromium-os:23750 TEST= Review URL: http://codereview.chromium.org/8822013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113380 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113379 0039d316-1c4b-4281-b951-d872f2087c98
-
vsevik@chromium.org authored
TBR=simonjam@chromium.org Review URL: http://codereview.chromium.org/8835009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113378 0039d316-1c4b-4281-b951-d872f2087c98
-
joi@chromium.org authored
This also removes several accessors on BrowserProcess that are no longer used. I wanted to remove all retrieval of MessageLoop objects via BrowserThread, but this proved harder than it looked, because several net:: classes use MessageLoop and have fairly deep assumptions that it is a real MessageLoop, e.g. they use MessageLoopForIO with its IO observers and so forth. Therefore, we now have UnsafeGetMessageLoopForThread but UnsafeGetBrowserThread is gone. TBR=abodenha@chromium.org BUG=98716 Review URL: http://codereview.chromium.org/8769013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113377 0039d316-1c4b-4281-b951-d872f2087c98
-
markusheintz@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/8816012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113376 0039d316-1c4b-4281-b951-d872f2087c98
-
timurrrr@chromium.org authored
TBR=cbentzel Review URL: http://codereview.chromium.org/8833011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113375 0039d316-1c4b-4281-b951-d872f2087c98
-
timurrrr@chromium.org authored
Update TSan suppressions to account for the recent change: FFmpegVideoDecodeEngine -> FFmpegVideoDecoder TBR=cbentzel Review URL: http://codereview.chromium.org/8835007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113374 0039d316-1c4b-4281-b951-d872f2087c98
-
joi@chromium.org authored
About 40% flaky since the DISABLED_ marker was removed from it in r113347. TBR=georgey@chromium.org BUG=57884 Review URL: http://codereview.chromium.org/8832004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113371 0039d316-1c4b-4281-b951-d872f2087c98
-
stuartmorgan@chromium.org authored
Returns true when plugin compositing is enabled, so that plugins that dynamically query for composited CA support know it's safe to use CA. Updates NPAPI headers to r14 of the upstream 'npapi-sdk' project headers, to pick up the new constant. BUG=40997 TEST=HTML overlays should work with, e.g., the Google Earth plugin on 10.6+ Review URL: http://codereview.chromium.org/8805004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113370 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-release@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113369 0039d316-1c4b-4281-b951-d872f2087c98
-
jam@chromium.org authored
Move web_contents_unittest.cc to content, where it belongs next to TabContents. Also rename it to tab_contents_unittests.cc. I've moved the one part that depended on PrefService to the pref service test. BUG=98716 Review URL: http://codereview.chromium.org/8802024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113367 0039d316-1c4b-4281-b951-d872f2087c98
-
pastarmovj@chromium.org authored
Calling CrosSettings::Set when the DeviseSettingsProvider is in untrusted state on owned device leads to endless loop. Also there was a race condition between storing the signed settings cache and setting values in the signed settings on device owning which might lead to loosing values from the memory cache stored there before the ownership has been acquired. BUG=chromium-os:23805 TEST=See bug description. Review URL: http://codereview.chromium.org/8815015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113365 0039d316-1c4b-4281-b951-d872f2087c98
-