MSE: Give decode error if MDAT discard peek fails

Explicitly issue decode error if MP4 stream parser peek fails during
MDAT discarding.

BUG=380806
R=acolwell@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278344 0039d316-1c4b-4281-b951-d872f2087c98
Modifies AudioInputCallback::OnData and use media::AudioBus instead of plain byte vector (Relanding).

Second attempt to land https://codereview.chromium.org/314713002/ which has been reverted.

TBR=dalecurtis
BUG=375155
TEST=WebRTC and WebSpeech demos

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278345 0039d316-1c4b-4281-b951-d872f2087c98
Surface ERR_SPDY_SESSION_ALREADY_EXISTS to the proxy delegate.

Add a regression test, confirming that sessions which race host
resolutions don't fail network transactions.

BUG=334413

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278346 0039d316-1c4b-4281-b951-d872f2087c98
Bug fix: Translate: leak of a ComboboxModel

A ui::Combobox (|denial_combobox_|) doesn't take an owner of a
ui::ComboboxModel, so we should have clarify who is the owner of
the combobox model.
This CL fixed the leak to make TranslateBubbleView owner of the
ui::ComboboxModel (|denial_combobox_model_|).

BUG=309468
R=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278347 0039d316-1c4b-4281-b951-d872f2087c98
Skia roll b59161f:30e6e2a

https://skia.googlesource.com/skia/+log/b59161f0000eb4aca3dcef29f27ffd0fb5a568e5..30e6e2af14e84216b1c113fd7500d0822bc81daa

CQ_EXTRA_TRYBOTS=tryserver.chromium:linux_layout_rel
TBR=reed@google.com
BUG=

win_chromium_rel seems unrelated to this cl
NOTRY=True

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278349 0039d316-1c4b-4281-b951-d872f2087c98
[SyncFS] Replace callbacks with token in LocalToRemoteSyncer::UpdateRemoteMetadata

BUG=344769

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278350 0039d316-1c4b-4281-b951-d872f2087c98
Added Pin/Unpin button to the App Info Dialog on ChromeOS

Since the "Create Shortcuts" button is disabled on ChromeOS, add a
pin/unpin button that allows pinning and unpinning the app from the
shelf. This is the functional equivalent of creating shortcuts on
ChromeOS.

Based off https://codereview.chromium.org/335523002/.

BUG=385526

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278351 0039d316-1c4b-4281-b951-d872f2087c98
Add .torrent to SBClientDownload.DownloadExtensions histogram.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278352 0039d316-1c4b-4281-b951-d872f2087c98
Remove support for specifying page_set attribute with file_path in benchmarks.

All benchmarks that uses the old format have been converted.

https://code.google.com/p/chromium/codesearch#search/&type=cs&sq=package:chromium&q=%22page_test%20=%20'%22%20

https://code.google.com/p/chromium/codesearch#search/&type=cs&sq=package:chromium&q=%22page_test%20=%20%5C%22%22

BUG=362293

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278353 0039d316-1c4b-4281-b951-d872f2087c98
Move gn secondary_source to the build/ directory

It's a goodness to sequester build configuration in the build/
directory. The gn secondary_source stuff was under tools/gn for
historical reasons, so move it to a more appropriate place.

BUG=None
TEST=do a gn build of base_unittests, run said unittests.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278355 0039d316-1c4b-4281-b951-d872f2087c98
Add ArrayDataTraits<> specialization for Array_Data<T>*.

Currently, we use wrong storage type for nested arrays. For example, the storage
type of the outer array of int8[][] is
StructPointer<Array_Data<int8_t>>. After this CL it will be
ArrayPointer<int8_t>.

The current code works because StructPointer happens to be of the same
size as ArrayPointer.

(The newly-added tests pass with/without this CL. But I think it is good
to have them.)

BUG=None
TEST=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278356 0039d316-1c4b-4281-b951-d872f2087c98
Move channel_init out of mojo_common.

mojo_common can not depends on embedder, as standalone application must
depends on it. channel_init is in fact a part of the embedder.

R=viettrungluu@chromium.org
TBR=darin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278357 0039d316-1c4b-4281-b951-d872f2087c98
Safe browsing incident reporting service improvements.

Honour the safe browsing opt out and report on incidents that arrive
before profile initialization is complete.

BUG=383039,383365
R=mattm@chromium.org, noms@chromium.org
TBR=asvitkine@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278358 0039d316-1c4b-4281-b951-d872f2087c98
[SyncFS] Remove a friendship between MetadataDatabase and MetadataDatabaseIndex

BUG=347425
TEST=./unit_tests --gtest_filter="MetadataDatabaseTest.*:MetadataDatabaseIndexTest.*"

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278359 0039d316-1c4b-4281-b951-d872f2087c98
App list uses PaginationModel to transition between pages.

Should not affect behaviour of the normal app list. The experimental app
list now transitions pages in from the correct side of the screen,
instead of simply sliding pages out to the left.

BUG=377381

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278361 0039d316-1c4b-4281-b951-d872f2087c98
[SyncFS] Make task invocation in SyncTaskRunner async

SyncTaskRunner's task invocation tend to grow call stack deeper.
This CL clears the call stack per task to avoid stack overflow.

BUG=344769

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278362 0039d316-1c4b-4281-b951-d872f2087c98
Switch to the new SkCanvas::willSave() API.

Skia's save() SaveFlags bits are deprecated. At this
point all callers have been updated to always pass kMatrixClip, but
SkCanvas subclasses also need to use the new willSave() API.

(depends on https://codereview.chromium.org/338833003/ rolling)

BUG=skia:2297
R=piman@chromium.org, reed@google.com, robertphillips@google.com

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278363 0039d316-1c4b-4281-b951-d872f2087c98
[webcrypto] Give more descriptive error messages on Linux for unsupported functionality.

 * If NSS version doesn't support AES-GCM
 * If NSS version doesn't support RSA-OAEP

BUG=384485

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278364 0039d316-1c4b-4281-b951-d872f2087c98
IDL parser: align with current Web IDL specification

Mostly renumbered and restructured grammar productions.  Notable changes:

- add support for static attributes via StaticMember
- add support for built-in types ByteString and RegExp
- allow trailing comma in enum declarations

Depends on:
IDL parser: drop AttributeOrOperation and StaticAttribute overrides
https://codereview.chromium.org/336733002/
...or else breaks Blink compile.

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

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