[AudioPlayer] Ensure the current track is in the viewport after the current is changed

BUG=none
TEST=manually tested
R=hirono@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250065 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250065
Add checking for license formats to third_party/PRESUBMIT

Since we expect a certain format for the "License:" field, it's better to
check it earlier -- during the presubmit stage, so people won't get
surprises later.

Also, updated the license checking code to accept multiple licenses if
one of them is compatible with Android.

BUG=168324
R=dannyb@google.com, mkosiba@chromium.org
TBR=darin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250068 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250068
Add transfer size paramater to didFinishLoading [2/3]

Mini DD:
https://docs.google.com/a/chromium.org/document/d/1kAKnBKofLc3Tex_JPveubwJcQLT3BhIL3xNQyjvRIps/edit?usp=sharing

Most of files contain only signature changes.

There are 3 non-trivial changes:
1) ResourceMsg_RequestComplete IPC message receives struct instead of distinct parameters.
2) Use URLRequest::GetTotalReceivedBytes instead of  DevToolsNetLogObserver::GetAndResetEncodedDataLength
3) Remove unused code in DevToolsNetLogObserver.


BUG=111052

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250069 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250069
[SyncFS] Preparation for conflict tests on DriveBackendSyncTest.

 * Add FakeDriveServiceHelper::UpdateModificationTime
 * Replace a FilePath argument to FilePath::String for readable code

BUG=331988

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250070 0039d316-1c4b-4281-b951-d872f2087c98
[Android] Fix ps_ext tool uptime reporting and output format.

Use /proc/uptime rather than clock_gettime plus other small fixes:
 - Use /proc/uptime rather than clock_gettime.
 - PAGE_SHIFT is not always available in userspace. Use sysconf.
 - Output processes as dictionary instead of a list.
 - Don't use length modifier in unused fscanf arguments.

BUG=340294
NOTRY=true
R=pliard@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250071 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250071
Land Recent QUIC Changes.

Fix a bug where acks were not being bundled with data, and data was not
being bundled with data in QUIC.

Add a test to ensure an incoming ack to the server caused an ack packet
and a data packet to be sent bundled, not separately.

Merge internal change: 61238548
https://codereview.chromium.org/153593003/


Send a QUIC RST on stream termination if neither a RST nor a FIN have
yet been sent. This is to allow accurate flow control accounting which
requires a RST or FIN must be sent in response to a RST.

Merge internal change: 61236803
https://codereview.chromium.org/137493009/

R=rch@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250072 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250072
Roll grit from r148 to r150.

Changes:
 - r149 Add back 'android' and 'ios' for is_posix, and fix check for bsd.
 - r150 Provide defines as local variables in if-expressions.

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250074 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250074
Cleanup: make EmbeddedWorkerTestHelper take an initial renderer process ID

For some unittests that run full worker registration process
(e.g. ServiceWorkerContextTest, ServiceWorkerDispatcherHostTest
and ServiceWorkerJobTest) it doesn't make sense to call
SimulateAddProcess() or SimulateCreateWorker() just to
ensure the TestHelper is enabled as an IPC sender for the process.
(Because they internally add processes to a newly created worker
in the registration)

This CL:
- Changes EmbeddedWorkerTestHelper to take an initial renderer process ID as its ctor parameter so that the helper can be used as an IPC sender for the process from the beginning
- Renames SimulateAddProcess() to SimulateAddProcessToWorker() for better clarity
- Removes SimulateCreateWorker() as it's not really necessary
- Removes SimulateRemoveProcess() as no one's calling it for now (YAGNI)

BUG=313530
TEST=content_unittests:ServiceWorker*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250075 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250075
QUIC - Minor cleanup changes, found while merging with internal code.

R=rch@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250076 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250076
Add helpers for CGL types.

Add base::ScopedTypeRef, which is similar to ScopedCFTypeRef,
but allows for parameterized retain and release functions. This is
necessary for types such as CGLContextObj, which have their own
retain and release methods (and for which calling CFRelease will
result in crashes).

Add some common typedefs of ScopedTypeRef to cgl_util in ui,
along with a scoped CGLContextObj make-current class.

BUG=245900
R=thakis@chromium.org,mark@chromium.org
TBR=garykac@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250077 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250077