Change from talk/p2p (r7572): "Improve the logging when a TCP connection is deleted."

BUG=3379
R=jiayl@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/27109004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7673 4adac7df-926f-26a2-2b94-8c16560cd09d
Change from talk/p2p (r7664) "(Auto)update libjingle 79414100-> 79428003".

BUG=3379
R=tpsiaki@google.com

Review URL: https://webrtc-codereview.appspot.com/27119004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7674 4adac7df-926f-26a2-2b94-8c16560cd09d
Make an AudioEncoder subclass for iSAC

BUG=3926
R=henrik.lundin@webrtc.org, kjellander@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/25019004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7675 4adac7df-926f-26a2-2b94-8c16560cd09d
Revert 7675 "Make an AudioEncoder subclass for iSAC"

Above CL did not compile on Android. Followings are links to Android builds

http://chromegw.corp.google.com/i/internal.client.webrtc/builders/Android%20Builder%20%28dbg%29/builds/2648

http://chromegw.corp.google.com/i/internal.client.webrtc/builders/Android%20Clang%20%28dbg%29/builds/2369

http://chromegw.corp.google.com/i/internal.client.webrtc/builders/Android%20ARM64%20%28dbg%29/builds/1320

> Make an AudioEncoder subclass for iSAC
> 
> BUG=3926
> R=henrik.lundin@webrtc.org, kjellander@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/25019004

TBR=kwiberg@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/32439004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7676 4adac7df-926f-26a2-2b94-8c16560cd09d
Follow-up fixes for G722

This CL addresses post-commit comments on r7662. See
https://webrtc-codereview.appspot.com/27089004/#ps40001.

BUG=3951
R=pthatcher@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/30979004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7677 4adac7df-926f-26a2-2b94-8c16560cd09d
Add thread annotations to overuse_frame_detector class.

R=stefan@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/29029004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7678 4adac7df-926f-26a2-2b94-8c16560cd09d
webrtc::Scaler: Preserve aspect ratio

BUG=3936
R=glaznev@webrtc.org, stefan@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/28969004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7679 4adac7df-926f-26a2-2b94-8c16560cd09d
Roll chromium_revision 375f736..91f1781

Relevant changes:
* buildtools: 51ca1f2..c27f95b
* tools/gyp: b13d8f2..487c0b6
* tools/swarming_client: 41036ec..1f8ba35
Details: https://chromium.googlesource.com/chromium/src/+/375f736..91f1781/DEPS

Clang version was not updated in this roll.

BUG=
R=pbos@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/30049004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7680 4adac7df-926f-26a2-2b94-8c16560cd09d
Add PROJECT to codereview.settings

This is needed once we move over to Chromium's
Rietveld instance at codereview.chromium.org.

BUG=3884
R=niklas.enbom@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/25129004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7681 4adac7df-926f-26a2-2b94-8c16560cd09d
Revert 7679 "webrtc::Scaler: Preserve aspect ratio"

> webrtc::Scaler: Preserve aspect ratio
> 
> BUG=3936
> R=glaznev@webrtc.org, stefan@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/28969004

TBR=magjed@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/30989004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7682 4adac7df-926f-26a2-2b94-8c16560cd09d
Bump to version 40

TBR=niklas.enbom

Review URL: https://webrtc-codereview.appspot.com/26109004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7683 4adac7df-926f-26a2-2b94-8c16560cd09d
Use ScreenCapturer to capture the whole and clip to the window rect when the shared window is on the top.

BUG=crbug/403703, crbug/316603
R=wez@chromium.org

Review URL: https://webrtc-codereview.appspot.com/22759004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7684 4adac7df-926f-26a2-2b94-8c16560cd09d
replace inline assembly WebRtcAecm_StoreAdaptiveChannelNeon  by intrinsics.

The modification only uses the unique part of the StoreAdaptiveChannel
 function. Pass byte to byte conformance test both on ARM32 and ARM64,
 and the single function performance is similar with original assembly
 version on different platforms. If not specified, the code is compiled
 by GCC 4.6.  The result is the "X version / C version" ratio, and the
 less is better.

