[refactor] Move webcrypto test data to separate files.

BUG=245025

Review URL: https://codereview.chromium.org/147613002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248637 0039d316-1c4b-4281-b951-d872f2087c98
Remove pending controller entries when IPC channel is closed.

When IPC channel is closed while VideoCaptureHost is waiting for
a controller to be added, it should remove that entry so that
the controller can be notified when the controller is delivered
to VideoCaptureHost.

BUG=339314
R=jiayl@chromium.org

Review URL: https://codereview.chromium.org/143413022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248638 0039d316-1c4b-4281-b951-d872f2087c98
Rename --webcore-log-channels to --blink-platform-log-channels.

It's blink now!

R=jochen@chromium.org
BUG=None

Review URL: https://codereview.chromium.org/152873002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248639 0039d316-1c4b-4281-b951-d872f2087c98
test-cert generation scripts: Fix serial number file creation.

Fix quoting in try() function.
Fix places that attempted to use redirection with try() incorrectly.
Serial number must be hex string with length being a multiple of 2.

BUG=none
R=rsleevi@chromium.org

Review URL: https://codereview.chromium.org/141893008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248640 0039d316-1c4b-4281-b951-d872f2087c98
Move filter code out of net/base and into new net/filter directory.

This also removes an unneeded include in favor of forward declaration.

No behavior changes, just a code cleanup issue.

Review URL: https://codereview.chromium.org/149513013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248641 0039d316-1c4b-4281-b951-d872f2087c98
Appcache::OnCorruptionDetected handling. The general idea is to delete everything and start over (reinitialize) if we notice corruption on disk. The is some pre-existing code to perform the reinitialization function, but that was only used in a more narrow case where the disk cache could not have been open. With the changes in this CL, reinitialization can be triggered pretty much at any time.
 
* The AppCacheDatabase classes uses an SQLConnecton ErrorHandler to detect catastrophic errors (corruption).

* The AppCacheStorageImpl's DatabaseTask class checks for having seen corruption during a task and initiates a heavy handed operation to delete everything and start over.

* The AppCacheStorageImpl::InitTask also checks for the presence of a stale/undeletable DiskCache when there is no SQL database. If found, that also triggers reinitialization.

* The AppCacheService class does exponential backoff to avoid thrashing the disk on repeated reinit attempts.

* The AppCacheDiskCache class's Disable() method has been modified such that all file handles get released.

TBR=jam
BUG=318544

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247967

Review URL: https://codereview.chromium.org/137493003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248642 0039d316-1c4b-4281-b951-d872f2087c98
Reading, writing of CDD and CJT JSON formats.
Printer description and print job ticket formats.

BUG=317027

Review URL: https://codereview.chromium.org/150993002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248644 0039d316-1c4b-4281-b951-d872f2087c98
[Mac] Resize the download warning button when the button text changes.

The text of the confirm button for the dangerous download warning on the
download shelf depends on the type of warning being displayed. By this
time, the warning has been localized and resized once already. A second
layout call needed to be made to resize the button and the enclosing
view.

BUG=339791
TEST=(1) Download a dangerous file (E.g.: a .jar file). The warning should
         display 'Discard' and 'Keep' buttons.
     (2) Download a file from a malicious URL. The warning should have a
         'Dismiss' button and a drop down button which opens a menu.
     (3) Drag & drop a .crx file to the new tab page. The extension warning
         should have 'Discard' and 'Continue' buttons.
     In all cases, the warning text and the button text should be visible
     without truncation.

Review URL: https://codereview.chromium.org/151913002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248645 0039d316-1c4b-4281-b951-d872f2087c98
Move pending prerender logic into PrerenderLinkManager.

Pending prerenders should not count towards max_link_concurrency. Fix and
re-enable the tests accordingly. This also removes the last instances of
unpaired content::RunMessageLoop() / base::MessageLoop::current()->Quit() calls
in the browser tests. All waiting should now use the new base::RunLoop-based
code.

Also add a new test to check pending prerenders are canceled when their
launching prerenders are.

BUG=333276,167792,145248,307592

Review URL: https://codereview.chromium.org/146983002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248646 0039d316-1c4b-4281-b951-d872f2087c98
Add Mavericks to test config.

BUG=338160
TEST=gpu_unittests on 10.9 bots
R=kbr@chromium.org

Review URL: https://codereview.chromium.org/141753015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248647 0039d316-1c4b-4281-b951-d872f2087c98
Cache feedback reports to disk in case of send failure.

R=zork@chromium.org
BUG=249853

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246992

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247772

Review URL: https://codereview.chromium.org/141433011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248648 0039d316-1c4b-4281-b951-d872f2087c98
Make chrome_dll_pdb_workaround only be used for non-shared library builds. It originally got added to fix a bug for that configuration, but was added for all configs. With VS2013, this seems to be happening frequently on my machine.

BUG=170186,339215
R=scottmg@chromium.org

Review URL: https://codereview.chromium.org/140133007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248649 0039d316-1c4b-4281-b951-d872f2087c98
Don't try to guess the referrer policy, but use the one associated with the request

This is possible now that we store the referrer policy on each request.

BUG=334125
R=jamesr@chromium.org

Review URL: https://codereview.chromium.org/135973009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248650 0039d316-1c4b-4281-b951-d872f2087c98
Add sequenced task runner include to feedback report.

R=msw@chromium.org, jam@chromium.org
BUG=None.

Review URL: https://codereview.chromium.org/132703003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248652 0039d316-1c4b-4281-b951-d872f2087c98
Remove STANDARD_RIGHTS_REQUIRED from DIB section

BUG=307301

Review URL: https://codereview.chromium.org/140123008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248653 0039d316-1c4b-4281-b951-d872f2087c98
Always use safeCallbackApply to invoke fileSystem API callbacks.

Previously, for API methods where an Entry was provided to the callback,
if the callback throws an exception, it would be printed to the
background page's console. With this change, these exceptions are
reported the same way as those thrown by callbacks to other API methods,
including reporting the call stack to the original call.

BUG=314124

Review URL: https://codereview.chromium.org/146823005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248654 0039d316-1c4b-4281-b951-d872f2087c98
Add a Debug menu to the aura content shell

This will contain a "Developer Tools" button for now. I hope that I can
eventually add a "Dump render tree" item, but that seems tricky because
there's no IPC for that yet, afaict.

The non-aura (GTK) shell had this functionality.

A lot of this code was inspired by ui/views/examples/menu_example.cc

BUG=

Review URL: https://codereview.chromium.org/151823002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248656 0039d316-1c4b-4281-b951-d872f2087c98
Remove unused dimen and color values.

This CL undoes the mess created by https://chromiumcodereview.appspot.com/24109002

BUG=312471
NOTRY=true

Review URL: https://codereview.chromium.org/151863002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248658 0039d316-1c4b-4281-b951-d872f2087c98
test-cert generation scripts: Remove some dead code.

generate-redundant-test-chains.sh and generate-duplicate-cn-certs.sh contain
some stuff copied from other scripts that isn't actually useful.

BUG=none
R=rsleevi@chromium.org

Review URL: https://codereview.chromium.org/132443005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248660 0039d316-1c4b-4281-b951-d872f2087c98
Add a button to bring back the action-bar if hidden.

BUG=333129
R=sergeyu@chromium.org

Review URL: https://codereview.chromium.org/135193005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248662 0039d316-1c4b-4281-b951-d872f2087c98