a472e968c9
Revert "Remove CpuMonitor and related, unused, code."
...
This reverts commit 1a24012680f25440aa1d117373df2af14cdc2fc1.
TBR=tommi@webrtc.org ,pthatcher@webrtc.org
BUG=
This breaks
http://build.chromium.org/p/chromium.webrtc.fyi/builders/Linux/builds/20148/steps/compile/logs/stdio
Review URL: https://codereview.webrtc.org/1287913004 .
Cr-Commit-Position: refs/heads/master@{#9730}
2015-08-19 00:08:50 +00:00
1a24012680
Remove CpuMonitor and related, unused, code.
...
BUG=
R=pthatcher@webrtc.org
Review URL: https://codereview.webrtc.org/1298953002 .
Cr-Commit-Position: refs/heads/master@{#9727}
2015-08-18 20:14:45 +00:00
934119111e
Provides log sinks for rotating logs. Intended for use on mobile devices to record call logs.
...
BUG=4838
Review URL: https://codereview.webrtc.org/1230823009
Cr-Commit-Position: refs/heads/master@{#9615}
2015-07-22 19:12:22 +00:00
e973c2a63b
Remove win32toolhelp.h.
...
Unittests flake when run in parallel, and this file isn't used.
BUG=
R=tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/53659004
Cr-Commit-Position: refs/heads/master@{#9368}
2015-06-04 08:25:12 +00:00
6f2ef74b42
Keep track of DTLS packet sizes to prevent partial reads.
...
The current use of rtc::FifoBuffer can lead to reading across DTLS packet
boundaries which could cause packets to not being processed correctly.
This CL introduces the new class rtc::BufferQueue and changes the
StreamInterfaceChannel to use it instead of the rtc::FifoBuffer.
BUG=chromium:447431
R=juberti@google.com
Review URL: https://webrtc-codereview.appspot.com/52509004
Cr-Commit-Position: refs/heads/master@{#9254}
2015-05-21 15:51:41 +00:00
5ece00f7fa
remove filelock which is now unused
...
R=pthatcher@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/51859004
Cr-Commit-Position: refs/heads/master@{#9222}
2015-05-19 18:07:02 +00:00
bbf7c864ad
Add a new BitBuffer class to webrtc base.
...
Provides a read-only interface for reading byte and bit-sized data from
an underlying buffer in network/big-endian order. Also provides a method
for reading exponential golomb encoded values, which will be useful in
H.264 packet parsing (separate CL).
BUG=
R=pthatcher@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/49719004
Cr-Commit-Position: refs/heads/master@{#9046}
2015-04-21 23:29:53 +00:00
7c64ed2e0c
Move trace_event and associated files to webrtc/base.
...
Also starting to use TRACE_EVENT from thread.cc in webrtc/base, to track Invoke() calls.
BUG=
R=magjed@webrtc.org , tina.legrand@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/42769004
Cr-Commit-Position: refs/heads/master@{#8755}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8755 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-17 14:26:15 +00:00
d7de1209ae
Re-enable the messagequeue unittests. These were commented out at one point but never reenabled.
...
R=hellner@chromium.org , henrike@webrtc.org
CC=juberti@webrtc.org ,pthatcher@webrtc.org
BUG=
Review URL: https://webrtc-codereview.appspot.com/41499004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8086 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-16 17:52:53 +00:00
4a73519690
Re-enables a bunch of base unittests part II.
...
BUG=3836
R=marpan@google.com
Review URL: https://webrtc-codereview.appspot.com/30709004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7415 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-09 20:27:13 +00:00
e30dab77df
base/thread_unittest: wrap test was setting current thread to NULL.
...
This broke unittests following ThreadTest.Wrap
BUG=3836
R=pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/28689004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7413 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-09 15:41:40 +00:00
536eb98408
Re-enables a bunch of base unittests.
...
BUG=3836
R=turaj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/22889004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7399 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-08 22:17:02 +00:00
c569a49a3d
Unit tests for SSLAdapter
...
R=juberti@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/17309004
Patch from Manish Jethani <manish.jethani@gmail.com >.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7269 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-23 05:56:44 +00:00
88772874da
Disabled several rtc_unittests so the tests can be turned on in the waterfall
...
BUG=3836
R=kjellander@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/26559004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7254 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-22 07:30:48 +00:00
b2efb6771c
Put base tests in webrtc_tests.gyp
...
BUG=N/A
R=andrew@webrtc.org , pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/14249004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7140 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-10 17:28:19 +00:00
66a3582170
Create a copy of talk/sound under webrtc/sound.
...
BUG=3379
R=andrew@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/22379004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6986 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-26 22:04:04 +00:00
74aaf29a0f
Raw packet loss rate reported by RTP_RTCP module may vary too drastically over time. This CL is to add a filter to the value in VoE before lending it to audio coding module.
...
The filter is an exponential filter borrowed from video coding module.
The method is written in a new class called PacketLossProtector (not sure if the name is nice), which can be used in the future for more sophisticated logic.
BUG=
R=henrika@webrtc.org , stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/20809004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6709 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-16 21:28:26 +00:00
37b4e1bbcb
webrtc/base: add dependent setting for gtest include directory that was missed when creating base_tests.gyp. Same as https://code.google.com/p/webrtc/source/browse/trunk/talk/libjingle_tests.gyp?r=6484#39
...
BUG=N/A
R=wu@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/16799004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6574 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-01 16:39:17 +00:00
1e3c5c248a
Importing ThreadChecker class from Chromium
...
The ThreadChecker class is imported/re-implemented from Chromium.
The implementation is changed to depend on WebRTC primitives.
R=andrew@webrtc.org , henrike@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/21649004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6446 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-16 11:34:44 +00:00
2bae3211b1
Add missing sources to webrtc/base/base.gyp
...
During my work on setting up a GN build for
WebRTC, I discovered that the base.gyp is trying
to remove source files (for the Chromium build)
that are not added in the initial set.
I assume these files should be listed and that
GYP just doesn't complain when it's trying to
remove a file that is not present in the sources
list.
natserver_main.cc is also removed, since it's not used anywhere.
There are also a couple of other header files that are
used in other code that probably also should be listed in
base.gyp (please do this in another CL):
* compile_assert.h
* dscp.h
* move.h
* template_util.h
BUG=None
TEST=Trybots passing clobber compile step.
R=henrike@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/13659004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6438 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-16 07:11:19 +00:00
f048872e91
Adds a modified copy of talk/base to webrtc/base. It is the first step in
...
migrating talk/base to webrtc/base.
BUG=N/A
R=niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/17479005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6129 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-13 18:00:26 +00:00
e9a604accd
Revert 6107 "Adds a modified copy of talk/base to webrtc/base. I..."
...
This breaks Chromium FYI builds and prevent roll of webrtc/libjingle to Chrome.
http://chromegw.corp.google.com/i/chromium.webrtc.fyi/builders/Win%20Builder/builds/457
> Adds a modified copy of talk/base to webrtc/base. It is the first step in migrating talk/base to webrtc/base.
>
> BUG=N/A
> R=andrew@webrtc.org , wu@webrtc.org
>
> Review URL: https://webrtc-codereview.appspot.com/12199004
TBR=henrike@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/14479004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6116 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-13 08:15:48 +00:00
2c7d1b39b9
Adds a modified copy of talk/base to webrtc/base. It is the first step in migrating talk/base to webrtc/base.
...
BUG=N/A
R=andrew@webrtc.org , wu@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/12199004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6107 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-12 18:03:09 +00:00