From 5c3ee4bce6c61bb4095eb3746ba39d3eeab2ee93 Mon Sep 17 00:00:00 2001 From: "tommi@webrtc.org" Date: Tue, 9 Dec 2014 10:47:01 +0000 Subject: [PATCH] Add empty implementation file that will hold statstypes.h implementation. The implementation for the types currently in statstypes.h is split between statstypes.h and statscollector.cc. TBR=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/35419004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7844 4adac7df-926f-26a2-2b94-8c16560cd09d --- talk/app/webrtc/statstypes.cc | 35 +++++++++++++++++++++++++++++++++++ talk/app/webrtc/statstypes.h | 1 + talk/libjingle.gyp | 1 + 3 files changed, 37 insertions(+) create mode 100644 talk/app/webrtc/statstypes.cc diff --git a/talk/app/webrtc/statstypes.cc b/talk/app/webrtc/statstypes.cc new file mode 100644 index 000000000..8cec39f04 --- /dev/null +++ b/talk/app/webrtc/statstypes.cc @@ -0,0 +1,35 @@ +/* + * libjingle + * Copyright 2014, Google Inc. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * 3. The name of the author may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; + * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include "talk/app/webrtc/statstypes.h" + +namespace webrtc { + +// TODO(tommi): Move implementation to here from statstypes.h and +// statscollector.cc. + +} // namespace webrtc diff --git a/talk/app/webrtc/statstypes.h b/talk/app/webrtc/statstypes.h index 0dbced6e2..cba4bbe17 100644 --- a/talk/app/webrtc/statstypes.h +++ b/talk/app/webrtc/statstypes.h @@ -31,6 +31,7 @@ #ifndef TALK_APP_WEBRTC_STATSTYPES_H_ #define TALK_APP_WEBRTC_STATSTYPES_H_ +#include #include #include #include diff --git a/talk/libjingle.gyp b/talk/libjingle.gyp index 7405324f8..5ae312f9d 100755 --- a/talk/libjingle.gyp +++ b/talk/libjingle.gyp @@ -653,6 +653,7 @@ 'app/webrtc/sctputils.h', 'app/webrtc/statscollector.cc', 'app/webrtc/statscollector.h', + 'app/webrtc/statstypes.cc', 'app/webrtc/statstypes.h', 'app/webrtc/streamcollection.h', 'app/webrtc/videosource.cc',