summaryrefslogtreecommitdiffstats
path: root/remoting/remoting.gyp
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-31 15:08:52 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-31 15:08:52 +0000
commitf4ed8992f0c31219b40b784e74e1d8938c63b27c (patch)
treef91d67bb58f2b75c3ff6a344ac5143b371758f1b /remoting/remoting.gyp
parente67a73f47398a8d89a98abde04f3d4c7695a6d30 (diff)
downloadchromium_src-f4ed8992f0c31219b40b784e74e1d8938c63b27c.zip
chromium_src-f4ed8992f0c31219b40b784e74e1d8938c63b27c.tar.gz
chromium_src-f4ed8992f0c31219b40b784e74e1d8938c63b27c.tar.bz2
Add in some infrastructure to make tracing of logical requests broken over async callbacks easier.
Create a concept of a TraceContext that holds a current Tracer which can be used to create a timeseries sequence of events. This implementation extends the functionality of RunnableMethod and NewRunnableMethod() to create a parallel TracedMethod, and NewTracedMethod(). These new Traced methods methods and types know how to propogate the current TraceContext to create a logical sequence of annotations through the servicing of one logical action. Currently, the code is controlled via define macro which changes NewTracedMethod back into NewRunnableMethod if the hook is disabled. BUG=52883 TEST=compiles, and client can connect to host. Review URL: http://codereview.chromium.org/3169047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57992 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/remoting.gyp')
-rw-r--r--remoting/remoting.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp
index 9754ddf2..e117977 100644
--- a/remoting/remoting.gyp
+++ b/remoting/remoting.gyp
@@ -116,6 +116,7 @@
'../third_party/protobuf2/protobuf.gyp:protobuf_lite',
'../third_party/zlib/zlib.gyp:zlib',
'base/protocol/chromotocol.gyp:chromotocol_proto_lib',
+ 'base/protocol/chromotocol.gyp:trace_proto_lib',
'chromoting_jingle_glue',
# TODO(hclam): Enable VP8 in the build.
#'third_party/on2/on2.gyp:vp8',
@@ -158,6 +159,8 @@
'base/protocol_decoder.h',
'base/protocol_util.cc',
'base/protocol_util.h',
+ 'base/tracer.cc',
+ 'base/tracer.h',
'base/types.h',
],
}, # end of target 'chromoting_base'