| run 100k times             | cortex-a7 | cortex-a9 | cortex-a15 |
| use C as the base on each  |  (1.2Ghz) |  (1.0Ghz) |   (1.7Ghz) |
| CPU target                 |           |           |            |
|----------------------------+-----------+-----------+------------|
| Neon asm                   |    20.97% |    37.70% |     25.41% |
| Neon inline                |    36.93% |    51.80% |     38.14% |
| Neon intrinsics (GCC 4.6)  |    27.78% |    43.71% |     26.50% |
| Neon intrinsics (GCC 4.8)  |    27.16% |    38.22% |     26.87% |
| Neon intrinsics (LLVM 3.4) |    27.82% |    39.90% |     26.69% |

Change-Id: Ia55d8a268a70164b50676c604ae40b68fc183106

BUG=3580
R=andrew@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/30029004

Patch from Zhongwei Yao <zhongwei.yao@arm.com>.

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7685 4adac7df-926f-26a2-2b94-8c16560cd09d
replace inline assembly WebRtcAecm_CalcLinearEnergiesNeon by intrinsics.

The modification only uses the unique part of the CalcLinearEnergies
 function. Pass byte to byte conformance test both on ARMv7 and ARM64,
 and the single function performance is similar with original assembly
 version on different platforms. If not specified, the code is compiled
 by GCC 4.6. The result is the "X version / C version" ratio, and the
 less is better.

| run 100k times             | cortex-a7 | cortex-a9 | cortex-a15 |
| use C as the base on each  |  (1.2Ghz) |  (1.0Ghz) |   (1.7Ghz) |
| CPU target                 |           |           |            |
|----------------------------+-----------+-----------+------------|
| Neon asm                   |    19.48% |    19.26% |     13.68% |
| Neon inline                |    27.90% |    28.87% |     17.79% |
| Neon intrinsics (GCC 4.8)  |    18.69% |    20.18% |     14.69% |
| Neon intrinsics (LLVM 3.4) |    18.52% |    21.15% |     13.56% |

BUG=3580
R=andrew@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/23349004

Patch from Zhongwei Yao <zhongwei.yao@arm.com>.

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7686 4adac7df-926f-26a2-2b94-8c16560cd09d
Change the static_library("webrtc") to a source set in the GN build.

Static libraries cannot have only headers as sources (libtool complains
that there's nothing to actually link).

TBR=brettw@chromium.org

Review URL: https://webrtc-codereview.appspot.com/27159004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7687 4adac7df-926f-26a2-2b94-8c16560cd09d
VideoSendStreamTest.SwapsI420VideoFrames: Initialize frame memory to avoid drmemory errors

R=pbos@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/27149004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7688 4adac7df-926f-26a2-2b94-8c16560cd09d
webrtc::Scaler: Preserve aspect ratio

BUG=3936
R=glaznev@webrtc.org, stefan@webrtc.org

Committed: https://code.google.com/p/webrtc/source/detail?r=7679

Review URL: https://webrtc-codereview.appspot.com/28969004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7689 4adac7df-926f-26a2-2b94-8c16560cd09d
Fix a SCTP message reordering issue in datachannel.cc.
Previously DataChannel::SendQueuedDataMessages continues the loop of sending queued messages if the channel is blocked, which will cause message reordering if the channel becomes unblocked during the loop, i.e. messages attempted after the unblocking will be sent earlier than the older messages attempted before the unblocking.

BUG=3979
R=pthatcher@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/25149004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7690 4adac7df-926f-26a2-2b94-8c16560cd09d
Fix a platform check to use WEBRTC_WIN instead of OS_WIN.

BUG=4006
R=wez@chromium.org

Review URL: https://webrtc-codereview.appspot.com/25169004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7691 4adac7df-926f-26a2-2b94-8c16560cd09d
Add jmi field for packets discarded due to network error

Also included the total packets attempted to send.

BUG=427555

Copied from https://webrtc-codereview.appspot.com/25959004/

R=harryjin@google.com, juberti@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/32039004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7693 4adac7df-926f-26a2-2b94-8c16560cd09d