Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(603)

Unified Diff: webrtc/stats/rtcstats_objects.cc

Issue 2335553006: Moving webrtc/stats/ into webrtc/api/ to resolve a circular dependency (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/stats/rtcstats_objects.cc
diff --git a/webrtc/stats/rtcstats_objects.cc b/webrtc/stats/rtcstats_objects.cc
deleted file mode 100644
index 46962f20b694cae0c34ccb765773d84c1bfed988..0000000000000000000000000000000000000000
--- a/webrtc/stats/rtcstats_objects.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright 2016 The WebRTC Project Authors. All rights reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#include "webrtc/api/rtcstats_objects.h"
-
-namespace webrtc {
-
-const char RTCPeerConnectionStats::kType[] = "peer-connection";
-
-RTCPeerConnectionStats::RTCPeerConnectionStats(
- const std::string& id, int64_t timestamp_us)
- : RTCPeerConnectionStats(std::string(id), timestamp_us) {
-}
-
-RTCPeerConnectionStats::RTCPeerConnectionStats(
- std::string&& id, int64_t timestamp_us)
- : RTCStats(std::move(id), timestamp_us),
- data_channels_opened("dataChannelsOpened"),
- data_channels_closed("dataChannelsClosed") {
-}
-
-} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698