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

Unified Diff: webrtc/p2p/base/constants.cc

Issue 1750593002: Rename constants files in webrtc/{media,p2p} (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Removed cricket naming Created 4 years, 10 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
« no previous file with comments | « webrtc/p2p/base/constants.h ('k') | webrtc/p2p/base/p2pconstants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/constants.cc
diff --git a/webrtc/p2p/base/constants.cc b/webrtc/p2p/base/constants.cc
deleted file mode 100644
index 2a258718f43f92614e4a0be1494402a96535c1f2..0000000000000000000000000000000000000000
--- a/webrtc/p2p/base/constants.cc
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright 2004 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/p2p/base/constants.h"
-
-#include <string>
-
-namespace cricket {
-
-const char CN_AUDIO[] = "audio";
-const char CN_VIDEO[] = "video";
-const char CN_DATA[] = "data";
-const char CN_OTHER[] = "main";
-
-const char GROUP_TYPE_BUNDLE[] = "BUNDLE";
-
-// Minimum ufrag length is 4 characters as per RFC5245. We chose 16 because
-// some internal systems expect username to be 16 bytes.
-const int ICE_UFRAG_LENGTH = 16;
-// Minimum password length of 22 characters as per RFC5245. We chose 24 because
-// some internal systems expect password to be multiple of 4.
-const int ICE_PWD_LENGTH = 24;
-const size_t ICE_UFRAG_MIN_LENGTH = 4;
-const size_t ICE_PWD_MIN_LENGTH = 22;
-const size_t ICE_UFRAG_MAX_LENGTH = 255;
-const size_t ICE_PWD_MAX_LENGTH = 256;
-
-// TODO: This is media-specific, so might belong
-// somewhere like media/base/constants.h
-const int ICE_CANDIDATE_COMPONENT_RTP = 1;
-const int ICE_CANDIDATE_COMPONENT_RTCP = 2;
-const int ICE_CANDIDATE_COMPONENT_DEFAULT = 1;
-
-const char NS_JINGLE_RTP[] = "urn:xmpp:jingle:apps:rtp:1";
-const char NS_JINGLE_DRAFT_SCTP[] = "google:jingle:sctp";
-
-// From RFC 4145, SDP setup attribute values.
-const char CONNECTIONROLE_ACTIVE_STR[] = "active";
-const char CONNECTIONROLE_PASSIVE_STR[] = "passive";
-const char CONNECTIONROLE_ACTPASS_STR[] = "actpass";
-const char CONNECTIONROLE_HOLDCONN_STR[] = "holdconn";
-
-} // namespace cricket
« no previous file with comments | « webrtc/p2p/base/constants.h ('k') | webrtc/p2p/base/p2pconstants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698