0
Commit Graph

3 Commits

Author SHA1 Message Date
jbates@chromium.org
e7ca289b04 implement SetWatchEvent and WaitForEvent for trace-based-tests.
Up until now, tracing-based tests have been required to either run a trace for some amount of time or use existing notification mechanisms to return control to the test.

This change adds a 'watch event' feature to trace_event_impl which can be used by tests to wait for an event to occur. This mechanism could replace the use of test-only notifications which is frowned upon as well as mock classes for catching events. Trace events also have the huge advantage of working on all chrome processes as opposed to the browser-only notification service.

BUG=139939

Review URL: https://chromiumcodereview.appspot.com/10837082

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154552 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-01 00:52:15 +00:00
eatnumber@chromium.org
e529d9f155 Allow use of the chrome trace categories string from the tracing ui internals.
BUG=96123
TEST=manual & run pyauto tracing smoke tests


Review URL: https://chromiumcodereview.appspot.com/10855062

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151998 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-17 00:13:37 +00:00
jam@chromium.org
900e91294c Add a Content API around TracingController.
BUG=98716
Review URL: https://chromiumcodereview.appspot.com/9694028

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126396 0039d316-1c4b-4281-b951-d872f2087c98
2012-03-13 15:43:08 +00:00