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

Unified Diff: webrtc/examples/peerconnection/server/peer_channel.cc

Issue 1789463002: Update examples GYP to avoid rtc_base_approved warning. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix usage string. Created 4 years, 9 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/examples/peerconnection/server/main.cc ('k') | webrtc/webrtc_examples.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/examples/peerconnection/server/peer_channel.cc
diff --git a/webrtc/examples/peerconnection/server/peer_channel.cc b/webrtc/examples/peerconnection/server/peer_channel.cc
index 5e173cd4602a64a91c7460acf14562a5a8624c3f..35d592eb7681cd3373a859acf25ab621cd0cc856 100644
--- a/webrtc/examples/peerconnection/server/peer_channel.cc
+++ b/webrtc/examples/peerconnection/server/peer_channel.cc
@@ -18,8 +18,8 @@
#include "webrtc/examples/peerconnection/server/data_socket.h"
#include "webrtc/examples/peerconnection/server/utils.h"
+#include "webrtc/base/stringencode.h"
#include "webrtc/base/stringutils.h"
-#include "webrtc/base/urlencode.h"
using rtc::sprintfn;
@@ -60,7 +60,7 @@ ChannelMember::ChannelMember(DataSocket* socket)
assert(socket);
assert(socket->method() == DataSocket::GET);
assert(socket->PathEquals("/sign_in"));
- name_ = rtc::UrlDecodeString(socket->request_arguments());
+ name_ = rtc::s_url_decode(socket->request_arguments());
if (name_.empty())
name_ = "peer_" + int2str(id_);
else if (name_.length() > kMaxNameLength)
« no previous file with comments | « webrtc/examples/peerconnection/server/main.cc ('k') | webrtc/webrtc_examples.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698